]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit00ea4915194d9f118ccfbed6ae7092f4044f30af
tree4b88cc01991cd994777c418c4420474588b5ce0d
parent46fb3e3bde4c32cb91e44f44c320cb70032ca578
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