diff options
author | Jiri Olsa <[email protected]> | 2016-01-07 10:14:09 +0100 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2016-01-08 12:59:30 -0300 |
commit | 21e6d8428664293f203be3004dcd8d70f68ebdb9 (patch) | |
tree | d64a075f0986e6a97fbcf6b9ab0c8f91e4028d94 | |
parent | b97511c5bc94ef12613f485ab82f989df04088da (diff) |
perf diff: Use perf_hpp__register_sort_field interface
Using perf_hpp__register_sort_field interface instead of directly adding
the entry.
Signed-off-by: Jiri Olsa <[email protected]>
Acked-by: Namhyung Kim <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Noel Grandin <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
-rw-r--r-- | tools/perf/builtin-diff.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/builtin-diff.c b/tools/perf/builtin-diff.c index 87063835d741..36ccc2b8827f 100644 --- a/tools/perf/builtin-diff.c +++ b/tools/perf/builtin-diff.c @@ -1207,7 +1207,7 @@ static int ui_init(void) BUG_ON(1); } - list_add(&fmt->sort_list, &perf_hpp__sort_list); + perf_hpp__register_sort_field(fmt); return 0; } |