diff options
author | Prarit Bhargava <[email protected]> | 2017-08-28 08:21:53 -0400 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2017-09-25 21:05:59 +0200 |
commit | 5df32107f609c1f621bcdac0a685c23677ef671e (patch) | |
tree | b2905082b3a3f8d0a2d6049e6b6175620e4d724f /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | e19b205be43d11bff638cad4487008c48d21c103 (diff) |
timekeeping: Make fast accessors return 0 before timekeeping is initialized
printk timestamps will be extended to include mono and boot time by using
the fast timekeeping accessors ktime_get_mono|boot_fast_ns(). The
functions can return garbage before timekeeping is initialized resulting in
garbage timestamps.
Initialize the fast timekeepers with dummy clocks which guarantee a 0
readout up to timekeeping_init().
Suggested-by: Peter Zijlstra <[email protected]>
Signed-off-by: Prarit Bhargava <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Cc: Stephen Boyd <[email protected]>
Cc: John Stultz <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions