]> git.baikalelectronics.ru Git - kernel.git/commit
perf: Remove duplicate invocation on perf_event_for_each
authorNamhyung Kim <namhyung.kim@lge.com>
Thu, 31 May 2012 05:51:44 +0000 (14:51 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 31 May 2012 17:01:00 +0000 (14:01 -0300)
commit0f29f6981a4b9c9d7a37355694c41ac9522b5c9f
tree15b755aadc5c3df60282eddbddc4a542d829ddf8
parent5d813aacf473819325ab9661bb89a998b8888996
perf: Remove duplicate invocation on perf_event_for_each

The @func callback was invoked twice for group leader when
perf_event_for_each() called. It seems the commit 99cc91cf7b4d
("perf_counter: Fix ctx->mutex vs counter ->mutex inversion") made the
mistake during the change.

Signed-off-by: Namhyung Kim <namhyung.kim@lge.com>
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Namhyung Kim <namhyung@gmail.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1338443506-25009-1-git-send-email-namhyung.kim@lge.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
kernel/events/core.c