diff options
| author | John Stultz <[email protected]> | 2012-07-13 05:21:55 +0000 |
|---|---|---|
| committer | Thomas Gleixner <[email protected]> | 2012-07-15 08:39:06 +0000 |
| commit | f2a5a0854efc62abe7f69e9947842cb135837f9a (patch) | |
| tree | 02db590982e92fb514f2d8b1791a49ec5b02d484 /tools/perf/util/trace-event-scripting.c | |
| parent | time: Refactor accumulation of nsecs to secs (diff) | |
| download | kernel-f2a5a0854efc62abe7f69e9947842cb135837f9a.tar.gz kernel-f2a5a0854efc62abe7f69e9947842cb135837f9a.zip | |
time: Move arch_gettimeoffset() usage into timekeeping_get_ns()
Since we call arch_gettimeoffset() in all the accessor
functions, move arch_gettimeoffset() calls into
timekeeping_get_ns() and timekeeping_get_ns_raw() to simplify
the code.
This also makes the code easier to maintain as we don't have to
worry about forgetting the arch_gettimeoffset() as has happened
in the past.
Signed-off-by: John Stultz <[email protected]>
Reviewed-by: Ingo Molnar <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Richard Cochran <[email protected]>
Cc: Prarit Bhargava <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions
