diff options
Diffstat (limited to 'tools/perf/builtin-timechart.c')
-rw-r--r-- | tools/perf/builtin-timechart.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tools/perf/builtin-timechart.c b/tools/perf/builtin-timechart.c index 600406396274..4405681b3134 100644 --- a/tools/perf/builtin-timechart.c +++ b/tools/perf/builtin-timechart.c | |||
@@ -937,21 +937,21 @@ process_event(event_t *event) | |||
937 | 937 | ||
938 | switch (event->header.type) { | 938 | switch (event->header.type) { |
939 | 939 | ||
940 | case PERF_EVENT_COMM: | 940 | case PERF_RECORD_COMM: |
941 | return process_comm_event(event); | 941 | return process_comm_event(event); |
942 | case PERF_EVENT_FORK: | 942 | case PERF_RECORD_FORK: |
943 | return process_fork_event(event); | 943 | return process_fork_event(event); |
944 | case PERF_EVENT_EXIT: | 944 | case PERF_RECORD_EXIT: |
945 | return process_exit_event(event); | 945 | return process_exit_event(event); |
946 | case PERF_EVENT_SAMPLE: | 946 | case PERF_RECORD_SAMPLE: |
947 | return queue_sample_event(event); | 947 | return queue_sample_event(event); |
948 | 948 | ||
949 | /* | 949 | /* |
950 | * We dont process them right now but they are fine: | 950 | * We dont process them right now but they are fine: |
951 | */ | 951 | */ |
952 | case PERF_EVENT_MMAP: | 952 | case PERF_RECORD_MMAP: |
953 | case PERF_EVENT_THROTTLE: | 953 | case PERF_RECORD_THROTTLE: |
954 | case PERF_EVENT_UNTHROTTLE: | 954 | case PERF_RECORD_UNTHROTTLE: |
955 | return 0; | 955 | return 0; |
956 | 956 | ||
957 | default: | 957 | default: |