aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorAnton Blanchard <[email protected]>2011-08-24 16:40:14 +1000
committerArnaldo Carvalho de Melo <[email protected]>2011-09-23 14:35:57 -0300
commitadb091846318f86e4f46c7d6a7b40d2f478abdbe (patch)
treed5144d3e61af6632cbc13069555e71bc35e4a7b0 /tools/perf/util/scripting-engines/trace-event-python.c
parentf66fedcb723a9f118170200e21dbabb305f8c702 (diff)
perf symbols: Fix ppc64 SEGV in dso__load_sym with debuginfo files
64bit PowerPC debuginfo files have an empty function descriptor section. I hit a SEGV when perf tried to use this section for symbol resolution. To fix this we need to check the section is valid and we can do this by checking for type SHT_PROGBITS. Cc: <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Eric B Munson <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Anton Blanchard <[email protected]> Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions