path: root/tools/perf/builtin-diff.c
diff options
authorNamhyung Kim <>2015-12-23 02:07:01 +0900
committerArnaldo Carvalho de Melo <>2016-01-06 20:11:11 -0300
commit40184c46a3055a97e2efa69da6f17c05bff4b776 (patch)
tree65aae9ae2552eb7d550f38d129a4cd3ae4836bbd /tools/perf/builtin-diff.c
parent54f8f40384ab940e15585afde5c278c8e7726214 (diff)
perf tools: Pass evlist to setup_sorting()
This is a preparation to support dynamic sort keys for tracepoint events. Dynamic sort keys can be created for specific fields in trace events so it needs the event information. Signed-off-by: Namhyung Kim <> Acked-by: Jiri Olsa <> Cc: Andi Kleen <> Cc: David Ahern <> Cc: Frederic Weisbecker <> Cc: Peter Zijlstra <> Cc: Steven Rostedt <> Cc: Wang Nan <> Link: [ Moving the evlist creation earlier in top was split to a previous patch ] Signed-off-by: Arnaldo Carvalho de Melo <>
Diffstat (limited to 'tools/perf/builtin-diff.c')
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/builtin-diff.c b/tools/perf/builtin-diff.c
index 69f5b1feff39..87063835d741 100644
--- a/tools/perf/builtin-diff.c
+++ b/tools/perf/builtin-diff.c
@@ -1279,7 +1279,7 @@ int cmd_diff(int argc, const char **argv, const char *prefix __maybe_unused)
sort__mode = SORT_MODE__DIFF;
- if (setup_sorting() < 0)
+ if (setup_sorting(NULL) < 0)
usage_with_options(diff_usage, options);