Searched refs:ftrace_addr (Results 1 - 4 of 4) sorted by relevance

/linux-4.1.27/arch/x86/kernel/
H A Dftrace.c346 unsigned long ftrace_addr; add_breakpoints() local
349 ftrace_addr = ftrace_get_addr_curr(rec); add_breakpoints()
364 return add_brk_on_call(rec, ftrace_addr); add_breakpoints()
382 unsigned long ftrace_addr; remove_breakpoint() local
397 * a nop, then we assume that this is a call to ftrace_addr. remove_breakpoint()
402 * a call that would actually jump to the ftrace_addr. remove_breakpoint()
406 ftrace_addr = ftrace_get_addr_new(rec); remove_breakpoint()
407 nop = ftrace_call_replace(ip, ftrace_addr); remove_breakpoint()
412 /* Check both ftrace_addr and ftrace_old_addr */ remove_breakpoint()
413 ftrace_addr = ftrace_get_addr_curr(rec); remove_breakpoint()
414 nop = ftrace_call_replace(ip, ftrace_addr); remove_breakpoint()
452 unsigned long ftrace_addr; add_update() local
457 ftrace_addr = ftrace_get_addr_new(rec); add_update()
466 return add_update_call(rec, ftrace_addr); add_update()
498 unsigned long ftrace_addr; finish_update() local
503 ftrace_addr = ftrace_get_addr_new(rec); finish_update()
512 return finish_update_call(rec, ftrace_addr); finish_update()
/linux-4.1.27/arch/powerpc/kernel/
H A Dftrace.c424 unsigned long ftrace_addr = (unsigned long)FTRACE_ADDR; __ftrace_replace_code() local
433 return ftrace_make_call(rec, ftrace_addr); __ftrace_replace_code()
435 return ftrace_make_nop(NULL, rec, ftrace_addr); __ftrace_replace_code()
/linux-4.1.27/kernel/
H A Dkprobes.c1416 unsigned long ftrace_addr; arch_check_ftrace_location() local
1418 ftrace_addr = ftrace_location((unsigned long)p->addr); arch_check_ftrace_location()
1419 if (ftrace_addr) { arch_check_ftrace_location()
1422 if ((unsigned long)p->addr != ftrace_addr) arch_check_ftrace_location()
/linux-4.1.27/kernel/trace/
H A Dftrace.c2290 unsigned long ftrace_addr; __ftrace_replace_code() local
2293 ftrace_addr = ftrace_get_addr_new(rec); __ftrace_replace_code()
2305 return ftrace_make_call(rec, ftrace_addr); __ftrace_replace_code()
2311 return ftrace_modify_call(rec, ftrace_old_addr, ftrace_addr); __ftrace_replace_code()

Completed in 147 milliseconds