]> git.baikalelectronics.ru Git - kernel.git/commit
perf hists: Introduce hists__for_each_format macro
authorJiri Olsa <jolsa@kernel.org>
Mon, 18 Jan 2016 09:24:23 +0000 (10:24 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 3 Feb 2016 15:24:19 +0000 (12:24 -0300)
commit3fb6b418b8e38210d4478501f064adc19646023d
treebf6fd743f830dcfbbf88c0995500cbce8e90fd08
parent034c69d814d29d0206880300d12b16306dce9c76
perf hists: Introduce hists__for_each_format macro

With the hist object having the perf_hpp_list we can now iterate output
format entries based in the hists object. Adding hists__for_each_format
macro to do that.

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