nlm: Ensure callback code also checks that the files match
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / include / linux / trace_clock.h
CommitLineData
14131f2f
IM
1#ifndef _LINUX_TRACE_CLOCK_H
2#define _LINUX_TRACE_CLOCK_H
3
4/*
5 * 3 trace clock variants, with differing scalability/precision
6 * tradeoffs:
7 *
8 * - local: CPU-local trace clock
9 * - medium: scalable global clock with some jitter
10 * - global: globally monotonic, serialized clock
11 */
12#include <linux/compiler.h>
13#include <linux/types.h>
14
8cbd9cc6
DS
15#include <asm/trace_clock.h>
16
14131f2f
IM
17extern u64 notrace trace_clock_local(void);
18extern u64 notrace trace_clock(void);
8aacf017 19extern u64 notrace trace_clock_jiffies(void);
14131f2f 20extern u64 notrace trace_clock_global(void);
6249687f 21extern u64 notrace trace_clock_counter(void);
14131f2f
IM
22
23#endif /* _LINUX_TRACE_CLOCK_H */