]> git.karo-electronics.de Git - linux-beck.git/commit
perf hists: Introduce hists__link_hierarchy()
authorNamhyung Kim <namhyung@kernel.org>
Tue, 13 Sep 2016 07:45:47 +0000 (16:45 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 13 Sep 2016 19:35:46 +0000 (16:35 -0300)
commit9d97b8f512a0dd41819b8e3d9cdc7a59199e1b0c
tree7d108ca418054768654140bc5ca0dc1a8e7d4d66
parent09034de63e427a86ba96bedf39410eef7c9014a5
perf hists: Introduce hists__link_hierarchy()

The hists__link_hierarchy() is to support hierarchy reports with an
event group.  When it matches the leader event and the other members
(using hists__match_hierarchy()), it also needs to link unmatched member
entries with a dummy leader event so that it can show up in the output.

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/20160913074552.13284-3-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/hist.c