]> git.baikalelectronics.ru Git - kernel.git/commit
perf hists: Make hpp setup function generic
authorJiri Olsa <jolsa@kernel.org>
Mon, 18 Jan 2016 09:24:05 +0000 (10:24 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 3 Feb 2016 15:24:02 +0000 (12:24 -0300)
commit368237b434c18da57d8c0154e2079f1608b7ee12
tree0958a9cf2a70a0eece975b7a17e6a90ce31f15d5
parent4e6e22d510b600edddd6c99315240aa846b3f378
perf hists: Make hpp setup function generic

Now that we have the 'equal' method implemented for hpp format entries
we can ease up the logic in the following functions and make them
generic wrt comparing format entries:

  perf_hpp__setup_output_field
  perf_hpp__append_sort_keys

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1453109064-1026-8-git-send-email-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/ui/hist.c