summaryrefslogtreecommitdiff
path: root/tools/perf/builtin-annotate.c
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2018-11-08 20:57:42 +0300
committerTony Lindgren <tony@atomide.com>2018-11-08 20:57:42 +0300
commit07fa3fa2572f2dee85beb8137f90ccf33d7206af (patch)
tree0cec1fca7425cd6c423c53c4581ea2a9776ed411 /tools/perf/builtin-annotate.c
parent4ed0dfe3cf39a97cd0ed532212b5e55e9752fe3f (diff)
parent651022382c7f8da46cb4872a545ee1da6d097d2a (diff)
downloadlinux-07fa3fa2572f2dee85beb8137f90ccf33d7206af.tar.xz
Merge tag 'v4.20-rc1' into omap-for-v4.21/dt-ti-sysc
Linux 4.20-rc1
Diffstat (limited to 'tools/perf/builtin-annotate.c')
-rw-r--r--tools/perf/builtin-annotate.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/tools/perf/builtin-annotate.c b/tools/perf/builtin-annotate.c
index 830481b8db26..93d679eaf1f4 100644
--- a/tools/perf/builtin-annotate.c
+++ b/tools/perf/builtin-annotate.c
@@ -283,12 +283,11 @@ out_put:
return ret;
}
-static int process_feature_event(struct perf_tool *tool,
- union perf_event *event,
- struct perf_session *session)
+static int process_feature_event(struct perf_session *session,
+ union perf_event *event)
{
if (event->feat.feat_id < HEADER_LAST_FEATURE)
- return perf_event__process_feature(tool, event, session);
+ return perf_event__process_feature(session, event);
return 0;
}