perf diff: Use perf_hpp__register_sort_field interface
authorJiri Olsa <jolsa@kernel.org>
Thu, 7 Jan 2016 09:14:09 +0000 (10:14 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 8 Jan 2016 15:59:30 +0000 (12:59 -0300)
commit21e6d8428664293f203be3004dcd8d70f68ebdb9
treed64a075f0986e6a97fbcf6b9ab0c8f91e4028d94
parentb97511c5bc94ef12613f485ab82f989df04088da
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