diff options
author | Paul Mackerras <paulus@samba.org> | 2009-06-30 16:07:19 +1000 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-06-30 12:00:16 +0200 |
commit | 57e7986ed142417498155ebcd5eaf617ac37136d (patch) | |
tree | 81ce9acd79ee7e6383dfd5cdadc4e016a012990e /include/linux/user.h | |
parent | 051ae7f7344f453616b6b10332d4d8e1d40ed823 (diff) | |
download | linux-57e7986ed142417498155ebcd5eaf617ac37136d.tar.gz linux-57e7986ed142417498155ebcd5eaf617ac37136d.tar.bz2 linux-57e7986ed142417498155ebcd5eaf617ac37136d.zip |
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 <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <19017.43927.838745.689203@cargo.ozlabs.ibm.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/linux/user.h')
0 files changed, 0 insertions, 0 deletions