]> git.baikalelectronics.ru Git - kernel.git/commit
perf hists: Introduce struct perf_hpp_list
authorJiri Olsa <jolsa@kernel.org>
Mon, 18 Jan 2016 09:24:12 +0000 (10:24 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 3 Feb 2016 15:24:10 +0000 (12:24 -0300)
commit9abebab88583b7f9475a9d74d1def8730230304d
tree98314ba2dec29fc882722104ec44e9bec0fe96c0
parent8b598188f7afb9dfa0fcd5c04acf4b74f77a4cec
perf hists: Introduce struct perf_hpp_list

Gather output and sort lists under struct perf_hpp_list, so we could
have multiple instancies of sort/output format entries.

Replacing current perf_hpp__list and perf_hpp__sort_list lists with
single perf_hpp_list instance.

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-15-git-send-email-jolsa@kernel.org
[ Renamed fields to .{fields,sorts} as suggested by Namhyung and acked by Jiri ]
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/ui/hist.c
tools/perf/util/hist.h