/openbmc/linux/include/linux/ |
H A D | ftrace.h | 40 struct ftrace_ops; 68 struct ftrace_ops *op, struct ftrace_regs *fregs); 70 extern const struct ftrace_ops ftrace_nop_ops; 71 extern const struct ftrace_ops ftrace_list_ops; 72 struct ftrace_ops *ftrace_find_unique_ops(struct dyn_ftrace *rec); 172 struct ftrace_ops *op, struct ftrace_regs *fregs); 174 ftrace_func_t ftrace_ops_get_func(struct ftrace_ops *ops); 294 typedef int (*ftrace_ops_func_t)(struct ftrace_ops *op, enum ftrace_ops_cmd cmd); 325 struct ftrace_ops { struct 327 struct ftrace_ops __rcu *next; argument [all …]
|
/openbmc/linux/kernel/trace/ |
H A D | ftrace_internal.h | 5 int __register_ftrace_function(struct ftrace_ops *ops); 6 int __unregister_ftrace_function(struct ftrace_ops *ops); 11 extern struct ftrace_ops global_ops; 15 int ftrace_startup(struct ftrace_ops *ops, int command); 16 int ftrace_shutdown(struct ftrace_ops *ops, int command); 17 int ftrace_ops_test(struct ftrace_ops *ops, unsigned long ip, void *regs); 37 ftrace_ops_test(struct ftrace_ops *ops, unsigned long ip, void *regs) in ftrace_ops_test()
|
H A D | ftrace.c | 87 struct ftrace_ops ftrace_list_end __read_mostly = { 98 struct ftrace_ops *function_trace_op __read_mostly = &ftrace_list_end; 100 static struct ftrace_ops *set_function_trace_op; 102 static bool ftrace_pids_enabled(struct ftrace_ops *ops) in ftrace_pids_enabled() 114 static void ftrace_update_trampoline(struct ftrace_ops *ops); 124 struct ftrace_ops __rcu *ftrace_ops_list __read_mostly = &ftrace_list_end; 126 struct ftrace_ops global_ops; 130 struct ftrace_ops *op, struct ftrace_regs *fregs); 136 const struct ftrace_ops ftrace_list_ops = { 142 struct ftrace_ops *op, in ftrace_ops_nop_func() [all …]
|
H A D | trace_selftest.c | 109 struct ftrace_ops *op, in trace_selftest_test_probe1_func() 118 struct ftrace_ops *op, in trace_selftest_test_probe2_func() 127 struct ftrace_ops *op, in trace_selftest_test_probe3_func() 136 struct ftrace_ops *op, in trace_selftest_test_global_func() 145 struct ftrace_ops *op, in trace_selftest_test_dyn_func() 151 static struct ftrace_ops test_probe1 = { 155 static struct ftrace_ops test_probe2 = { 159 static struct ftrace_ops test_probe3 = { 185 struct ftrace_ops *dyn_ops; in trace_selftest_ops() 450 struct ftrace_ops *op, in trace_selftest_test_recursion_func() [all …]
|
H A D | trace_event_perf.c | 436 struct ftrace_ops *ops, struct ftrace_regs *fregs) in perf_ftrace_function_call() 455 event = container_of(ops, struct perf_event, ftrace_ops); in perf_ftrace_function_call() 489 struct ftrace_ops *ops = &event->ftrace_ops; in perf_ftrace_function_register() 499 struct ftrace_ops *ops = &event->ftrace_ops; in perf_ftrace_function_unregister() 522 event->ftrace_ops.private = (void *)(unsigned long)smp_processor_id(); in perf_ftrace_event_register() 525 event->ftrace_ops.private = (void *)(unsigned long)nr_cpu_ids; in perf_ftrace_event_register()
|
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, 54 struct ftrace_ops *ops; in ftrace_allocate_ftrace_ops() 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() 281 struct ftrace_ops *op, in function_no_repeats_trace_call() 325 struct ftrace_ops *op, in function_stack_no_repeats_trace_call()
|
H A 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()
|
H A D | trace_stack.c | 293 struct ftrace_ops *op, struct ftrace_regs *fregs) in stack_trace_call() 318 static struct ftrace_ops trace_ops __read_mostly = 499 struct ftrace_ops *ops = inode->i_private; in stack_trace_filter_open()
|
/openbmc/linux/arch/x86/kernel/ |
H A D | ftrace.c | 313 create_trampoline(struct ftrace_ops *ops, unsigned int *tramp_size) in create_trampoline() 434 struct ftrace_ops *ops; in set_ftrace_ops_ro() 474 void arch_ftrace_update_trampoline(struct ftrace_ops *ops) in arch_ftrace_update_trampoline() 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() 572 void arch_ftrace_trampoline_free(struct ftrace_ops *ops) in arch_ftrace_trampoline_free() 657 struct ftrace_ops *op, struct ftrace_regs *fregs) in ftrace_graph_func()
|
/openbmc/linux/Documentation/trace/ |
H A D | ftrace-uses.rst | 37 The ftrace_ops structure 40 To register a function callback, a ftrace_ops is required. This structure 46 an ftrace_ops with ftrace: 50 struct ftrace_ops ops = { 90 struct ftrace_ops *op, struct pt_regs *regs); 101 This is a pointer to ftrace_ops that was used to register the callback. 106 flags are set in the ftrace_ops structure, then this will be pointing 141 Alternatively, if the FTRACE_OPS_FL_RECURSION flag is set on the ftrace_ops 157 Alternatively, if the FTRACE_OPS_FL_RCU flag is set on the ftrace_ops 167 The ftrace_ops flags are all defined and documented in include/linux/ftrace.h. [all …]
|
/openbmc/linux/samples/ftrace/ |
H A D | ftrace-ops.c | 96 struct ftrace_ops ops; 101 struct ftrace_ops *op, in ops_func_nop() 108 struct ftrace_ops *op, in ops_func_count()
|
H A D | ftrace-direct-multi.c | 119 static struct ftrace_ops direct;
|
H A D | ftrace-direct.c | 113 static struct ftrace_ops direct;
|
H A D | ftrace-direct-too.c | 128 static struct ftrace_ops direct;
|
/openbmc/linux/arch/arm64/kernel/ |
H A D | ftrace.c | 284 static const struct ftrace_ops *arm64_rec_get_ops(struct dyn_ftrace *rec) in arm64_rec_get_ops() 286 const struct ftrace_ops *ops = NULL; in arm64_rec_get_ops() 300 const struct ftrace_ops *ops) in ftrace_rec_set_ops() 482 struct ftrace_ops *op, struct ftrace_regs *fregs) in ftrace_graph_func()
|
/openbmc/linux/arch/loongarch/include/asm/ |
H A D | ftrace.h | 46 struct ftrace_ops; 84 struct ftrace_ops *op, struct ftrace_regs *fregs);
|
/openbmc/linux/arch/arm64/include/asm/ |
H A D | ftrace.h | 69 struct ftrace_ops; 146 struct ftrace_ops *op, struct ftrace_regs *fregs);
|
/openbmc/linux/arch/x86/include/asm/ |
H A D | ftrace.h | 70 struct ftrace_ops; 73 struct ftrace_ops *op, struct ftrace_regs *fregs);
|
/openbmc/linux/arch/powerpc/include/asm/ |
H A D | ftrace.h | 73 struct ftrace_ops; 77 struct ftrace_ops *op, struct ftrace_regs *fregs);
|
/openbmc/linux/arch/parisc/kernel/ |
H A D | ftrace.c | 61 extern struct ftrace_ops *function_trace_op; in ftrace_function_trampoline() 202 struct ftrace_ops *ops, struct ftrace_regs *fregs) in kprobe_ftrace_handler()
|
/openbmc/linux/fs/pstore/ |
H A D | ftrace.c | 28 struct ftrace_ops *op, in pstore_ftrace_call() 60 static struct ftrace_ops pstore_ftrace_ops __read_mostly = {
|
/openbmc/linux/kernel/livepatch/ |
H A D | patch.h | 25 struct ftrace_ops fops;
|
/openbmc/linux/arch/loongarch/kernel/ |
H A 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()
|
/openbmc/linux/arch/powerpc/kernel/ |
H A D | kprobes-ftrace.c | 17 struct ftrace_ops *ops, struct ftrace_regs *fregs) in kprobe_ftrace_handler()
|
/openbmc/linux/arch/x86/kernel/kprobes/ |
H A D | ftrace.c | 17 struct ftrace_ops *ops, struct ftrace_regs *fregs) in kprobe_ftrace_handler()
|