aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines
diff options
context:
space:
mode:
authorJiri Olsa <[email protected]>2014-06-15 10:22:15 +0200
committerJiri Olsa <[email protected]>2014-06-20 09:34:18 +0200
commitd755330c5e0658d8056242b5b81e2f44ed7a96d8 (patch)
tree91189b0a8953822941cdcaee88751e4e74e9da65 /tools/perf/util/scripting-engines
parentcf230918cda19532e4a5cc4f0d5c82fa7e5e94f6 (diff)
perf tools: Fix segfault in cumulative.callchain report
When cumulative callchain mode is on, we could get samples with with no actual hits. This breaks the assumption of the annotation code, that each sample has annotation counts allocated and leads to segfault. Fixing this by additional checks for annotation stats. Acked-by: Namhyung Kim <[email protected]> Acked-by: Arnaldo Carvalho de Melo <[email protected]> Cc: Arnaldo Carvalho de Melo <[email protected]> Cc: Corey Ashford <[email protected]> Cc: David Ahern <[email protected]> Cc: Frederic Weisbecker <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Jiri Olsa <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines')
0 files changed, 0 insertions, 0 deletions