/linux-6.3-rc2/include/linux/ |
A D | ftrace.h | 40 struct ftrace_ops; 61 extern const struct ftrace_ops ftrace_nop_ops; 62 extern const struct ftrace_ops ftrace_list_ops; 310 struct ftrace_ops { struct 312 struct ftrace_ops __rcu *next; argument 327 extern struct ftrace_ops __rcu *ftrace_ops_list; argument 328 extern struct ftrace_ops ftrace_list_end; 368 int register_ftrace_function(struct ftrace_ops *ops); 372 struct ftrace_ops *op, struct ftrace_regs *fregs); 415 struct ftrace_ops; [all …]
|
A D | fprobe.h | 27 struct ftrace_ops ops;
|
/linux-6.3-rc2/kernel/trace/ |
A D | ftrace_internal.h | 8 extern struct ftrace_ops global_ops; 12 int ftrace_startup(struct ftrace_ops *ops, int command); 13 int ftrace_shutdown(struct ftrace_ops *ops, int command); 14 int ftrace_ops_test(struct ftrace_ops *ops, unsigned long ip, void *regs); 18 int __register_ftrace_function(struct ftrace_ops *ops); 19 int __unregister_ftrace_function(struct ftrace_ops *ops); 36 ftrace_ops_test(struct ftrace_ops *ops, unsigned long ip, void *regs) in ftrace_ops_test()
|
A D | ftrace.c | 138 struct ftrace_ops *op, in ftrace_ops_nop_func() 299 struct ftrace_ops **p; in remove_ftrace_ops() 391 struct ftrace_ops *op; in ftrace_update_pid_func() 1041 struct ftrace_ops ops; 1656 struct ftrace_ops *ops; in test_rec_ops_needs_regs() 1889 struct ftrace_ops *op; in ftrace_hash_rec_update_modify() 2373 struct ftrace_ops *op; in ftrace_find_tramp_ops_any() 2391 struct ftrace_ops *op; in ftrace_find_tramp_ops_any_other() 2427 struct ftrace_ops *op; in ftrace_find_tramp_ops_curr() 2497 struct ftrace_ops *op; in ftrace_find_tramp_ops_new() [all …]
|
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 = { 185 struct ftrace_ops *dyn_ops; in trace_selftest_ops() 450 struct ftrace_ops *op, in trace_selftest_test_recursion_func() 465 struct ftrace_ops *op, in trace_selftest_test_recursion_safe_func() [all …]
|
A D | trace_event_perf.c | 430 struct ftrace_ops *ops, struct ftrace_regs *fregs) in perf_ftrace_function_call() 449 event = container_of(ops, struct perf_event, ftrace_ops); in perf_ftrace_function_call() 483 struct ftrace_ops *ops = &event->ftrace_ops; in perf_ftrace_function_register() 493 struct ftrace_ops *ops = &event->ftrace_ops; in perf_ftrace_function_unregister() 516 event->ftrace_ops.private = (void *)(unsigned long)smp_processor_id(); in perf_ftrace_event_register() 519 event->ftrace_ops.private = (void *)(unsigned long)nr_cpu_ids; in perf_ftrace_event_register()
|
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() 327 struct ftrace_ops *op, in function_stack_no_repeats_trace_call()
|
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()
|
A D | fprobe.c | 23 struct ftrace_ops *ops, struct ftrace_regs *fregs) in fprobe_handler() 60 struct ftrace_ops *ops, struct ftrace_regs *fregs) in fprobe_kprobe_handler()
|
/linux-6.3-rc2/arch/x86/kernel/ |
A D | ftrace.c | 314 create_trampoline(struct ftrace_ops *ops, unsigned int *tramp_size) in create_trampoline() 435 struct ftrace_ops *ops; in set_ftrace_ops_ro() 475 void arch_ftrace_update_trampoline(struct ftrace_ops *ops) in arch_ftrace_update_trampoline() 535 static void *static_tramp_func(struct ftrace_ops *ops, struct dyn_ftrace *rec) in static_tramp_func() 564 void *arch_ftrace_trampoline_func(struct ftrace_ops *ops, struct dyn_ftrace *rec) in arch_ftrace_trampoline_func() 576 void arch_ftrace_trampoline_free(struct ftrace_ops *ops) in arch_ftrace_trampoline_free() 661 struct ftrace_ops *op, struct ftrace_regs *fregs) in ftrace_graph_func()
|
/linux-6.3-rc2/Documentation/trace/ |
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); 106 flags are set in the ftrace_ops structure, then this will be pointing 157 Alternatively, if the FTRACE_OPS_FL_RCU flag is set on the ftrace_ops 174 a ftrace_ops with this flag set on an architecture that does not 179 ftrace_ops on an architecture that does not support passing of regs 205 Note, only one ftrace_ops with FTRACE_OPS_FL_IPMODIFY set may be [all …]
|
/linux-6.3-rc2/arch/loongarch/include/asm/ |
A D | ftrace.h | 46 struct ftrace_ops; 59 struct ftrace_ops *op, struct ftrace_regs *fregs);
|
/linux-6.3-rc2/arch/arm64/kernel/ |
A D | ftrace.c | 270 static const struct ftrace_ops *arm64_rec_get_ops(struct dyn_ftrace *rec) in arm64_rec_get_ops() 272 const struct ftrace_ops *ops = NULL; in arm64_rec_get_ops() 286 const struct ftrace_ops *ops) in ftrace_rec_set_ops() 458 struct ftrace_ops *op, struct ftrace_regs *fregs) in ftrace_graph_func()
|
/linux-6.3-rc2/samples/ftrace/ |
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()
|
A D | ftrace-direct-multi.c | 69 static struct ftrace_ops direct;
|
/linux-6.3-rc2/arch/arm64/include/asm/ |
A D | ftrace.h | 69 struct ftrace_ops; 137 struct ftrace_ops *op, struct ftrace_regs *fregs);
|
/linux-6.3-rc2/arch/x86/include/asm/ |
A D | ftrace.h | 70 struct ftrace_ops; 73 struct ftrace_ops *op, struct ftrace_regs *fregs);
|
/linux-6.3-rc2/arch/powerpc/include/asm/ |
A D | ftrace.h | 73 struct ftrace_ops; 77 struct ftrace_ops *op, struct ftrace_regs *fregs);
|
/linux-6.3-rc2/fs/pstore/ |
A D | ftrace.c | 28 struct ftrace_ops *op, in pstore_ftrace_call() 60 static struct ftrace_ops pstore_ftrace_ops __read_mostly = {
|
/linux-6.3-rc2/arch/parisc/kernel/ |
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()
|
/linux-6.3-rc2/kernel/livepatch/ |
A D | patch.h | 25 struct ftrace_ops fops;
|
/linux-6.3-rc2/arch/powerpc/kernel/ |
A D | kprobes-ftrace.c | 17 struct ftrace_ops *ops, struct ftrace_regs *fregs) in kprobe_ftrace_handler()
|
/linux-6.3-rc2/arch/x86/kernel/kprobes/ |
A D | ftrace.c | 17 struct ftrace_ops *ops, struct ftrace_regs *fregs) in kprobe_ftrace_handler()
|
/linux-6.3-rc2/arch/riscv/kernel/probes/ |
A D | ftrace.c | 7 struct ftrace_ops *ops, struct ftrace_regs *fregs) in kprobe_ftrace_handler()
|
/linux-6.3-rc2/arch/loongarch/kernel/ |
A D | ftrace_dyn.c | 238 struct ftrace_ops *op, struct ftrace_regs *fregs) in ftrace_graph_func() 279 struct ftrace_ops *ops, struct ftrace_regs *fregs) in kprobe_ftrace_handler()
|