]> git.baikalelectronics.ru Git - kernel.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)
commitf92c792f25d8ffd0b2d585679214b9918376be9e
tree7d108ca418054768654140bc5ca0dc1a8e7d4d66
parent2e54c16cd4c50b851d4e743b5702f5fe84a2bcf1
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