diff options
author | Jiri Olsa <[email protected]> | 2014-06-15 10:22:15 +0200 |
---|---|---|
committer | Jiri Olsa <[email protected]> | 2014-06-20 09:34:18 +0200 |
commit | d755330c5e0658d8056242b5b81e2f44ed7a96d8 (patch) | |
tree | 91189b0a8953822941cdcaee88751e4e74e9da65 /scripts/basic/bin2c.c | |
parent | cf230918cda19532e4a5cc4f0d5c82fa7e5e94f6 (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 'scripts/basic/bin2c.c')
0 files changed, 0 insertions, 0 deletions