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>
This commit is contained in:
committed by
Thomas Gleixner
parent
4bf39a9411
commit
750ed1a407
@@ -531,7 +531,7 @@ static int notrace __ftrace_update_code(void *ignore)
|
||||
save_ftrace_enabled = ftrace_enabled;
|
||||
ftrace_enabled = 0;
|
||||
|
||||
start = now(raw_smp_processor_id());
|
||||
start = ftrace_now(raw_smp_processor_id());
|
||||
ftrace_update_cnt = 0;
|
||||
|
||||
/* No locks needed, the machine is stopped! */
|
||||
@@ -550,7 +550,7 @@ static int notrace __ftrace_update_code(void *ignore)
|
||||
|
||||
}
|
||||
|
||||
stop = now(raw_smp_processor_id());
|
||||
stop = ftrace_now(raw_smp_processor_id());
|
||||
ftrace_update_time = stop - start;
|
||||
ftrace_update_tot_cnt += ftrace_update_cnt;
|
||||
|
||||
|
Reference in New Issue
Block a user