diff options
author | 2010-09-17 11:28:47 +0200 | |
---|---|---|
committer | 2010-09-17 12:48:47 +0200 | |
commit | d14b12d7adbf214f33eb59f800b5c3d5ed9268e8 (patch) | |
tree | 005705157545c70db6b751f38ae28702714fb1ed /scripts/gcc-goto.sh | |
parent | tracing, perf: Add more power related events (diff) | |
download | linux-rng-d14b12d7adbf214f33eb59f800b5c3d5ed9268e8.tar.xz linux-rng-d14b12d7adbf214f33eb59f800b5c3d5ed9268e8.zip |
perf_events: Fix broken event grouping
Events were not grouped anymore. The reason was that in
perf_event_open(), the field event->group_leader was
initialized before the function looked up the group_fd
to find the event leader. This patch fixes this by
reordering the code correctly.
Signed-off-by: Stephane Eranian <eranian@google.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Robert Richter <robert.richter@amd.com>
LKML-Reference: <20100917093009.360420946@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'scripts/gcc-goto.sh')
0 files changed, 0 insertions, 0 deletions