From: Peter Zijlstra Date: Fri, 21 May 2010 12:27:58 +0000 (+0200) Subject: perf: Add perf_event::child_count X-Git-Tag: v2.6.36-rc1~532^2~75 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a6e6dea68c18f705957573ee5596097c7e82d0e5;p=pandora-kernel.git perf: Add perf_event::child_count Only child counters adding back their values into the parent counter are responsible for cross-cpu updates to event->count. So if we pull that out into a new child_count variable, we get an event->count that is only modified locally. Signed-off-by: Peter Zijlstra Cc: Arnaldo Carvalho de Melo Cc: Frederic Weisbecker Cc: Paul Mackerras Cc: Mike Galbraith Cc: Steven Rostedt LKML-Reference: Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed