]> git.baikalelectronics.ru Git - kernel.git/commit
events: Move lockless timer calculation into helper function
authorEric B Munson <emunson@mgebm.net>
Thu, 23 Jun 2011 20:34:38 +0000 (16:34 -0400)
committerIngo Molnar <mingo@elte.hu>
Fri, 1 Jul 2011 09:06:33 +0000 (11:06 +0200)
commitc12816f28d10760116faaba589aafe806b8e76f1
treebb422e3368f2ad686e69229b416536b2bcb1df8e
parentbc28498a3fec06da024dd52b04461c710f8c0f3c
events: Move lockless timer calculation into helper function

Take the timer calculation from perf_output_read and move it to a helper
function for any place that needs timer values but cannot take the ctx->lock.

Signed-off-by: Eric B Munson <emunson@mgebm.net>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1308861279-15216-2-git-send-email-emunson@mgebm.net
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/events/core.c