]> git.karo-electronics.de Git - mv-sheeva.git/commit
perf_counter: rework context time
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Mon, 6 Apr 2009 09:45:10 +0000 (11:45 +0200)
committerIngo Molnar <mingo@elte.hu>
Tue, 7 Apr 2009 08:49:00 +0000 (10:49 +0200)
commit4af4998b8aa35600f4c4a4f3c3a23baca6081d02
treec980ff7f7c9f21acf873184ec9d63cfb6435a2a5
parent4c9e25428ff46b968a30f1dfafdba550cb6e4141
perf_counter: rework context time

Since perf_counter_context is switched along with tasks, we can
maintain the context time without using the task runtime clock.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
LKML-Reference: <20090406094518.353552838@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/perf_counter.h
kernel/perf_counter.c