| /Linux-v4.19/include/linux/ |
| D | ftrace.h | 87 struct ftrace_ops; 90 struct ftrace_ops *op, struct pt_regs *regs); 92 ftrace_func_t ftrace_ops_get_func(struct ftrace_ops *ops); 191 struct ftrace_ops { struct 193 struct ftrace_ops __rcu *next; argument 224 int register_ftrace_function(struct ftrace_ops *ops); 225 int unregister_ftrace_function(struct ftrace_ops *ops); 228 struct ftrace_ops *op, struct pt_regs *regs); 327 struct ftrace_ops *ftrace_ops_trampoline(unsigned long addr); 375 int ftrace_set_filter_ip(struct ftrace_ops *ops, unsigned long ip, [all …]
|
| D | kprobes.h | 333 struct ftrace_ops *ops, struct pt_regs *regs);
|
| D | perf_event.h | 689 struct ftrace_ops ftrace_ops; member
|
| /Linux-v4.19/kernel/trace/ |
| D | ftrace.c | 80 static struct ftrace_ops ftrace_list_end __read_mostly = { 91 struct ftrace_ops *function_trace_op __read_mostly = &ftrace_list_end; 93 static struct ftrace_ops *set_function_trace_op; 95 static bool ftrace_pids_enabled(struct ftrace_ops *ops) in ftrace_pids_enabled() 107 static void ftrace_update_trampoline(struct ftrace_ops *ops); 117 static struct ftrace_ops __rcu *ftrace_ops_list __read_mostly = &ftrace_list_end; 119 static struct ftrace_ops global_ops; 123 struct ftrace_ops *op, struct pt_regs *regs); 150 static inline void ftrace_ops_init(struct ftrace_ops *ops) in ftrace_ops_init() 162 struct ftrace_ops *op, struct pt_regs *regs) in ftrace_pid_func() [all …]
|
| 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 = { 156 static struct ftrace_ops test_probe2 = { 161 static struct ftrace_ops test_probe3 = { 188 struct ftrace_ops *dyn_ops; in trace_selftest_ops() 419 struct ftrace_ops *op, in trace_selftest_test_recursion_func() [all …]
|
| D | trace_event_perf.c | 428 struct ftrace_ops *ops, struct pt_regs *pt_regs) in perf_ftrace_function_call() 439 event = container_of(ops, struct perf_event, ftrace_ops); in perf_ftrace_function_call() 471 struct ftrace_ops *ops = &event->ftrace_ops; in perf_ftrace_function_register() 482 struct ftrace_ops *ops = &event->ftrace_ops; in perf_ftrace_function_unregister() 505 event->ftrace_ops.private = (void *)(unsigned long)smp_processor_id(); in perf_ftrace_event_register() 508 event->ftrace_ops.private = (void *)(unsigned long)nr_cpu_ids; in perf_ftrace_event_register()
|
| D | trace_functions.c | 26 struct ftrace_ops *op, struct pt_regs *pt_regs); 29 struct ftrace_ops *op, struct pt_regs *pt_regs); 39 struct ftrace_ops *ops; in allocate_ftrace_ops() 126 struct ftrace_ops *op, struct pt_regs *pt_regs) in function_trace_call() 177 struct ftrace_ops *op, struct pt_regs *pt_regs) in function_stack_trace_call()
|
| D | trace_stack.c | 201 struct ftrace_ops *op, struct pt_regs *pt_regs) in stack_trace_call() 226 static struct ftrace_ops trace_ops __read_mostly = 404 struct ftrace_ops *ops = inode->i_private; in stack_trace_filter_open()
|
| D | trace.h | 266 struct ftrace_ops *ops; 1016 void ftrace_create_filter_files(struct ftrace_ops *ops, 1018 void ftrace_destroy_filter_files(struct ftrace_ops *ops);
|
| D | trace_events_filter.c | 1870 struct ftrace_ops *ops; 1896 static int ftrace_function_set_regexp(struct ftrace_ops *ops, int filter, in ftrace_function_set_regexp() 2001 .ops = &event->ftrace_ops, in ftrace_function_set_filter()
|
| D | trace_irqsoff.c | 140 struct ftrace_ops *op, struct pt_regs *pt_regs) in irqsoff_tracer_call()
|
| D | trace_sched_wakeup.c | 112 struct ftrace_ops *op, struct pt_regs *pt_regs) in wakeup_tracer_call()
|
| D | trace_events.c | 3370 struct ftrace_ops *op, struct pt_regs *pt_regs) in function_test_events_call() 3406 static struct ftrace_ops trace_ops __initdata =
|
| /Linux-v4.19/Documentation/trace/ |
| 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 115 The ftrace_ops flags are all defined and documented in include/linux/ftrace.h. 122 a ftrace_ops with this flag set on an architecture that does not 127 ftrace_ops on an architecture that does not support passing of regs [all …]
|
| /Linux-v4.19/arch/nds32/kernel/ |
| D | ftrace.c | 9 struct ftrace_ops*, struct pt_regs*); 14 struct ftrace_ops *op, struct pt_regs *regs) in ftrace_stub() 42 struct ftrace_ops *op, struct pt_regs *regs) in ftrace_stub()
|
| /Linux-v4.19/fs/pstore/ |
| D | ftrace.c | 35 struct ftrace_ops *op, in pstore_ftrace_call() 61 static struct ftrace_ops pstore_ftrace_ops __read_mostly = {
|
| /Linux-v4.19/kernel/livepatch/ |
| D | patch.h | 25 struct ftrace_ops fops;
|
| D | patch.c | 54 struct ftrace_ops *fops, in klp_ftrace_handler()
|
| /Linux-v4.19/arch/x86/kernel/ |
| D | ftrace.c | 737 create_trampoline(struct ftrace_ops *ops, unsigned int *tramp_size) in create_trampoline() 840 void arch_ftrace_update_trampoline(struct ftrace_ops *ops) in arch_ftrace_update_trampoline() 906 static void *static_tramp_func(struct ftrace_ops *ops, struct dyn_ftrace *rec) in static_tramp_func() 934 void *arch_ftrace_trampoline_func(struct ftrace_ops *ops, struct dyn_ftrace *rec) in arch_ftrace_trampoline_func() 946 void arch_ftrace_trampoline_free(struct ftrace_ops *ops) in arch_ftrace_trampoline_free()
|
| D | unwind_orc.c | 91 struct ftrace_ops *ops; in orc_ftrace_find()
|
| /Linux-v4.19/arch/powerpc/kernel/ |
| D | kprobes-ftrace.c | 30 struct ftrace_ops *ops, struct pt_regs *regs) in kprobe_ftrace_handler()
|
| /Linux-v4.19/arch/x86/kernel/kprobes/ |
| D | ftrace.c | 30 struct ftrace_ops *ops, struct pt_regs *regs) in kprobe_ftrace_handler()
|
| /Linux-v4.19/kernel/ |
| D | kprobes.c | 963 static struct ftrace_ops kprobe_ftrace_ops __read_mostly = {
|