| /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/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); 157 struct ftrace_regs { struct 169 static inline struct pt_regs *arch_ftrace_get_regs(struct ftrace_regs *fregs) in arch_ftrace_get_regs() 188 static __always_inline struct pt_regs *ftrace_get_regs(struct ftrace_regs *fregs) in ftrace_get_regs() 204 ftrace_partial_regs(struct ftrace_regs *fregs, struct pt_regs *regs) in ftrace_partial_regs() 236 ftrace_fill_perf_regs(struct ftrace_regs *fregs, struct pt_regs *regs) in ftrace_fill_perf_regs() 245 ftrace_fill_perf_regs(struct ftrace_regs *fregs, struct pt_regs *regs) in ftrace_fill_perf_regs() 256 static __always_inline bool ftrace_regs_has_args(struct ftrace_regs *fregs) in ftrace_regs_has_args() [all …]
|
| H A D | fprobe.h | 15 unsigned long ret_ip, struct ftrace_regs *regs, 19 unsigned long ret_ip, struct ftrace_regs *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() 523 struct ftrace_regs *fregs) in ftrace_graph_entry_stub() 530 struct ftrace_regs *fregs) in ftrace_graph_ret_stub() 654 struct ftrace_regs *fregs) in function_graph_enter_regs() 812 __ftrace_return_to_handler(struct ftrace_regs *fregs, unsigned long frame_pointer) in __ftrace_return_to_handler() 885 unsigned long ftrace_return_to_handler(struct ftrace_regs *fregs) in ftrace_return_to_handler() 1033 struct ftrace_regs *fregs); 1198 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 | 227 struct fprobe *fp, struct ftrace_regs *fregs, in __fprobe_handler() 237 struct fprobe *fp, struct ftrace_regs *fregs, in __fprobe_kprobe_handler() 261 struct ftrace_ops *ops, struct ftrace_regs *fregs) in fprobe_ftrace_entry() 374 struct ftrace_regs *fregs) in fprobe_fgraph_entry() 463 struct ftrace_regs *fregs) in fprobe_return()
|
| H A D | trace_functions_graph.c | 128 unsigned int trace_ctx, struct ftrace_regs *fregs) in __graph_entry() 169 struct ftrace_regs *fregs) in __trace_graph_retaddr_entry() 203 struct ftrace_regs *fregs) in __trace_graph_retaddr_entry() 227 struct ftrace_regs *fregs) in graph_entry() 296 struct ftrace_regs *fregs) in trace_graph_entry() 303 struct ftrace_regs *fregs) in trace_graph_entry_args() 369 struct fgraph_ops *gops, struct ftrace_regs *fregs) in trace_graph_return() 401 struct ftrace_regs *fregs) in trace_graph_thresh_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()
|
| H A D | trace_sched_wakeup.c | 117 struct ftrace_regs *fregs) in wakeup_graph_entry() 153 struct ftrace_regs *fregs) in wakeup_graph_return() 228 struct ftrace_ops *op, struct ftrace_regs *fregs) in wakeup_tracer_call()
|
| H A D | trace.h | 749 struct ftrace_regs *regs); 759 struct ftrace_regs *fregs); 761 struct ftrace_regs *fregs); 992 struct ftrace_regs *fregs);
|
| H A D | trace_stack.c | 293 struct ftrace_ops *op, struct ftrace_regs *fregs) in stack_trace_call()
|
| /linux/arch/parisc/include/asm/ |
| H A D | ftrace.h | 15 struct ftrace_regs; 18 struct ftrace_regs *fregs);
|
| /linux/lib/tests/ |
| H A D | test_fprobe.c | 37 struct ftrace_regs *fregs, void *data) in fp_entry_handler() 56 struct ftrace_regs *fregs, void *data) in fp_exit_handler() 197 struct ftrace_regs *fregs, void *data) in entry_only_handler() 210 struct ftrace_regs *fregs, in fprobe_entry_multi_handler() 224 struct ftrace_regs *fregs, in fprobe_exit_multi_handler()
|
| /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/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()
|
| /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/csky/kernel/probes/ |
| H A D | ftrace.c | 7 struct ftrace_ops *ops, struct ftrace_regs *fregs) in kprobe_ftrace_handler()
|
| /linux/fs/pstore/ |
| H A D | ftrace.c | 53 struct ftrace_regs *fregs) in pstore_ftrace_call()
|
| /linux/arch/riscv/kernel/ |
| H A D | ftrace.c | 251 struct ftrace_ops *op, struct ftrace_regs *fregs) in ftrace_graph_func()
|
| /linux/kernel/livepatch/ |
| H A D | patch.c | 43 struct ftrace_regs *fregs) in klp_ftrace_handler()
|