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

With the hist object having the perf_hpp_list we can now iterate sort
format entries based in the hists object. Adding
hists__for_each_sort_list 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-27-git-send-email-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/hist.c
tools/perf/util/hist.h