summaryrefslogtreecommitdiff
path: root/tools/net
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung.kim@lge.com>2013-11-12 10:25:00 +0400
committerArnaldo Carvalho de Melo <acme@redhat.com>2013-11-12 20:00:37 +0400
commit003824e8c27eeb8d3eec54cfab5845ec01ab532e (patch)
treee9a8b32744407d4b87ad0644576c48341a612f07 /tools/net
parent96695d440242aca871ef8d797bd98d9cbd7ad8a0 (diff)
downloadlinux-003824e8c27eeb8d3eec54cfab5845ec01ab532e.tar.xz
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 <namhyung@kernel.org> Cc: David Ahern <dsahern@gmail.com> Cc: Ingo Molnar <mingo@kernel.org> Cc: Paul Mackerras <paulus@samba.org> Cc: Pekka Enberg <penberg@kernel.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Link: http://lkml.kernel.org/r/1384237500-22991-2-git-send-email-namhyung@kernel.org [ Split the syscall tp field caching part in the previous patch ] Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/net')
0 files changed, 0 insertions, 0 deletions