]> git.karo-electronics.de Git - linux-beck.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)
commitaa6f50af822a552b579252ecd42224e09e11e879
tree9e66dbead94460ec95abdf60158dd6e96d3fd63e
parentf0786af536bb0ba54cb516eee493af03cefdbaa3
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