diff options
Diffstat (limited to 'tools/perf/builtin-diff.c')
| -rw-r--r-- | tools/perf/builtin-diff.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/tools/perf/builtin-diff.c b/tools/perf/builtin-diff.c index 3153e492dbc..6b7d91160ec 100644 --- a/tools/perf/builtin-diff.c +++ b/tools/perf/builtin-diff.c | |||
| @@ -30,13 +30,13 @@ static int hists__add_entry(struct hists *self, | |||
| 30 | return -ENOMEM; | 30 | return -ENOMEM; |
| 31 | } | 31 | } |
| 32 | 32 | ||
| 33 | static int diff__process_sample_event(event_t *event, | 33 | static int diff__process_sample_event(union perf_event *event, |
| 34 | struct sample_data *sample, | 34 | struct perf_sample *sample, |
| 35 | struct perf_session *session) | 35 | struct perf_session *session) |
| 36 | { | 36 | { |
| 37 | struct addr_location al; | 37 | struct addr_location al; |
| 38 | 38 | ||
| 39 | if (event__preprocess_sample(event, session, &al, sample, NULL) < 0) { | 39 | if (perf_event__preprocess_sample(event, session, &al, sample, NULL) < 0) { |
| 40 | pr_warning("problem processing %d event, skipping it.\n", | 40 | pr_warning("problem processing %d event, skipping it.\n", |
| 41 | event->header.type); | 41 | event->header.type); |
| 42 | return -1; | 42 | return -1; |
| @@ -56,11 +56,11 @@ static int diff__process_sample_event(event_t *event, | |||
| 56 | 56 | ||
| 57 | static struct perf_event_ops event_ops = { | 57 | static struct perf_event_ops event_ops = { |
| 58 | .sample = diff__process_sample_event, | 58 | .sample = diff__process_sample_event, |
| 59 | .mmap = event__process_mmap, | 59 | .mmap = perf_event__process_mmap, |
| 60 | .comm = event__process_comm, | 60 | .comm = perf_event__process_comm, |
| 61 | .exit = event__process_task, | 61 | .exit = perf_event__process_task, |
| 62 | .fork = event__process_task, | 62 | .fork = perf_event__process_task, |
| 63 | .lost = event__process_lost, | 63 | .lost = perf_event__process_lost, |
| 64 | .ordered_samples = true, | 64 | .ordered_samples = true, |
| 65 | .ordering_requires_timestamps = true, | 65 | .ordering_requires_timestamps = true, |
| 66 | }; | 66 | }; |
