/Linux-v5.10/include/linux/ |
D | ftrace.h | 281 struct dyn_ftrace; 290 struct dyn_ftrace *rec, 314 struct dyn_ftrace *rec, in ftrace_modify_direct_caller() 410 void ftrace_bug(int err, struct dyn_ftrace *rec); 457 struct dyn_ftrace { struct 514 void *arch_ftrace_trampoline_func(struct ftrace_ops *ops, struct dyn_ftrace *rec); 521 struct dyn_ftrace *ftrace_rec_iter_record(struct ftrace_rec_iter *iter); 529 int ftrace_update_record(struct dyn_ftrace *rec, bool enable); 530 int ftrace_test_record(struct dyn_ftrace *rec, bool enable); 534 unsigned long ftrace_get_addr_new(struct dyn_ftrace *rec); [all …]
|
/Linux-v5.10/arch/arm/kernel/ |
D | ftrace.c | 49 static unsigned long ftrace_nop_replace(struct dyn_ftrace *rec) in ftrace_nop_replace() 54 static unsigned long adjust_address(struct dyn_ftrace *rec, unsigned long addr) in adjust_address() 123 int ftrace_make_call(struct dyn_ftrace *rec, unsigned long addr) in ftrace_make_call() 137 int ftrace_modify_call(struct dyn_ftrace *rec, unsigned long old_addr, in ftrace_modify_call() 153 struct dyn_ftrace *rec, unsigned long addr) in ftrace_make_nop()
|
/Linux-v5.10/arch/riscv/kernel/ |
D | ftrace.c | 75 int ftrace_make_call(struct dyn_ftrace *rec, unsigned long addr) in ftrace_make_call() 85 int ftrace_make_nop(struct module *mod, struct dyn_ftrace *rec, in ftrace_make_nop() 108 int ftrace_init_nop(struct module *mod, struct dyn_ftrace *rec) in ftrace_init_nop() 138 int ftrace_modify_call(struct dyn_ftrace *rec, unsigned long old_addr, in ftrace_modify_call()
|
/Linux-v5.10/arch/arm64/kernel/ |
D | ftrace.c | 82 int ftrace_make_call(struct dyn_ftrace *rec, unsigned long addr) in ftrace_make_call() 128 int ftrace_modify_call(struct dyn_ftrace *rec, unsigned long old_addr, in ftrace_modify_call() 163 int ftrace_init_nop(struct module *mod, struct dyn_ftrace *rec) in ftrace_init_nop() 179 int ftrace_make_nop(struct module *mod, struct dyn_ftrace *rec, in ftrace_make_nop()
|
/Linux-v5.10/arch/powerpc/kernel/trace/ |
D | ftrace.c | 126 struct dyn_ftrace *rec, unsigned long addr) in __ftrace_make_nop() 222 struct dyn_ftrace *rec, unsigned long addr) in __ftrace_make_nop() 396 static int __ftrace_make_nop_kernel(struct dyn_ftrace *rec, unsigned long addr) in __ftrace_make_nop_kernel() 436 struct dyn_ftrace *rec, unsigned long addr) in ftrace_make_nop() 520 __ftrace_make_call(struct dyn_ftrace *rec, unsigned long addr) 588 __ftrace_make_call(struct dyn_ftrace *rec, unsigned long addr) 628 static int __ftrace_make_call_kernel(struct dyn_ftrace *rec, unsigned long addr) 675 int ftrace_make_call(struct dyn_ftrace *rec, unsigned long addr) 714 __ftrace_modify_call(struct dyn_ftrace *rec, unsigned long old_addr, 807 int ftrace_modify_call(struct dyn_ftrace *rec, unsigned long old_addr,
|
/Linux-v5.10/arch/arm64/include/asm/ |
D | ftrace.h | 71 struct dyn_ftrace; 72 int ftrace_init_nop(struct module *mod, struct dyn_ftrace *rec);
|
/Linux-v5.10/arch/riscv/include/asm/ |
D | ftrace.h | 71 struct dyn_ftrace; 72 int ftrace_init_nop(struct module *mod, struct dyn_ftrace *rec);
|
/Linux-v5.10/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.10/arch/s390/kernel/ |
D | ftrace.c | 75 int ftrace_modify_call(struct dyn_ftrace *rec, unsigned long old_addr, in ftrace_modify_call() 81 int ftrace_make_nop(struct module *mod, struct dyn_ftrace *rec, in ftrace_make_nop() 104 int ftrace_make_call(struct dyn_ftrace *rec, unsigned long addr) in ftrace_make_call()
|
/Linux-v5.10/arch/x86/kernel/ |
D | ftrace.c | 124 int ftrace_make_nop(struct module *mod, struct dyn_ftrace *rec, unsigned long addr) in ftrace_make_nop() 151 int ftrace_make_call(struct dyn_ftrace *rec, unsigned long addr) in ftrace_make_call() 171 int ftrace_modify_call(struct dyn_ftrace *rec, unsigned long old_addr, in ftrace_modify_call() 197 struct dyn_ftrace *rec; in ftrace_replace_code() 537 static void *static_tramp_func(struct ftrace_ops *ops, struct dyn_ftrace *rec) in static_tramp_func() 565 void *arch_ftrace_trampoline_func(struct ftrace_ops *ops, struct dyn_ftrace *rec) in arch_ftrace_trampoline_func()
|
/Linux-v5.10/arch/csky/kernel/ |
D | ftrace.c | 111 int ftrace_make_call(struct dyn_ftrace *rec, unsigned long addr) in ftrace_make_call() 121 int ftrace_make_nop(struct module *mod, struct dyn_ftrace *rec, in ftrace_make_nop() 144 int ftrace_modify_call(struct dyn_ftrace *rec, unsigned long old_addr, in ftrace_modify_call()
|
/Linux-v5.10/arch/parisc/kernel/ |
D | ftrace.c | 107 int ftrace_modify_call(struct dyn_ftrace *rec, unsigned long old_addr, in ftrace_modify_call() 118 int ftrace_make_call(struct dyn_ftrace *rec, unsigned long addr) in ftrace_make_call() 189 int ftrace_make_nop(struct module *mod, struct dyn_ftrace *rec, in ftrace_make_nop()
|
/Linux-v5.10/kernel/trace/ |
D | ftrace.c | 1092 struct dyn_ftrace *records; 1097 #define ENTRY_SIZE sizeof(struct dyn_ftrace) 1520 const struct dyn_ftrace *key = a; in ftrace_cmp_recs() 1521 const struct dyn_ftrace *rec = b; in ftrace_cmp_recs() 1530 static struct dyn_ftrace *lookup_rec(unsigned long start, unsigned long end) in lookup_rec() 1533 struct dyn_ftrace *rec = NULL; in lookup_rec() 1534 struct dyn_ftrace key; in lookup_rec() 1544 sizeof(struct dyn_ftrace), in lookup_rec() 1566 struct dyn_ftrace *rec; in ftrace_location_range() 1610 static bool test_rec_ops_needs_regs(struct dyn_ftrace *rec) in test_rec_ops_needs_regs() [all …]
|
/Linux-v5.10/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.10/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.10/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.10/arch/nds32/kernel/ |
D | ftrace.c | 173 int ftrace_make_call(struct dyn_ftrace *rec, unsigned long addr) in ftrace_make_call() 184 int ftrace_make_nop(struct module *mod, struct dyn_ftrace *rec, in ftrace_make_nop()
|
/Linux-v5.10/arch/mips/kernel/ |
D | ftrace.c | 175 struct dyn_ftrace *rec, unsigned long addr) in ftrace_make_nop() 199 int ftrace_make_call(struct dyn_ftrace *rec, unsigned long addr) in ftrace_make_call()
|