perf_counter: software counter event infrastructure
commitbd753921015e7905bcba8dc1221754a17b4e4cb6
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Fri, 13 Mar 2009 11:21:32 +0000 (13 12:21 +0100)
committerIngo Molnar <mingo@elte.hu>
Fri, 13 Mar 2009 14:32:39 +0000 (13 15:32 +0100)
treee07ea28b34c125a335c1666a37c077f35f54ded7
parentbb970a7d38d0fc5c4078c1995c0b64f5a51476b9
perf_counter: software counter event infrastructure

Provide generic software counter infrastructure that supports
software events.

This will be used to allow sample based profiling based on software
events such as pagefaults. The current infrastructure can only
provide a count of such events, no place information.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/perf_counter.h
kernel/perf_counter.c