]> git.baikalelectronics.ru Git - kernel.git/commit
perf_events: Add perf_event_time()
authorStephane Eranian <eranian@google.com>
Mon, 3 Jan 2011 16:20:01 +0000 (18:20 +0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 7 Jan 2011 14:08:51 +0000 (15:08 +0100)
commit15ec0188207e6d6fa1ebee1e218d93951302e100
tree4ca2b7b020582a4b353af84d5684a91d4bcf995d
parenta6d9c03b93cdc82e6f00da067e39c71f3ed2487d
perf_events: Add perf_event_time()

Adds perf_event_time() to try and centralize access to event
timing and in particular ctx->time. Prepares for cgroup support.

Signed-off-by: Stephane Eranian <eranian@google.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <4d22059c.122ae30a.5e0e.ffff8b8b@mx.google.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/perf_event.c