summaryrefslogtreecommitdiffstats
path: root/include/linux/timekeeping.h
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2018-03-01 11:33:38 -0500
committerIngo Molnar <mingo@kernel.org>2018-03-13 02:34:23 -0400
commit92af4dcb4e1c5f58dc337bc97bdffd4e853dbc93 (patch)
treec3ca7b44890beee561e7bf7d3c44d92a12fa5ce8 /include/linux/timekeeping.h
parent127bfa5f4342e63d83a0b07ece376c2e8878e4a5 (diff)
tracing: Unify the "boot" and "mono" tracing clocks
Unify the "boot" and "mono" tracing clocks and document the new behaviour. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com> Cc: John Stultz <john.stultz@linaro.org> Cc: Jonathan Corbet <corbet@lwn.net> Cc: Kevin Easton <kevin@guarana.org> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Mark Salyzyn <salyzyn@android.com> Cc: Michael Kerrisk <mtk.manpages@gmail.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Petr Mladek <pmladek@suse.com> Cc: Prarit Bhargava <prarit@redhat.com> Cc: Sergey Senozhatsky <sergey.senozhatsky@gmail.com> Cc: Steven Rostedt <rostedt@goodmis.org> Link: http://lkml.kernel.org/r/20180301165150.489635255@linutronix.de Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include/linux/timekeeping.h')
-rw-r--r--include/linux/timekeeping.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/timekeeping.h b/include/linux/timekeeping.h
index abb396731332..82c219dfd3bb 100644
--- a/include/linux/timekeeping.h
+++ b/include/linux/timekeeping.h
@@ -113,12 +113,6 @@ extern u64 ktime_get_mono_fast_ns(void);
113extern u64 ktime_get_raw_fast_ns(void); 113extern u64 ktime_get_raw_fast_ns(void);
114extern u64 ktime_get_real_fast_ns(void); 114extern u64 ktime_get_real_fast_ns(void);
115 115
116/* Clock BOOTTIME compatibility wrappers */
117static inline u64 ktime_get_boot_fast_ns(void)
118{
119 return ktime_get_mono_fast_ns();
120}
121
122/* 116/*
123 * timespec64 interfaces utilizing the ktime based ones 117 * timespec64 interfaces utilizing the ktime based ones
124 */ 118 */