From: Namhyung Kim Date: Thu, 31 May 2012 05:51:44 +0000 (+0900) Subject: perf: Remove duplicate invocation on perf_event_for_each X-Git-Tag: v3.5-rc2~10^2~9^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cb7225feec627e91d598198996429e9ee6804f8d;p=pandora-kernel.git 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 75f937f24bd9 ("perf_counter: Fix ctx->mutex vs counter ->mutex inversion") made the mistake during the change. Signed-off-by: Namhyung Kim Acked-by: Peter Zijlstra Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra Link: http://lkml.kernel.org/r/1338443506-25009-1-git-send-email-namhyung.kim@lge.com Signed-off-by: Arnaldo Carvalho de Melo --- Reading git-diff-tree failed