diff options
| author | Arnaldo Carvalho de Melo <[email protected]> | 2015-08-03 19:27:40 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2015-08-04 15:28:10 +0000 |
| commit | 9ee67421fe3b67a0796d6ea620fd5fcb037d3f89 (patch) | |
| tree | 379ff0e5acad160eecf49c5ac5461ae06dca46a9 /tools/perf/scripts/python | |
| parent | perf/x86/intel/pebs: Robustify PEBS buffer drain (diff) | |
| download | kernel-9ee67421fe3b67a0796d6ea620fd5fcb037d3f89.tar.gz kernel-9ee67421fe3b67a0796d6ea620fd5fcb037d3f89.zip | |
perf script: No tracepoints? Don't call libtraceevent.
The libtraceevent handler (session->tevent) is only initialized when
there are tracepoints in a perf.data event list, so do not call
pevent_set_function_resolve() in those cases, fixing a segfault.
Reported-by: Jiri Olsa <[email protected]>
Tested-by: Jiri Olsa <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Stephane Eranian <[email protected]>
Link: http://lkml.kernel.org/n/[email protected]
Report-link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
