diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-05-12 15:20:46 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2008-05-23 14:42:31 -0400 |
commit | 750ed1a40783432d0dcb0e6c2e813a12615d7664 (patch) | |
tree | dc2d0eae703ec2ad3fe9a5bc657da5dbe0af2385 /kernel/trace/trace.h | |
parent | 4bf39a9411a4ce8712954e03a9bd1592ee345919 (diff) |
ftrace: timestamp syncing, prepare
rename and uninline now() to ftrace_now().
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/trace/trace.h')
-rw-r--r-- | kernel/trace/trace.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/kernel/trace/trace.h b/kernel/trace/trace.h index b0408356f0e0..30cad677e9d0 100644 --- a/kernel/trace/trace.h +++ b/kernel/trace/trace.h | |||
@@ -171,10 +171,7 @@ void update_max_tr(struct trace_array *tr, struct task_struct *tsk, int cpu); | |||
171 | void update_max_tr_single(struct trace_array *tr, | 171 | void update_max_tr_single(struct trace_array *tr, |
172 | struct task_struct *tsk, int cpu); | 172 | struct task_struct *tsk, int cpu); |
173 | 173 | ||
174 | static inline notrace cycle_t now(int cpu) | 174 | extern notrace cycle_t ftrace_now(int cpu); |
175 | { | ||
176 | return cpu_clock(cpu); | ||
177 | } | ||
178 | 175 | ||
179 | #ifdef CONFIG_SCHED_TRACER | 176 | #ifdef CONFIG_SCHED_TRACER |
180 | extern void notrace | 177 | extern void notrace |