/Linux-v5.4/include/linux/ |
D | ftrace.h | 294 struct dyn_ftrace; 311 void ftrace_bug(int err, struct dyn_ftrace *rec); 358 struct dyn_ftrace { struct 415 void *arch_ftrace_trampoline_func(struct ftrace_ops *ops, struct dyn_ftrace *rec); 422 struct dyn_ftrace *ftrace_rec_iter_record(struct ftrace_rec_iter *iter); 430 int ftrace_update_record(struct dyn_ftrace *rec, bool enable); 431 int ftrace_test_record(struct dyn_ftrace *rec, bool enable); 435 unsigned long ftrace_get_addr_new(struct dyn_ftrace *rec); 436 unsigned long ftrace_get_addr_curr(struct dyn_ftrace *rec); 521 struct dyn_ftrace *rec, unsigned long addr); [all …]
|
/Linux-v5.4/arch/x86/kernel/ |
D | ftrace.c | 153 struct dyn_ftrace *rec, unsigned long addr) in ftrace_make_nop() 179 int ftrace_make_call(struct dyn_ftrace *rec, unsigned long addr) in ftrace_make_call() 236 int ftrace_modify_call(struct dyn_ftrace *rec, unsigned long old_addr, in ftrace_modify_call() 356 static int add_brk_on_call(struct dyn_ftrace *rec, unsigned long addr) in add_brk_on_call() 367 static int add_brk_on_nop(struct dyn_ftrace *rec) in add_brk_on_nop() 376 static int add_breakpoints(struct dyn_ftrace *rec, bool enable) in add_breakpoints() 409 static int remove_breakpoint(struct dyn_ftrace *rec) in remove_breakpoint() 466 static int add_update_call(struct dyn_ftrace *rec, unsigned long addr) in add_update_call() 475 static int add_update_nop(struct dyn_ftrace *rec) in add_update_nop() 484 static int add_update(struct dyn_ftrace *rec, bool enable) in add_update() [all …]
|
/Linux-v5.4/arch/arm/kernel/ |
D | ftrace.c | 50 static unsigned long ftrace_nop_replace(struct dyn_ftrace *rec) in ftrace_nop_replace() 55 static unsigned long adjust_address(struct dyn_ftrace *rec, unsigned long addr) in adjust_address() 131 int ftrace_make_call(struct dyn_ftrace *rec, unsigned long addr) in ftrace_make_call() 145 int ftrace_modify_call(struct dyn_ftrace *rec, unsigned long old_addr, in ftrace_modify_call() 161 struct dyn_ftrace *rec, unsigned long addr) in ftrace_make_nop()
|
/Linux-v5.4/arch/powerpc/kernel/trace/ |
D | ftrace.c | 124 struct dyn_ftrace *rec, unsigned long addr) in __ftrace_make_nop() 218 struct dyn_ftrace *rec, unsigned long addr) in __ftrace_make_nop() 388 static int __ftrace_make_nop_kernel(struct dyn_ftrace *rec, unsigned long addr) in __ftrace_make_nop_kernel() 428 struct dyn_ftrace *rec, unsigned long addr) in ftrace_make_nop() 511 __ftrace_make_call(struct dyn_ftrace *rec, unsigned long addr) 575 __ftrace_make_call(struct dyn_ftrace *rec, unsigned long addr) 614 static int __ftrace_make_call_kernel(struct dyn_ftrace *rec, unsigned long addr) 661 int ftrace_make_call(struct dyn_ftrace *rec, unsigned long addr) 700 __ftrace_modify_call(struct dyn_ftrace *rec, unsigned long old_addr, 793 int ftrace_modify_call(struct dyn_ftrace *rec, unsigned long old_addr,
|
/Linux-v5.4/arch/s390/kernel/ |
D | ftrace.c | 100 int ftrace_modify_call(struct dyn_ftrace *rec, unsigned long old_addr, in ftrace_modify_call() 106 int ftrace_make_nop(struct module *mod, struct dyn_ftrace *rec, in ftrace_make_nop() 139 int ftrace_make_call(struct dyn_ftrace *rec, unsigned long addr) in ftrace_make_call()
|
/Linux-v5.4/arch/riscv/kernel/ |
D | ftrace.c | 66 int ftrace_make_call(struct dyn_ftrace *rec, unsigned long addr) in ftrace_make_call() 76 int ftrace_make_nop(struct module *mod, struct dyn_ftrace *rec, in ftrace_make_nop() 110 int ftrace_modify_call(struct dyn_ftrace *rec, unsigned long old_addr, in ftrace_modify_call()
|
/Linux-v5.4/arch/ia64/kernel/ |
D | ftrace.c | 127 static int ftrace_make_nop_check(struct dyn_ftrace *rec, unsigned long addr) in ftrace_make_nop_check() 160 struct dyn_ftrace *rec, unsigned long addr) in ftrace_make_nop() 172 int ftrace_make_call(struct dyn_ftrace *rec, unsigned long addr) in ftrace_make_call()
|
/Linux-v5.4/arch/parisc/kernel/ |
D | ftrace.c | 106 int ftrace_modify_call(struct dyn_ftrace *rec, unsigned long old_addr, in ftrace_modify_call() 117 int ftrace_make_call(struct dyn_ftrace *rec, unsigned long addr) in ftrace_make_call() 188 int ftrace_make_nop(struct module *mod, struct dyn_ftrace *rec, in ftrace_make_nop()
|
/Linux-v5.4/kernel/trace/ |
D | ftrace.c | 1101 struct dyn_ftrace *records; 1106 #define ENTRY_SIZE sizeof(struct dyn_ftrace) 1527 const struct dyn_ftrace *key = a; in ftrace_cmp_recs() 1528 const struct dyn_ftrace *rec = b; in ftrace_cmp_recs() 1552 struct dyn_ftrace *rec; in ftrace_location_range() 1553 struct dyn_ftrace key; in ftrace_location_range() 1563 sizeof(struct dyn_ftrace), in ftrace_location_range() 1607 static bool test_rec_ops_needs_regs(struct dyn_ftrace *rec) in test_rec_ops_needs_regs() 1627 ftrace_find_tramp_ops_any(struct dyn_ftrace *rec); 1629 ftrace_find_tramp_ops_next(struct dyn_ftrace *rec, struct ftrace_ops *ops); [all …]
|
/Linux-v5.4/arch/sparc/kernel/ |
D | ftrace.c | 56 int ftrace_make_nop(struct module *mod, struct dyn_ftrace *rec, unsigned long addr) in ftrace_make_nop() 66 int ftrace_make_call(struct dyn_ftrace *rec, unsigned long addr) in ftrace_make_call()
|
/Linux-v5.4/arch/csky/kernel/ |
D | ftrace.c | 109 int ftrace_make_call(struct dyn_ftrace *rec, unsigned long addr) in ftrace_make_call() 119 int ftrace_make_nop(struct module *mod, struct dyn_ftrace *rec, in ftrace_make_nop()
|
/Linux-v5.4/arch/microblaze/kernel/ |
D | ftrace.c | 113 struct dyn_ftrace *rec, unsigned long addr) in ftrace_make_nop() 153 int ftrace_make_call(struct dyn_ftrace *rec, unsigned long addr) in ftrace_make_call()
|
/Linux-v5.4/arch/arm64/kernel/ |
D | ftrace.c | 68 int ftrace_make_call(struct dyn_ftrace *rec, unsigned long addr) in ftrace_make_call() 150 int ftrace_make_nop(struct module *mod, struct dyn_ftrace *rec, in ftrace_make_nop()
|
/Linux-v5.4/arch/sh/kernel/ |
D | ftrace.c | 234 struct dyn_ftrace *rec, unsigned long addr) in ftrace_make_nop() 245 int ftrace_make_call(struct dyn_ftrace *rec, unsigned long addr) in ftrace_make_call()
|
/Linux-v5.4/arch/nds32/kernel/ |
D | ftrace.c | 184 int ftrace_make_call(struct dyn_ftrace *rec, unsigned long addr) in ftrace_make_call() 195 int ftrace_make_nop(struct module *mod, struct dyn_ftrace *rec, in ftrace_make_nop()
|
/Linux-v5.4/arch/mips/kernel/ |
D | ftrace.c | 179 struct dyn_ftrace *rec, unsigned long addr) in ftrace_make_nop() 203 int ftrace_make_call(struct dyn_ftrace *rec, unsigned long addr) in ftrace_make_call()
|