]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc6055583492d139f175430fae47714c4a4538bc5
treeefbd81871b58dbb026f19e812b224e1add2f3b76
parentb274c142113a81731aaf9b015de65be956ba2666
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