diff options
author | Michael Ellerman <[email protected]> | 2012-04-11 11:54:13 +1000 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2012-04-26 13:51:31 +0200 |
commit | 724b6daa13e100067c30cfc4d1ad06629609dc4e (patch) | |
tree | 290b86e3c259922c350ea6469f43ddb953a83aa3 /lib/mpi/mpi-inline.c | |
parent | c716ef56f1319e8a515cb1947a3ec59b06e94a5e (diff) |
perf: Fix perf_event_for_each() to use sibling
In perf_event_for_each() we call a function on an event, and then
iterate over the siblings of the event.
However we don't call the function on the siblings, we call it
repeatedly on the original event - it seems "obvious" that we should
be calling it with sibling as the argument.
It looks like this broke in commit 75f937f24bd9 ("Fix ctx->mutex
vs counter->mutex inversion").
The only effect of the bug is that the PERF_IOC_FLAG_GROUP parameter
to the ioctls doesn't work.
Signed-off-by: Michael Ellerman <[email protected]>
Signed-off-by: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-inline.c')
0 files changed, 0 insertions, 0 deletions