Skip to content
Commit c4794295 authored by Eric B Munson's avatar Eric B Munson Committed by Ingo Molnar
Browse files

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: default avatarEric B Munson <emunson@mgebm.net>
Signed-off-by: default avatarPeter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1308861279-15216-2-git-send-email-emunson@mgebm.net


Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent b7526f0c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment