From: Paul Mackerras Date: Tue, 30 Jun 2009 06:07:19 +0000 (+1000) Subject: perf_counter: Provide a way to enable counters on exec X-Git-Tag: v2.6.31-rc2~30^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=57e7986ed142417498155ebcd5eaf617ac37136d;p=pandora-kernel.git perf_counter: Provide a way to enable counters on exec This provides a way to mark a counter to be enabled on the next exec. This is useful for measuring the total activity of a program without including overhead from the process that launches it. This also changes the perf stat command to use this new facility. Signed-off-by: Paul Mackerras Cc: Peter Zijlstra LKML-Reference: <19017.43927.838745.689203@cargo.ozlabs.ibm.com> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed