aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorNamhyung Kim <[email protected]>2012-10-15 12:39:42 +0900
committerArnaldo Carvalho de Melo <[email protected]>2012-10-16 13:05:07 -0300
commitffe10c6f95412da01695e659e967747333d5e812 (patch)
tree069316cfffaaf93e159b0df727f2c1d175a981d3 /tools/perf/util/scripting-engines/trace-event-python.c
parent20b279ddb38ca42f8863cec07b4d45ec24589f13 (diff)
perf tools: Fix segfault when using srcline sort key
The srcline sort key is for grouping samples based on their source file and line number. It use addr2line tool to get the information but it requires dso name. It caused a segfault when a sample does not have the name by dereferencing a NULL pointer. Fix it by using raw ip addresses for those samples. Signed-off-by: Namhyung Kim <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: http://lkml.kernel.org/r/[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