aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-annotate.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/builtin-annotate.c')
-rw-r--r--tools/perf/builtin-annotate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/builtin-annotate.c b/tools/perf/builtin-annotate.c
index 483cb9466444..dff081a388bb 100644
--- a/tools/perf/builtin-annotate.c
+++ b/tools/perf/builtin-annotate.c
@@ -83,12 +83,12 @@ static int process_sample_event(struct perf_event_ops *ops,
83 union perf_event *event, 83 union perf_event *event,
84 struct perf_sample *sample, 84 struct perf_sample *sample,
85 struct perf_evsel *evsel, 85 struct perf_evsel *evsel,
86 struct perf_session *session) 86 struct machine *machine)
87{ 87{
88 struct perf_annotate *ann = container_of(ops, struct perf_annotate, ops); 88 struct perf_annotate *ann = container_of(ops, struct perf_annotate, ops);
89 struct addr_location al; 89 struct addr_location al;
90 90
91 if (perf_event__preprocess_sample(event, session, &al, sample, 91 if (perf_event__preprocess_sample(event, machine, &al, sample,
92 symbol__annotate_init) < 0) { 92 symbol__annotate_init) < 0) {
93 pr_warning("problem processing %d event, skipping it.\n", 93 pr_warning("problem processing %d event, skipping it.\n",
94 event->header.type); 94 event->header.type);