/linux-6.6.21/arch/arm64/include/asm/ |
D | ftrace.h | 77 struct ftrace_regs { struct 95 ftrace_regs_get_instruction_pointer(const struct ftrace_regs *fregs) in ftrace_regs_get_instruction_pointer() argument 101 ftrace_regs_set_instruction_pointer(struct ftrace_regs *fregs, in ftrace_regs_set_instruction_pointer() 108 ftrace_regs_get_stack_pointer(const struct ftrace_regs *fregs) in ftrace_regs_get_stack_pointer() 114 ftrace_regs_get_argument(struct ftrace_regs *fregs, unsigned int n) in ftrace_regs_get_argument() 122 ftrace_regs_get_return_value(const struct ftrace_regs *fregs) in ftrace_regs_get_return_value() 128 ftrace_regs_set_return_value(struct ftrace_regs *fregs, in ftrace_regs_set_return_value() 135 ftrace_override_function_with_return(struct ftrace_regs *fregs) in ftrace_override_function_with_return() 146 struct ftrace_ops *op, struct ftrace_regs *fregs); 150 static inline void arch_ftrace_set_direct_caller(struct ftrace_regs *fregs, in arch_ftrace_set_direct_caller()
|
/linux-6.6.21/arch/loongarch/include/asm/ |
D | ftrace.h | 48 struct ftrace_regs { struct 52 static __always_inline struct pt_regs *arch_ftrace_get_regs(struct ftrace_regs *fregs) in arch_ftrace_get_regs() argument 58 ftrace_regs_get_instruction_pointer(struct ftrace_regs *fregs) in ftrace_regs_get_instruction_pointer() 64 ftrace_regs_set_instruction_pointer(struct ftrace_regs *fregs, unsigned long ip) in ftrace_regs_set_instruction_pointer() 84 struct ftrace_ops *op, struct ftrace_regs *fregs);
|
/linux-6.6.21/arch/powerpc/include/asm/ |
D | ftrace.h | 45 struct ftrace_regs { struct 49 static __always_inline struct pt_regs *arch_ftrace_get_regs(struct ftrace_regs *fregs) in arch_ftrace_get_regs() argument 56 ftrace_regs_set_instruction_pointer(struct ftrace_regs *fregs, in ftrace_regs_set_instruction_pointer() 63 ftrace_regs_get_instruction_pointer(struct ftrace_regs *fregs) in ftrace_regs_get_instruction_pointer() 85 struct ftrace_ops *op, struct ftrace_regs *fregs);
|
/linux-6.6.21/arch/s390/include/asm/ |
D | ftrace.h | 44 struct ftrace_regs { struct 48 static __always_inline struct pt_regs *arch_ftrace_get_regs(struct ftrace_regs *fregs) in arch_ftrace_get_regs() argument 75 ftrace_regs_get_instruction_pointer(const struct ftrace_regs *fregs) in ftrace_regs_get_instruction_pointer() 81 ftrace_regs_set_instruction_pointer(struct ftrace_regs *fregs, in ftrace_regs_set_instruction_pointer() 108 static inline void arch_ftrace_set_direct_caller(struct ftrace_regs *fregs, unsigned long addr) in arch_ftrace_set_direct_caller()
|
/linux-6.6.21/arch/arm64/kernel/ |
D | asm-offsets.c | 87 DEFINE(FREGS_X0, offsetof(struct ftrace_regs, regs[0])); in main() 88 DEFINE(FREGS_X2, offsetof(struct ftrace_regs, regs[2])); in main() 89 DEFINE(FREGS_X4, offsetof(struct ftrace_regs, regs[4])); in main() 90 DEFINE(FREGS_X6, offsetof(struct ftrace_regs, regs[6])); in main() 91 DEFINE(FREGS_X8, offsetof(struct ftrace_regs, regs[8])); in main() 92 DEFINE(FREGS_FP, offsetof(struct ftrace_regs, fp)); in main() 93 DEFINE(FREGS_LR, offsetof(struct ftrace_regs, lr)); in main() 94 DEFINE(FREGS_SP, offsetof(struct ftrace_regs, sp)); in main() 95 DEFINE(FREGS_PC, offsetof(struct ftrace_regs, pc)); in main() 97 DEFINE(FREGS_DIRECT_TRAMP, offsetof(struct ftrace_regs, direct_tramp)); in main() [all …]
|
D | ftrace.c | 29 .offset = offsetof(struct ftrace_regs, field), \ 482 struct ftrace_ops *op, struct ftrace_regs *fregs) in ftrace_graph_func()
|
/linux-6.6.21/arch/parisc/include/asm/ |
D | ftrace.h | 15 struct ftrace_regs; 18 struct ftrace_regs *fregs);
|
/linux-6.6.21/arch/x86/include/asm/ |
D | ftrace.h | 38 struct ftrace_regs { struct 43 arch_ftrace_get_regs(struct ftrace_regs *fregs) in arch_ftrace_get_regs() argument 73 struct ftrace_ops *op, struct ftrace_regs *fregs);
|
/linux-6.6.21/include/linux/ |
D | ftrace.h | 41 struct ftrace_regs; 68 struct ftrace_ops *op, struct ftrace_regs *fregs); 121 struct ftrace_regs { struct 134 static __always_inline struct pt_regs *ftrace_get_regs(struct ftrace_regs *fregs) in ftrace_get_regs() 146 static __always_inline bool ftrace_regs_has_args(struct ftrace_regs *fregs) in ftrace_regs_has_args() 172 struct ftrace_ops *op, struct ftrace_regs *fregs); 390 struct ftrace_ops *op, struct ftrace_regs *fregs); 465 static inline void arch_ftrace_set_direct_caller(struct ftrace_regs *fregs, in arch_ftrace_set_direct_caller()
|
D | kprobes.h | 384 struct ftrace_ops *ops, struct ftrace_regs *fregs);
|
/linux-6.6.21/kernel/trace/ |
D | trace_functions.c | 26 struct ftrace_ops *op, struct ftrace_regs *fregs); 29 struct ftrace_ops *op, struct ftrace_regs *fregs); 32 struct ftrace_ops *op, struct ftrace_regs *fregs); 36 struct ftrace_regs *fregs); 173 struct ftrace_ops *op, struct ftrace_regs *fregs) in function_trace_call() 218 struct ftrace_ops *op, struct ftrace_regs *fregs) in function_stack_trace_call() 282 struct ftrace_regs *fregs) in function_no_repeats_trace_call() 328 struct ftrace_regs *fregs) in function_stack_no_repeats_trace_call()
|
D | trace_selftest.c | 110 struct ftrace_regs *fregs) in trace_selftest_test_probe1_func() 119 struct ftrace_regs *fregs) in trace_selftest_test_probe2_func() 128 struct ftrace_regs *fregs) in trace_selftest_test_probe3_func() 137 struct ftrace_regs *fregs) in trace_selftest_test_global_func() 146 struct ftrace_regs *fregs) in trace_selftest_test_dyn_func() 451 struct ftrace_regs *fregs) in trace_selftest_test_recursion_func() 466 struct ftrace_regs *fregs) in trace_selftest_test_recursion_safe_func() 585 struct ftrace_regs *fregs) in trace_selftest_test_regs_func()
|
D | fprobe.c | 25 struct ftrace_ops *ops, struct ftrace_regs *fregs) in __fprobe_handler() 61 struct ftrace_ops *ops, struct ftrace_regs *fregs) in fprobe_handler() 85 struct ftrace_ops *ops, struct ftrace_regs *fregs) in fprobe_kprobe_handler()
|
D | trace_stack.c | 293 struct ftrace_ops *op, struct ftrace_regs *fregs) in stack_trace_call()
|
/linux-6.6.21/arch/parisc/kernel/ |
D | ftrace.c | 59 struct ftrace_regs *fregs) in ftrace_function_trampoline() 202 struct ftrace_ops *ops, struct ftrace_regs *fregs) in kprobe_ftrace_handler()
|
/linux-6.6.21/samples/ftrace/ |
D | ftrace-ops.c | 102 struct ftrace_regs *fregs) in ops_func_nop() 109 struct ftrace_regs *fregs) in ops_func_count()
|
/linux-6.6.21/arch/loongarch/kernel/ |
D | ftrace_dyn.c | 242 struct ftrace_ops *op, struct ftrace_regs *fregs) in ftrace_graph_func() 283 struct ftrace_ops *ops, struct ftrace_regs *fregs) in kprobe_ftrace_handler()
|
/linux-6.6.21/arch/powerpc/kernel/ |
D | kprobes-ftrace.c | 17 struct ftrace_ops *ops, struct ftrace_regs *fregs) in kprobe_ftrace_handler()
|
/linux-6.6.21/arch/x86/kernel/kprobes/ |
D | ftrace.c | 17 struct ftrace_ops *ops, struct ftrace_regs *fregs) in kprobe_ftrace_handler()
|
/linux-6.6.21/arch/riscv/kernel/probes/ |
D | ftrace.c | 7 struct ftrace_ops *ops, struct ftrace_regs *fregs) in kprobe_ftrace_handler()
|
/linux-6.6.21/arch/csky/kernel/probes/ |
D | ftrace.c | 7 struct ftrace_ops *ops, struct ftrace_regs *fregs) in kprobe_ftrace_handler()
|
/linux-6.6.21/arch/s390/kernel/ |
D | asm-offsets.c | 187 OFFSET(__FTRACE_REGS_PT_REGS, ftrace_regs, regs); in main() 188 DEFINE(__FTRACE_REGS_SIZE, sizeof(struct ftrace_regs)); in main()
|
D | ftrace.c | 292 struct ftrace_ops *ops, struct ftrace_regs *fregs) in kprobe_ftrace_handler()
|
/linux-6.6.21/fs/pstore/ |
D | ftrace.c | 29 struct ftrace_regs *fregs) in pstore_ftrace_call()
|
/linux-6.6.21/kernel/livepatch/ |
D | patch.c | 43 struct ftrace_regs *fregs) in klp_ftrace_handler()
|