diff options
author | Jiri Olsa <jolsa@redhat.com> | 2011-08-08 23:03:34 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2011-08-09 13:31:38 -0300 |
commit | 4c09bafae37d870ab8efc50faeeb4855cb55b5b7 (patch) | |
tree | 9e750321369285dec47289fe4af8acd221140c0d /drivers/lguest/segments.c | |
parent | 069e3725dd9be3b759a98e8c80ac5fc38b392b23 (diff) | |
download | lwn-4c09bafae37d870ab8efc50faeeb4855cb55b5b7.tar.gz lwn-4c09bafae37d870ab8efc50faeeb4855cb55b5b7.zip |
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 <mingo@elte.hu>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1312837414-3819-1-git-send-email-jolsa@redhat.com
Signed-off-by: Jiri Olsa <jolsa@redhat.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'drivers/lguest/segments.c')
0 files changed, 0 insertions, 0 deletions