https://github.com/torvalds/linux
Revision 724b6daa13e100067c30cfc4d1ad06629609dc4e authored by Michael Ellerman on 11 April 2012, 01:54:13 UTC, committed by Ingo Molnar on 26 April 2012, 11:51:31 UTC
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 <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>
1 parent c716ef5
Tip revision: 724b6daa13e100067c30cfc4d1ad06629609dc4e authored by Michael Ellerman on 11 April 2012, 01:54:13 UTC
perf: Fix perf_event_for_each() to use sibling
perf: Fix perf_event_for_each() to use sibling
Tip revision: 724b6da
File | Mode | Size |
---|---|---|
netfilter | ||
Kconfig | -rw-r--r-- | 6.9 KB |
Makefile | -rw-r--r-- | 1.4 KB |
addrconf.c | -rw-r--r-- | 115.6 KB |
addrconf_core.c | -rw-r--r-- | 2.5 KB |
addrlabel.c | -rw-r--r-- | 13.8 KB |
af_inet6.c | -rw-r--r-- | 30.0 KB |
ah6.c | -rw-r--r-- | 17.4 KB |
anycast.c | -rw-r--r-- | 10.9 KB |
datagram.c | -rw-r--r-- | 19.9 KB |
esp6.c | -rw-r--r-- | 15.7 KB |
exthdrs.c | -rw-r--r-- | 21.0 KB |
exthdrs_core.c | -rw-r--r-- | 3.4 KB |
fib6_rules.c | -rw-r--r-- | 6.9 KB |
icmp.c | -rw-r--r-- | 22.0 KB |
inet6_connection_sock.c | -rw-r--r-- | 6.8 KB |
inet6_hashtables.c | -rw-r--r-- | 8.1 KB |
ip6_fib.c | -rw-r--r-- | 35.7 KB |
ip6_flowlabel.c | -rw-r--r-- | 17.4 KB |
ip6_input.c | -rw-r--r-- | 7.9 KB |
ip6_output.c | -rw-r--r-- | 41.0 KB |
ip6_tunnel.c | -rw-r--r-- | 37.0 KB |
ip6mr.c | -rw-r--r-- | 50.8 KB |
ipcomp6.c | -rw-r--r-- | 5.4 KB |
ipv6_sockglue.c | -rw-r--r-- | 27.9 KB |
mcast.c | -rw-r--r-- | 62.4 KB |
mip6.c | -rw-r--r-- | 13.3 KB |
ndisc.c | -rw-r--r-- | 46.2 KB |
netfilter.c | -rw-r--r-- | 4.9 KB |
proc.c | -rw-r--r-- | 10.5 KB |
protocol.c | -rw-r--r-- | 1.6 KB |
raw.c | -rw-r--r-- | 31.0 KB |
reassembly.c | -rw-r--r-- | 18.8 KB |
route.c | -rw-r--r-- | 73.0 KB |
sit.c | -rw-r--r-- | 29.2 KB |
syncookies.c | -rw-r--r-- | 7.3 KB |
sysctl_net_ipv6.c | -rw-r--r-- | 3.5 KB |
tcp_ipv6.c | -rw-r--r-- | 55.5 KB |
tunnel6.c | -rw-r--r-- | 4.6 KB |
udp.c | -rw-r--r-- | 37.7 KB |
udp_impl.h | -rw-r--r-- | 1.4 KB |
udplite.c | -rw-r--r-- | 3.4 KB |
xfrm6_input.c | -rw-r--r-- | 3.0 KB |
xfrm6_mode_beet.c | -rw-r--r-- | 3.2 KB |
xfrm6_mode_ro.c | -rw-r--r-- | 2.3 KB |
xfrm6_mode_transport.c | -rw-r--r-- | 2.3 KB |
xfrm6_mode_tunnel.c | -rw-r--r-- | 3.0 KB |
xfrm6_output.c | -rw-r--r-- | 3.6 KB |
xfrm6_policy.c | -rw-r--r-- | 8.5 KB |
xfrm6_state.c | -rw-r--r-- | 4.6 KB |
xfrm6_tunnel.c | -rw-r--r-- | 9.9 KB |
Computing file changes ...