| /linux/arch/arm64/include/asm/ |
| H A D | ftrace.h | 62 struct ftrace_regs; 89 ftrace_regs_get_instruction_pointer(const struct ftrace_regs *fregs) in ftrace_regs_get_instruction_pointer() 95 ftrace_regs_set_instruction_pointer(struct ftrace_regs *fregs, in ftrace_regs_set_instruction_pointer() 102 ftrace_regs_get_stack_pointer(const struct ftrace_regs *fregs) in ftrace_regs_get_stack_pointer() 108 ftrace_regs_get_argument(struct ftrace_regs *fregs, unsigned int n) in ftrace_regs_get_argument() 116 ftrace_regs_get_return_value(const struct ftrace_regs *fregs) in ftrace_regs_get_return_value() 122 ftrace_regs_set_return_value(struct ftrace_regs *fregs, in ftrace_regs_set_return_value() 129 ftrace_override_function_with_return(struct ftrace_regs *fregs) in ftrace_override_function_with_return() 135 ftrace_regs_get_frame_pointer(const struct ftrace_regs *fregs) in ftrace_regs_get_frame_pointer() 141 ftrace_regs_get_return_address(const struct ftrace_regs *fregs) in ftrace_regs_get_return_address() [all …]
|
| /linux/arch/riscv/include/asm/ |
| H A D | ftrace.h | 124 struct ftrace_regs; 158 static __always_inline unsigned long ftrace_regs_get_instruction_pointer(const struct ftrace_regs in ftrace_regs_get_instruction_pointer() 164 static __always_inline void ftrace_regs_set_instruction_pointer(struct ftrace_regs *fregs, in ftrace_regs_set_instruction_pointer() 170 static __always_inline unsigned long ftrace_regs_get_stack_pointer(const struct ftrace_regs *fregs) in ftrace_regs_get_stack_pointer() 175 static __always_inline unsigned long ftrace_regs_get_frame_pointer(const struct ftrace_regs *fregs) in ftrace_regs_get_frame_pointer() 180 static __always_inline unsigned long ftrace_regs_get_argument(struct ftrace_regs *fregs, in ftrace_regs_get_argument() 188 static __always_inline unsigned long ftrace_regs_get_return_value(const struct ftrace_regs *fregs) in ftrace_regs_get_return_value() 193 static __always_inline unsigned long ftrace_regs_get_return_address(const struct ftrace_regs *fregs) in ftrace_regs_get_return_address() 198 static __always_inline void ftrace_regs_set_return_value(struct ftrace_regs *fregs, in ftrace_regs_set_return_value() 204 static __always_inline void ftrace_override_function_with_return(struct ftrace_regs *fregs) in ftrace_override_function_with_return() [all …]
|
| /linux/arch/powerpc/include/asm/ |
| H A D | ftrace.h | 40 static __always_inline struct pt_regs *arch_ftrace_get_regs(struct ftrace_regs *fregs) in arch_ftrace_get_regs() 55 ftrace_regs_get_return_value(const struct ftrace_regs *fregs) in ftrace_regs_get_return_value() 63 ftrace_regs_get_frame_pointer(const struct ftrace_regs *fregs) in ftrace_regs_get_frame_pointer() 69 ftrace_regs_set_instruction_pointer(struct ftrace_regs *fregs, in ftrace_regs_set_instruction_pointer() 76 ftrace_regs_get_return_address(struct ftrace_regs *fregs) in ftrace_regs_get_return_address() 85 struct ftrace_ops *op, struct ftrace_regs *fregs); 167 static inline void arch_ftrace_set_direct_caller(struct ftrace_regs *fregs, unsigned long addr) in arch_ftrace_set_direct_caller()
|
| /linux/arch/s390/include/asm/ |
| H A D | ftrace.h | 58 static __always_inline struct pt_regs *arch_ftrace_get_regs(struct ftrace_regs *fregs) in arch_ftrace_get_regs() 68 ftrace_regs_set_instruction_pointer(struct ftrace_regs *fregs, in ftrace_regs_set_instruction_pointer() 76 ftrace_regs_get_frame_pointer(struct ftrace_regs *fregs) in ftrace_regs_get_frame_pointer() 82 ftrace_regs_get_return_address(const struct ftrace_regs *fregs) in ftrace_regs_get_return_address() 101 static inline void arch_ftrace_set_direct_caller(struct ftrace_regs *fregs, unsigned long addr) in arch_ftrace_set_direct_caller() 134 struct ftrace_ops *op, struct ftrace_regs *fregs);
|
| /linux/include/linux/ |
| H A D | ftrace.h | 41 struct ftrace_regs; 47 unsigned long ftrace_return_to_handler(struct ftrace_regs *fregs); 67 struct ftrace_ops *op, struct ftrace_regs *fregs); 154 struct ftrace_regs { struct 166 static inline struct pt_regs *arch_ftrace_get_regs(struct ftrace_regs *fregs) in arch_ftrace_get_regs() 185 static __always_inline struct pt_regs *ftrace_get_regs(struct ftrace_regs *fregs) in ftrace_get_regs() 197 ftrace_partial_regs(struct ftrace_regs *fregs, struct pt_regs *regs) in ftrace_partial_regs() 225 ftrace_fill_perf_regs(struct ftrace_regs *fregs, struct pt_regs *regs) in ftrace_fill_perf_regs() 234 ftrace_fill_perf_regs(struct ftrace_regs *fregs, struct pt_regs *regs) in ftrace_fill_perf_regs() 245 static __always_inline bool ftrace_regs_has_args(struct ftrace_regs *fregs) in ftrace_regs_has_args() [all …]
|
| H A D | fprobe.h | 14 unsigned long ret_ip, struct ftrace_regs *regs, 18 unsigned long ret_ip, struct ftrace_regs *regs,
|
| H A D | ftrace_regs.h | 17 struct ftrace_regs;
|
| /linux/arch/loongarch/include/asm/ |
| H A D | ftrace.h | 49 static __always_inline struct pt_regs *arch_ftrace_get_regs(struct ftrace_regs *fregs) in arch_ftrace_get_regs() 55 ftrace_regs_set_instruction_pointer(struct ftrace_regs *fregs, unsigned long ip) in ftrace_regs_set_instruction_pointer() 65 ftrace_regs_get_return_address(struct ftrace_regs *fregs) in ftrace_regs_get_return_address() 72 struct ftrace_ops *op, struct ftrace_regs *fregs);
|
| /linux/kernel/trace/ |
| H A 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); 35 struct ftrace_ops *op, struct ftrace_regs *fregs); 39 struct ftrace_regs *fregs); 188 function_get_true_parent_ip(unsigned long parent_ip, struct ftrace_regs *fregs) in function_get_true_parent_ip() 201 function_get_true_parent_ip(unsigned long parent_ip, struct ftrace_regs *fregs) in function_get_true_parent_ip() 209 struct ftrace_ops *op, struct ftrace_regs *fregs) in function_trace_call() 233 struct ftrace_ops *op, struct ftrace_regs *fregs) in function_args_trace_call() 273 struct ftrace_ops *op, struct ftrace_regs *fregs) in function_stack_trace_call() [all …]
|
| H A D | trace_selftest.c | 111 struct ftrace_regs *fregs) in trace_selftest_test_probe1_func() 120 struct ftrace_regs *fregs) in trace_selftest_test_probe2_func() 129 struct ftrace_regs *fregs) in trace_selftest_test_probe3_func() 138 struct ftrace_regs *fregs) in trace_selftest_test_global_func() 147 struct ftrace_regs *fregs) in trace_selftest_test_dyn_func() 452 struct ftrace_regs *fregs) in trace_selftest_test_recursion_func() 467 struct ftrace_regs *fregs) in trace_selftest_test_recursion_safe_func() 586 struct ftrace_regs *fregs) in trace_selftest_test_regs_func() 778 struct ftrace_regs *fregs) in store_entry() 812 struct ftrace_regs *fregs) in store_return() [all …]
|
| H A D | fgraph.c | 296 struct ftrace_regs *fregs) in entry_run() 303 struct ftrace_regs *fregs) in return_run() 526 struct ftrace_regs *fregs) in ftrace_graph_entry_stub() 533 struct ftrace_regs *fregs) in ftrace_graph_ret_stub() 653 struct ftrace_regs *fregs) in function_graph_enter_regs() 811 __ftrace_return_to_handler(struct ftrace_regs *fregs, unsigned long frame_pointer) in __ftrace_return_to_handler() 884 unsigned long ftrace_return_to_handler(struct ftrace_regs *fregs) in ftrace_return_to_handler() 1036 struct ftrace_regs *fregs); 1201 struct ftrace_regs *fregs) in fgraph_pid_func()
|
| H A D | trace_fprobe.c | 281 struct ftrace_regs *fregs = rec; in process_fetch_insn() 322 struct ftrace_regs *fregs, in NOKPROBE_SYMBOL() 353 struct ftrace_regs *fregs) in fentry_trace_func() 363 void store_fprobe_entry_data(void *edata, struct trace_probe *tp, struct ftrace_regs *fregs) in store_fprobe_entry_data() 394 unsigned long ret_ip, struct ftrace_regs *fregs, in trace_fprobe_entry_handler() 408 unsigned long ret_ip, struct ftrace_regs *fregs, in NOKPROBE_SYMBOL() 440 unsigned long ret_ip, struct ftrace_regs *fregs, void *entry_data) in fexit_trace_func() 452 struct ftrace_regs *fregs) in fentry_perf_func() 487 unsigned long ret_ip, struct ftrace_regs *fregs, in fexit_perf_func() 522 unsigned long ret_ip, struct ftrace_regs *fregs, in fentry_dispatcher() [all …]
|
| H A D | fprobe.c | 218 struct fprobe *fp, struct ftrace_regs *fregs, in __fprobe_handler() 228 struct fprobe *fp, struct ftrace_regs *fregs, in __fprobe_kprobe_handler() 250 struct ftrace_regs *fregs) in fprobe_entry() 341 struct ftrace_regs *fregs) in fprobe_return()
|
| H A D | trace_irqsoff.c | 141 struct ftrace_ops *op, struct ftrace_regs *fregs) in irqsoff_tracer_call() 180 struct ftrace_regs *fregs) in irqsoff_graph_entry() 217 struct ftrace_regs *fregs) in irqsoff_graph_return()
|
| /linux/arch/x86/include/asm/ |
| H A D | ftrace.h | 51 arch_ftrace_get_regs(struct ftrace_regs *fregs) in arch_ftrace_get_regs() 71 ftrace_regs_get_return_address(struct ftrace_regs *fregs) in ftrace_regs_get_return_address() 79 struct ftrace_ops *op, struct ftrace_regs *fregs);
|
| /linux/arch/parisc/include/asm/ |
| H A D | ftrace.h | 15 struct ftrace_regs; 18 struct ftrace_regs *fregs);
|
| /linux/samples/fprobe/ |
| H A D | fprobe_example.c | 53 struct ftrace_regs *fregs, void *data) in sample_entry_handler() 70 unsigned long ret_ip, struct ftrace_regs *regs, in sample_exit_handler()
|
| /linux/samples/ftrace/ |
| H A D | ftrace-ops.c | 102 struct ftrace_regs *fregs) in ops_func_nop() 109 struct ftrace_regs *fregs) in ops_func_count()
|
| /linux/arch/parisc/kernel/ |
| H A 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/lib/tests/ |
| H A D | test_fprobe.c | 36 struct ftrace_regs *fregs, void *data) in fp_entry_handler() 55 struct ftrace_regs *fregs, void *data) in fp_exit_handler()
|
| /linux/arch/loongarch/kernel/ |
| H A D | ftrace_dyn.c | 241 struct ftrace_ops *op, struct ftrace_regs *fregs) in ftrace_graph_func() 290 struct ftrace_ops *ops, struct ftrace_regs *fregs) in kprobe_ftrace_handler()
|
| /linux/arch/powerpc/kernel/ |
| H A D | kprobes-ftrace.c | 17 struct ftrace_ops *ops, struct ftrace_regs *fregs) in kprobe_ftrace_handler()
|
| /linux/arch/x86/kernel/kprobes/ |
| H A D | ftrace.c | 18 struct ftrace_ops *ops, struct ftrace_regs *fregs) in kprobe_ftrace_handler()
|
| /linux/arch/csky/kernel/probes/ |
| H A D | ftrace.c | 7 struct ftrace_ops *ops, struct ftrace_regs *fregs) in kprobe_ftrace_handler()
|
| /linux/arch/s390/kernel/ |
| H A D | ftrace.c | 267 struct ftrace_ops *op, struct ftrace_regs *fregs) in ftrace_graph_func() 284 struct ftrace_ops *ops, struct ftrace_regs *fregs) in kprobe_ftrace_handler()
|