perf_counter: software counter event infrastructure
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Fri, 13 Mar 2009 11:21:32 +0000 (12:21 +0100)
committerIngo Molnar <mingo@elte.hu>
Mon, 6 Apr 2009 07:29:36 +0000 (09:29 +0200)
commit15dbf27cc18559a14e99609f78678aa86b9c6ff1
tree4b88cc01991cd994777c418c4420474588b5ce0d
parent82bae4f8c2fd64a2bb1e2e72c508853ed2b4a299
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