diff options
author | Stephane Eranian <eranian@google.com> | 2009-11-24 06:40:49 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-11-24 08:55:27 +0100 |
commit | 184d3da8ef0ca552dffa0fdd35c046e058a2cf9a (patch) | |
tree | 4f7bc687cea6ce6ee13a8beec59d8ae7081dfb64 /tools | |
parent | perf kmem: Add help file (diff) | |
download | linux-184d3da8ef0ca552dffa0fdd35c046e058a2cf9a.tar.xz linux-184d3da8ef0ca552dffa0fdd35c046e058a2cf9a.zip |
perf_events: Fix bogus copy_to_user() in perf_event_read_group()
When using an event group, the value and id for non leaders events
were wrong due to invalid offset into the outgoing buffer.
Signed-off-by: Stephane Eranian <eranian@google.com>
Acked-by: Peter Zijlstra <peterz@infradead.org>
Cc: paulus@samba.org
Cc: perfmon2-devel@lists.sourceforge.net
LKML-Reference: <4b0b71e1.0508d00a.075e.ffff84a3@mx.google.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions