Home
last modified time | relevance | path

Searched refs:dyn_ftrace (Results 1 – 22 of 22) sorted by relevance

/linux-6.6.21/arch/arm64/kernel/
Dftrace.c225 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 …]
/linux-6.6.21/include/linux/
Dftrace.h42 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
650 void *arch_ftrace_trampoline_func(struct ftrace_ops *ops, struct dyn_ftrace *rec);
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);
[all …]
/linux-6.6.21/arch/loongarch/kernel/
Dftrace_dyn.c63 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()
/linux-6.6.21/arch/riscv/kernel/
Dftrace.c85 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()
/linux-6.6.21/arch/powerpc/kernel/trace/
Dftrace_64_pg.c116 struct dyn_ftrace *rec, unsigned long addr) in __ftrace_make_nop()
211 static int __ftrace_make_nop(struct module *mod, struct dyn_ftrace *rec, unsigned long addr) in __ftrace_make_nop()
303 static int __ftrace_make_nop_kernel(struct dyn_ftrace *rec, unsigned long addr) in __ftrace_make_nop_kernel()
343 struct dyn_ftrace *rec, unsigned long addr) in ftrace_make_nop()
404 __ftrace_make_call(struct dyn_ftrace *rec, unsigned long addr) in __ftrace_make_call()
459 static int __ftrace_make_call(struct dyn_ftrace *rec, unsigned long addr) in __ftrace_make_call()
465 static int __ftrace_make_call_kernel(struct dyn_ftrace *rec, unsigned long addr) in __ftrace_make_call_kernel()
509 int ftrace_make_call(struct dyn_ftrace *rec, unsigned long addr) in ftrace_make_call()
547 __ftrace_modify_call(struct dyn_ftrace *rec, unsigned long old_addr, in __ftrace_modify_call()
633 static int __ftrace_modify_call(struct dyn_ftrace *rec, unsigned long old_addr, unsigned long addr) in __ftrace_modify_call()
[all …]
Dftrace.c97 static int ftrace_get_call_inst(struct dyn_ftrace *rec, unsigned long addr, ppc_inst_t *call_inst) in ftrace_get_call_inst()
127 int ftrace_modify_call(struct dyn_ftrace *rec, unsigned long old_addr, unsigned long addr) in ftrace_modify_call()
135 int ftrace_make_call(struct dyn_ftrace *rec, unsigned long addr) in ftrace_make_call()
152 int ftrace_make_nop(struct module *mod, struct dyn_ftrace *rec, unsigned long addr) in ftrace_make_nop()
168 struct dyn_ftrace *rec; in ftrace_replace_code()
216 int ftrace_init_nop(struct module *mod, struct dyn_ftrace *rec) in ftrace_init_nop()
/linux-6.6.21/arch/arm/kernel/
Dftrace.c61 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()
/linux-6.6.21/arch/s390/kernel/
Dftrace.c78 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()
/linux-6.6.21/arch/ia64/kernel/
Dftrace.c127 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-6.6.21/arch/x86/kernel/
Dftrace.c127 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()
/linux-6.6.21/arch/csky/kernel/
Dftrace.c111 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()
/linux-6.6.21/kernel/trace/
Dftrace.c1117 struct dyn_ftrace *records;
1122 #define ENTRY_SIZE sizeof(struct dyn_ftrace)
1550 const struct dyn_ftrace *key = a; in ftrace_cmp_recs()
1551 const struct dyn_ftrace *rec = b; in ftrace_cmp_recs()
1560 static struct dyn_ftrace *lookup_rec(unsigned long start, unsigned long end) in lookup_rec()
1563 struct dyn_ftrace *rec = NULL; in lookup_rec()
1564 struct dyn_ftrace key; in lookup_rec()
1575 sizeof(struct dyn_ftrace), in lookup_rec()
1597 struct dyn_ftrace *rec; in ftrace_location_range()
1616 struct dyn_ftrace *rec; in ftrace_location()
[all …]
/linux-6.6.21/arch/parisc/kernel/
Dftrace.c102 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()
/linux-6.6.21/arch/loongarch/include/asm/
Dftrace.h27 struct dyn_ftrace;
34 int ftrace_init_nop(struct module *mod, struct dyn_ftrace *rec);
/linux-6.6.21/arch/riscv/include/asm/
Dftrace.h133 struct dyn_ftrace;
134 int ftrace_init_nop(struct module *mod, struct dyn_ftrace *rec);
/linux-6.6.21/arch/arm64/include/asm/
Dftrace.h68 struct dyn_ftrace;
142 int ftrace_init_nop(struct module *mod, struct dyn_ftrace *rec);
/linux-6.6.21/arch/sparc/kernel/
Dftrace.c56 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-6.6.21/arch/powerpc/include/asm/
Dftrace.h35 struct dyn_ftrace;
42 int ftrace_init_nop(struct module *mod, struct dyn_ftrace *rec);
/linux-6.6.21/arch/s390/include/asm/
Dftrace.h31 struct dyn_ftrace;
36 int ftrace_init_nop(struct module *mod, struct dyn_ftrace *rec);
/linux-6.6.21/arch/microblaze/kernel/
Dftrace.c113 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-6.6.21/arch/sh/kernel/
Dftrace.c234 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-6.6.21/arch/mips/kernel/
Dftrace.c163 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()