Files
i2som-imx-linux/kernel
Michael Ellerman 5cc2ccd8af perf: Fix perf_event_for_each() to use sibling
commit 724b6daa13 upstream.

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 75f937f24b ("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 <michael@ellerman.id.au>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1334109253-31329-1-git-send-email-michael@ellerman.id.au
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2017-02-23 03:51:04 +00:00
..
2016-01-22 21:40:09 +00:00
2014-12-14 16:23:56 +00:00
2011-09-23 12:05:29 +05:30
2014-11-05 20:27:46 +00:00
2013-01-03 03:33:08 +00:00
2012-07-12 04:31:59 +01:00
2011-10-31 17:30:44 -07:00
2011-08-12 16:21:35 -05:00
2011-09-19 17:04:37 -07:00
2014-06-09 13:29:04 +01:00