]> git.baikalelectronics.ru Git - kernel.git/commit
perf hists: Add perf_hpp_list register helpers
authorJiri Olsa <jolsa@kernel.org>
Mon, 18 Jan 2016 09:24:14 +0000 (10:24 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 3 Feb 2016 15:24:12 +0000 (12:24 -0300)
commit189303c796c860c9a8ee06c17a23343a4d814ba9
treeeab5959b7621c2a9ee98f21408734abc12a08c70
parent123e3b5e2345b22656de4464ed68bf6dc4def5ef
perf hists: Add perf_hpp_list register helpers

Adding 2 perf_hpp_list register helpers:

  perf_hpp_list__column_register()
  perf_hpp_list__register_sort_field()

to be called within existing helpers:

  perf_hpp__column_register()
  perf_hpp__register_sort_field()

to register format entries within global perf_hpp_list object.

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-17-git-send-email-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/ui/hist.c
tools/perf/util/hist.h