aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace/ftrace.c
diff options
context:
space:
mode:
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