commit | c4794295917ebeda8013b6cb9c8d71ab4f74a1fa | [log] [tgz] |
---|---|---|
author | Eric B Munson <emunson@mgebm.net> | Thu Jun 23 16:34:38 2011 -0400 |
committer | Ingo Molnar <mingo@elte.hu> | Fri Jul 01 11:06:33 2011 +0200 |
tree | bb422e3368f2ad686e69229b416536b2bcb1df8e | |
parent | b7526f0ca6dc68f57ca467ce503151b1d476a3e4 [diff] |
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>