/openbmc/linux/arch/arm64/kernel/ |
H A D | ftrace.c | 225 static bool ftrace_find_callable_addr(struct dyn_ftrace *rec, in ftrace_find_callable_addr() 284 static const struct ftrace_ops *arm64_rec_get_ops(struct dyn_ftrace *rec) in arm64_rec_get_ops() 299 static int ftrace_rec_set_ops(const struct dyn_ftrace *rec, in ftrace_rec_set_ops() 307 static int ftrace_rec_set_nop_ops(struct dyn_ftrace *rec) in ftrace_rec_set_nop_ops() 312 static int ftrace_rec_update_ops(struct dyn_ftrace *rec) in ftrace_rec_update_ops() 317 static int ftrace_rec_set_nop_ops(struct dyn_ftrace *rec) { return 0; } in ftrace_rec_set_nop_ops() 318 static int ftrace_rec_update_ops(struct dyn_ftrace *rec) { return 0; } in ftrace_rec_update_ops() 324 int ftrace_make_call(struct dyn_ftrace *rec, unsigned long addr) in ftrace_make_call() 344 int ftrace_modify_call(struct dyn_ftrace *rec, unsigned long old_addr, in ftrace_modify_call() 391 int ftrace_init_nop(struct module *mod, struct dyn_ftrace *rec) in ftrace_init_nop() [all …]
|
/openbmc/linux/include/linux/ |
H A D | ftrace.h | 42 struct dyn_ftrace; 72 struct ftrace_ops *ftrace_find_unique_ops(struct dyn_ftrace *rec); 535 void ftrace_bug(int err, struct dyn_ftrace *rec); 590 struct dyn_ftrace { struct 657 struct dyn_ftrace *ftrace_rec_iter_record(struct ftrace_rec_iter *iter); 665 int ftrace_update_record(struct dyn_ftrace *rec, bool enable); 666 int ftrace_test_record(struct dyn_ftrace *rec, bool enable); 670 unsigned long ftrace_get_addr_new(struct dyn_ftrace *rec); 671 unsigned long ftrace_get_addr_curr(struct dyn_ftrace *rec); 755 struct dyn_ftrace *rec, unsigned long addr); [all …]
|
/openbmc/linux/arch/riscv/kernel/ |
H A D | ftrace.c | 85 int ftrace_make_call(struct dyn_ftrace *rec, unsigned long addr) in ftrace_make_call() 97 int ftrace_make_nop(struct module *mod, struct dyn_ftrace *rec, in ftrace_make_nop() 115 int ftrace_init_nop(struct module *mod, struct dyn_ftrace *rec) in ftrace_init_nop() 140 int ftrace_modify_call(struct dyn_ftrace *rec, unsigned long old_addr, in ftrace_modify_call()
|
/openbmc/linux/arch/loongarch/kernel/ |
H A D | ftrace_dyn.c | 63 static bool ftrace_find_callable_addr(struct dyn_ftrace *rec, struct module *mod, unsigned long *ad… in ftrace_find_callable_addr() 111 static bool ftrace_find_callable_addr(struct dyn_ftrace *rec, struct module *mod, unsigned long *ad… in ftrace_find_callable_addr() 118 int ftrace_modify_call(struct dyn_ftrace *rec, unsigned long old_addr, unsigned long addr) in ftrace_modify_call() 170 int ftrace_init_nop(struct module *mod, struct dyn_ftrace *rec) in ftrace_init_nop() 182 int ftrace_make_call(struct dyn_ftrace *rec, unsigned long addr) in ftrace_make_call() 198 int ftrace_make_nop(struct module *mod, struct dyn_ftrace *rec, unsigned long addr) in ftrace_make_nop()
|
/openbmc/linux/arch/arm/kernel/ |
H A D | ftrace.c | 61 static unsigned long ftrace_nop_replace(struct dyn_ftrace *rec) in ftrace_nop_replace() 69 static unsigned long __ref adjust_address(struct dyn_ftrace *rec, in adjust_address() 145 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() 187 struct dyn_ftrace *rec, unsigned long addr) in ftrace_make_nop()
|
/openbmc/linux/arch/powerpc/kernel/trace/ |
H A D | ftrace_64_pg.c | 121 struct dyn_ftrace *rec, unsigned long addr) in __ftrace_make_nop() 216 static int __ftrace_make_nop(struct module *mod, struct dyn_ftrace *rec, unsigned long addr) in __ftrace_make_nop() 308 static int __ftrace_make_nop_kernel(struct dyn_ftrace *rec, unsigned long addr) in __ftrace_make_nop_kernel() 348 struct dyn_ftrace *rec, unsigned long addr) in ftrace_make_nop() 409 __ftrace_make_call(struct dyn_ftrace *rec, unsigned long addr) in __ftrace_make_call() 464 static int __ftrace_make_call(struct dyn_ftrace *rec, unsigned long addr) in __ftrace_make_call() 470 static int __ftrace_make_call_kernel(struct dyn_ftrace *rec, unsigned long addr) in __ftrace_make_call_kernel() 514 int ftrace_make_call(struct dyn_ftrace *rec, unsigned long addr) in ftrace_make_call() 552 __ftrace_modify_call(struct dyn_ftrace *rec, unsigned long old_addr, in __ftrace_modify_call() 638 static int __ftrace_modify_call(struct dyn_ftrace *rec, unsigned long old_addr, unsigned long addr) in __ftrace_modify_call() [all …]
|
H A D | ftrace.c | 109 static int ftrace_get_call_inst(struct dyn_ftrace *rec, unsigned long addr, ppc_inst_t *call_inst) in ftrace_get_call_inst() 139 int ftrace_modify_call(struct dyn_ftrace *rec, unsigned long old_addr, unsigned long addr) in ftrace_modify_call() 147 int ftrace_make_call(struct dyn_ftrace *rec, unsigned long addr) in ftrace_make_call() 164 int ftrace_make_nop(struct module *mod, struct dyn_ftrace *rec, unsigned long addr) in ftrace_make_nop() 180 struct dyn_ftrace *rec; in ftrace_replace_code() 228 int ftrace_init_nop(struct module *mod, struct dyn_ftrace *rec) in ftrace_init_nop()
|
/openbmc/linux/arch/s390/kernel/ |
H A D | ftrace.c | 78 int ftrace_init_nop(struct module *mod, struct dyn_ftrace *rec) in ftrace_init_nop() 128 static struct ftrace_hotpatch_trampoline *ftrace_get_trampoline(struct dyn_ftrace *rec) in ftrace_get_trampoline() 146 int ftrace_modify_call(struct dyn_ftrace *rec, unsigned long old_addr, in ftrace_modify_call() 178 int ftrace_make_nop(struct module *mod, struct dyn_ftrace *rec, in ftrace_make_nop() 185 int ftrace_make_call(struct dyn_ftrace *rec, unsigned long addr) in ftrace_make_call()
|
/openbmc/linux/arch/ia64/kernel/ |
H A 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()
|
/openbmc/linux/arch/csky/kernel/ |
H A 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() 139 int ftrace_modify_call(struct dyn_ftrace *rec, unsigned long old_addr, in ftrace_modify_call()
|
/openbmc/linux/arch/x86/kernel/ |
H A D | ftrace.c | 127 int ftrace_make_nop(struct module *mod, struct dyn_ftrace *rec, unsigned long addr) in ftrace_make_nop() 154 int ftrace_make_call(struct dyn_ftrace *rec, unsigned long addr) in ftrace_make_call() 174 int ftrace_modify_call(struct dyn_ftrace *rec, unsigned long old_addr, in ftrace_modify_call() 200 struct dyn_ftrace *rec; in ftrace_replace_code() 531 static void *static_tramp_func(struct ftrace_ops *ops, struct dyn_ftrace *rec) in static_tramp_func() 560 void *arch_ftrace_trampoline_func(struct ftrace_ops *ops, struct dyn_ftrace *rec) in arch_ftrace_trampoline_func()
|
/openbmc/linux/arch/parisc/kernel/ |
H A D | ftrace.c | 102 int ftrace_modify_call(struct dyn_ftrace *rec, unsigned long old_addr, in ftrace_modify_call() 113 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()
|
/openbmc/linux/arch/loongarch/include/asm/ |
H A D | ftrace.h | 27 struct dyn_ftrace; 34 int ftrace_init_nop(struct module *mod, struct dyn_ftrace *rec);
|
/openbmc/linux/kernel/trace/ |
H A D | ftrace.c | 1564 struct dyn_ftrace key; in lookup_rec() 1597 struct dyn_ftrace *rec; in ftrace_location_range() 1703 struct dyn_ftrace *rec; in __ftrace_hash_rec_update() 2689 struct dyn_ftrace *rec; in ftrace_replace_code() 3187 struct dyn_ftrace *p; in ftrace_update_code() 3749 struct dyn_ftrace *rec; in ftrace_check_work_func() 3815 struct dyn_ftrace *rec; in t_show() 4204 struct dyn_ftrace *rec; in add_rec_by_index() 4288 struct dyn_ftrace *rec; in match_records() 6284 struct dyn_ftrace *rec; in ftrace_graph_set_hash() [all …]
|
/openbmc/linux/arch/riscv/include/asm/ |
H A D | ftrace.h | 133 struct dyn_ftrace; 134 int ftrace_init_nop(struct module *mod, struct dyn_ftrace *rec);
|
/openbmc/linux/arch/arm64/include/asm/ |
H A D | ftrace.h | 68 struct dyn_ftrace; 142 int ftrace_init_nop(struct module *mod, struct dyn_ftrace *rec);
|
/openbmc/linux/arch/sparc/kernel/ |
H A 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()
|
/openbmc/linux/arch/s390/include/asm/ |
H A D | ftrace.h | 31 struct dyn_ftrace; 36 int ftrace_init_nop(struct module *mod, struct dyn_ftrace *rec);
|
/openbmc/linux/arch/powerpc/include/asm/ |
H A D | ftrace.h | 27 struct dyn_ftrace; 34 int ftrace_init_nop(struct module *mod, struct dyn_ftrace *rec);
|
/openbmc/linux/arch/microblaze/kernel/ |
H A 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()
|
/openbmc/linux/arch/sh/kernel/ |
H A 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()
|
/openbmc/linux/arch/mips/kernel/ |
H A D | ftrace.c | 163 struct dyn_ftrace *rec, unsigned long addr) in ftrace_make_nop() 187 int ftrace_make_call(struct dyn_ftrace *rec, unsigned long addr) in ftrace_make_call()
|