]> 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)
commit029b2009bc4850a8c4afa0cb362a28603961d095
treebb422e3368f2ad686e69229b416536b2bcb1df8e
parent87ae7e0d50943fbc094da6edca74578b1def007b
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