diff options
author | Jiri Olsa <[email protected]> | 2011-08-08 23:03:34 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2011-08-09 13:31:38 -0300 |
commit | 4c09bafae37d870ab8efc50faeeb4855cb55b5b7 (patch) | |
tree | 9e750321369285dec47289fe4af8acd221140c0d /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 069e3725dd9be3b759a98e8c80ac5fc38b392b23 (diff) |
perf sched: Do not delete session object prematurely
The session object is released prematurely when processing events for
latency command. The session's thread objects are used within the
output_lat_thread function.
Runnning following commands:
# perf sched record
# perf sched latency
the latter displays incorrect data and might cause access violation.
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: Jiri Olsa <[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