aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace/ftrace.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-05-12 15:20:46 -0400
committerThomas Gleixner <tglx@linutronix.de>2008-05-23 14:42:31 -0400
commit750ed1a40783432d0dcb0e6c2e813a12615d7664 (patch)
treedc2d0eae703ec2ad3fe9a5bc657da5dbe0af2385 /kernel/trace/ftrace.c
parent4bf39a9411a4ce8712954e03a9bd1592ee345919 (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/ftrace.c')
-rw-r--r--kernel/trace/ftrace.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/trace/ftrace.c b/kernel/trace/ftrace.c
index 97c40865a93e..a15e068535f8 100644
--- a/kernel/trace/ftrace.c
+++ b/kernel/trace/ftrace.c
@@ -531,7 +531,7 @@ static int notrace __ftrace_update_code(void *ignore)
531 save_ftrace_enabled = ftrace_enabled; 531 save_ftrace_enabled = ftrace_enabled;
532 ftrace_enabled = 0; 532 ftrace_enabled = 0;
533 533
534 start = now(raw_smp_processor_id()); 534 start = ftrace_now(raw_smp_processor_id());
535 ftrace_update_cnt = 0; 535 ftrace_update_cnt = 0;
536 536
537 /* No locks needed, the machine is stopped! */ 537 /* No locks needed, the machine is stopped! */
@@ -550,7 +550,7 @@ static int notrace __ftrace_update_code(void *ignore)
550 550
551 } 551 }
552 552
553 stop = now(raw_smp_processor_id()); 553 stop = ftrace_now(raw_smp_processor_id());
554 ftrace_update_time = stop - start; 554 ftrace_update_time = stop - start;
555 ftrace_update_tot_cnt += ftrace_update_cnt; 555 ftrace_update_tot_cnt += ftrace_update_cnt;
556 556