perf hists: Introduce perf_hpp_list__for_each_sort_list_safe macro
authorJiri Olsa <jolsa@kernel.org>
Mon, 18 Jan 2016 09:24:20 +0000 (10:24 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 3 Feb 2016 15:24:16 +0000 (12:24 -0300)
commit1a8ebd243a0b65c2a6d1458705d04dece937ab52
tree0f56b967c51ed9566b202d9de6907e58f026ef43
parentd29a497090845002ee449c8dc682dd59ad8bab42
perf hists: Introduce perf_hpp_list__for_each_sort_list_safe macro

Introducing perf_hpp_list__for_each_sort_list_safe macro
to iterate perf_hpp_list object's sort entries safely.

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-23-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