From: Namhyung Kim Date: Fri, 16 Mar 2012 08:42:20 +0000 (+0900) Subject: perf tools: Do not disable members of group event X-Git-Tag: v3.4-rc1~4^2~7^2~5^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5090c6aea84dcc474d0aabf9f66f1eab68a143eb;p=pandora-kernel.git perf tools: Do not disable members of group event When event group is enabled for forked task (i.e. no target task/cpu was specified) all events were disabled and marked ->enable_on_exec. However they wouldn't be counted at all since only group leader will be enabled on exec actually. In contrast to perf stat, perf record doesn't have a real problem as it enables all the event before proceeding. But it needs to be fixed anyway IMHO. Cc: Ingo Molnar Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra Link: http://lkml.kernel.org/r/1331887340-32448-2-git-send-email-namhyung.kim@lge.com Signed-off-by: Namhyung Kim Signed-off-by: Arnaldo Carvalho de Melo --- Reading git-diff-tree failed