diff options
author | Namhyung Kim | 2016-09-13 16:45:48 +0900 |
---|---|---|
committer | Arnaldo Carvalho de Melo | 2016-09-13 16:36:46 -0300 |
commit | d2580c7a5b4e78bffda1e53cfd583e7a2c7383a5 (patch) | |
tree | fad6ed633152a47b6eb3b0cb0c6f4234d167f48f /tools/perf/perf.c | |
parent | 9d97b8f512a0dd41819b8e3d9cdc7a59199e1b0c (diff) |
perf hist: Initialize hierarchy tree explicitly
The hroot_in and hroot_out are roots of hierarchy trees of hist entries.
But when a hist entry is initialized by copying existing template entry,
it sometimes has non-empty tree and copies it incorrectly. This is a
problem especially when an event group is used since it creates dummy
entries from already-processed entries in other event members.
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-4-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/perf.c')
0 files changed, 0 insertions, 0 deletions