Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1305297
| From | tip-bot for Jiri Olsa <tipbot@zytor.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [tip:perf/core] perf diff: Use perf_hpp__register_sort_field interface |
| Date | 2016-01-09 17:40 +0100 |
| Message-ID | <qP4Iz-87R-41@gated-at.bofh.it> (permalink) |
| References | <qOeTE-65o-15@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Commit-ID: 21e6d8428664293f203be3004dcd8d70f68ebdb9 Gitweb: http://git.kernel.org/tip/21e6d8428664293f203be3004dcd8d70f68ebdb9 Author: Jiri Olsa <jolsa@kernel.org> AuthorDate: Thu, 7 Jan 2016 10:14:09 +0100 Committer: Arnaldo Carvalho de Melo <acme@redhat.com> CommitDate: Fri, 8 Jan 2016 12:59:30 -0300 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 <jolsa@kernel.org> Acked-by: Namhyung Kim <namhyung@kernel.org> Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: David Ahern <dsahern@gmail.com> Cc: Noel Grandin <noelgrandin@gmail.com> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Link: http://lkml.kernel.org/r/1452158050-28061-13-git-send-email-jolsa@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> --- tools/perf/builtin-diff.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/perf/builtin-diff.c b/tools/perf/builtin-diff.c index 8706383..36ccc2b 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; }
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH 12/13] perf diff: Use perf_hpp__register_sort_field interface Jiri Olsa <jolsa@kernel.org> - 2016-01-07 10:20 +0100 Re: [PATCH 12/13] perf diff: Use perf_hpp__register_sort_field interface Namhyung Kim <namhyung@kernel.org> - 2016-01-07 12:20 +0100 [tip:perf/core] perf diff: Use perf_hpp__register_sort_field interface tip-bot for Jiri Olsa <tipbot@zytor.com> - 2016-01-09 17:40 +0100
csiph-web