diff options
author | Arnaldo Carvalho de Melo <[email protected]> | 2010-02-25 12:57:40 -0300 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2010-02-25 17:39:14 +0100 |
commit | 628ada0cb03666dd463f7c25947eaccdf440c309 (patch) | |
tree | 2338cf888ccecb1bb9df32031cef43f527b05ca0 /tools/perf/util/trace-event-scripting.c | |
parent | 3846df2e0a99a2bf10023de0e9c1496592012d4c (diff) |
perf annotate: Defer allocating sym_priv->hist array
Because symbol->end is not fixed up at symbol_filter time, only
after all symbols for a DSO are loaded, and that, for asm
symbols, may be bogus, causing segfaults when hits happen in
these symbols.
Reported-by: David Miller <[email protected]>
Reported-by: Anton Blanchard <[email protected]>
Acked-by: David Miller <[email protected]>
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Cc: Frédéric Weisbecker <[email protected]>
Cc: Mike Galbraith <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: <[email protected]> # for .33.x. Does not apply cleanly, needs backport.
LKML-Reference: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions