aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorFrederic Weisbecker <[email protected]>2010-07-08 06:06:17 +0200
committerFrederic Weisbecker <[email protected]>2010-07-08 06:20:15 +0200
commit97aa1052739c6a06cb6b0467dbf410613d20bc97 (patch)
tree1bcf54fbe3fe39b6941f898a6927b6ac14df9996 /tools/perf/util/scripting-engines/trace-event-python.c
parent869599ceda4a035cdb3345c563b74cdeef10f790 (diff)
perf: Resurrect flat callchains
Initialize the callchain radix tree root correctly. When we walk through the parents, we must stop after the root, but since it wasn't well initialized, its parent pointer was random. Also the number of hits was random because uninitialized, hence it was part of the callchain while the root doesn't contain anything. This fixes segfaults and percentages followed by empty callchains while running: perf report -g flat Reported-by: Ingo Molnar <[email protected]> Signed-off-by: Frederic Weisbecker <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Arnaldo Carvalho de Melo <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: 2.6.31.x-2.6.34.x <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions