commit | 40184c46a3055a97e2efa69da6f17c05bff4b776 | [log] [tgz] |
---|---|---|
author | Namhyung Kim <[email protected]> | Wed Dec 23 02:07:01 2015 +0900 |
committer | Arnaldo Carvalho de Melo <[email protected]> | Wed Jan 06 20:11:11 2016 -0300 |
tree | 65aae9ae2552eb7d550f38d129a4cd3ae4836bbd | |
parent | 54f8f40384ab940e15585afde5c278c8e7726214 [diff] [blame] |
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 <[email protected]> Acked-by: Jiri Olsa <[email protected]> Cc: Andi Kleen <[email protected]> Cc: David Ahern <[email protected]> Cc: Frederic Weisbecker <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Steven Rostedt <[email protected]> Cc: Wang Nan <[email protected]> Link: http://lkml.kernel.org/r/[email protected] [ Moving the evlist creation earlier in top was split to a previous patch ] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
diff --git a/tools/perf/builtin-annotate.c b/tools/perf/builtin-annotate.c index b5b8db0..cc5c126 100644 --- a/tools/perf/builtin-annotate.c +++ b/tools/perf/builtin-annotate.c
@@ -370,7 +370,7 @@ if (ret < 0) goto out_delete; - if (setup_sorting() < 0) + if (setup_sorting(NULL) < 0) usage_with_options(annotate_usage, options); if (annotate.use_stdio)