aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorNamhyung Kim <[email protected]>2013-11-12 15:25:00 +0900
committerArnaldo Carvalho de Melo <[email protected]>2013-11-12 13:00:37 -0300
commit003824e8c27eeb8d3eec54cfab5845ec01ab532e (patch)
treee9a8b32744407d4b87ad0644576c48341a612f07 /tools/perf/util/trace-event-scripting.c
parent96695d440242aca871ef8d797bd98d9cbd7ad8a0 (diff)
perf trace: Fix segfault on perf trace -i perf.data
When replaying a previous record session, it'll get a segfault since it doesn't initialize raw_syscalls enter/exit tracepoint's evsel->priv for caching the format fields. So fix it by properly initializing sys_enter/exit evsels that comes from reading the perf.data file header. Signed-off-by: Namhyung Kim <[email protected]> Cc: David Ahern <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Pekka Enberg <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: http://lkml.kernel.org/r/[email protected] [ Split the syscall tp field caching part in the previous patch ] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions