perf_counter: hrtimer based sampling for software time events
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Fri, 13 Mar 2009 11:21:35 +0000 (12:21 +0100)
committerIngo Molnar <mingo@elte.hu>
Mon, 6 Apr 2009 07:29:41 +0000 (09:29 +0200)
commitd6d020e9957745c61285ef3da9f294c5e6801f0f
treeefbd81871b58dbb026f19e812b224e1add2f3b76
parentac17dc8e58f3069ea895cfff963adf98ff3cf6b2
perf_counter: hrtimer based sampling for software time events

Use hrtimers to profile timer based sampling for the software time
counters.

This allows platforms without hardware counter support to still
perform sample based profiling.

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