Home
last modified time | relevance | path

Searched refs:ftrace_ops (Results 1 – 25 of 43) sorted by relevance

12

/linux-6.1.9/include/linux/
Dftrace.h41 struct ftrace_ops;
57 struct ftrace_ops *op, struct ftrace_regs *fregs);
130 struct ftrace_ops *op, struct ftrace_regs *fregs);
132 ftrace_func_t ftrace_ops_get_func(struct ftrace_ops *ops);
246 typedef int (*ftrace_ops_func_t)(struct ftrace_ops *op, enum ftrace_ops_cmd cmd);
277 struct ftrace_ops { struct
279 struct ftrace_ops __rcu *next; argument
294 extern struct ftrace_ops __rcu *ftrace_ops_list; argument
295 extern struct ftrace_ops ftrace_list_end;
335 int register_ftrace_function(struct ftrace_ops *ops);
[all …]
Dfprobe.h27 struct ftrace_ops ops;
/linux-6.1.9/kernel/trace/
Dftrace_internal.h8 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()
Dftrace.c83 struct ftrace_ops ftrace_list_end __read_mostly = {
94 struct ftrace_ops *function_trace_op __read_mostly = &ftrace_list_end;
96 static struct ftrace_ops *set_function_trace_op;
98 static bool ftrace_pids_enabled(struct ftrace_ops *ops) in ftrace_pids_enabled()
110 static void ftrace_update_trampoline(struct ftrace_ops *ops);
120 struct ftrace_ops __rcu *ftrace_ops_list __read_mostly = &ftrace_list_end;
122 struct ftrace_ops global_ops;
126 struct ftrace_ops *op, struct ftrace_regs *fregs);
128 static inline void ftrace_ops_init(struct ftrace_ops *ops) in ftrace_ops_init()
140 struct ftrace_ops *op, struct ftrace_regs *fregs) in ftrace_pid_func()
[all …]
Dtrace_selftest.c109 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 …]
Dtrace_event_perf.c434 struct ftrace_ops *ops, struct ftrace_regs *fregs) in perf_ftrace_function_call()
453 event = container_of(ops, struct perf_event, ftrace_ops); in perf_ftrace_function_call()
487 struct ftrace_ops *ops = &event->ftrace_ops; in perf_ftrace_function_register()
497 struct ftrace_ops *ops = &event->ftrace_ops; in perf_ftrace_function_unregister()
520 event->ftrace_ops.private = (void *)(unsigned long)smp_processor_id(); in perf_ftrace_event_register()
523 event->ftrace_ops.private = (void *)(unsigned long)nr_cpu_ids; in perf_ftrace_event_register()
Dtrace_functions.c26 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()
Dtrace_stack.c293 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()
Dfprobe.c23 struct ftrace_ops *ops, struct ftrace_regs *fregs) in fprobe_handler()
60 struct ftrace_ops *ops, struct ftrace_regs *fregs) in fprobe_kprobe_handler()
Dfgraph.c346 static struct ftrace_ops graph_ops = {
475 struct ftrace_ops *op; in update_function_graph_func()
/linux-6.1.9/arch/x86/kernel/
Dftrace.c310 create_trampoline(struct ftrace_ops *ops, unsigned int *tramp_size) in create_trampoline()
431 struct ftrace_ops *ops; in set_ftrace_ops_ro()
471 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()
/linux-6.1.9/Documentation/trace/
Dftrace-uses.rst37 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 …]
/linux-6.1.9/arch/arm64/include/asm/
Dftrace.h83 struct ftrace_ops;
90 struct ftrace_ops *op, struct ftrace_regs *fregs);
/linux-6.1.9/arch/x86/include/asm/
Dftrace.h67 struct ftrace_ops;
70 struct ftrace_ops *op, struct ftrace_regs *fregs);
/linux-6.1.9/arch/powerpc/include/asm/
Dftrace.h46 struct ftrace_ops;
50 struct ftrace_ops *op, struct ftrace_regs *fregs);
/linux-6.1.9/fs/pstore/
Dftrace.c28 struct ftrace_ops *op, in pstore_ftrace_call()
60 static struct ftrace_ops pstore_ftrace_ops __read_mostly = {
/linux-6.1.9/arch/parisc/kernel/
Dftrace.c61 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.1.9/kernel/livepatch/
Dpatch.h25 struct ftrace_ops fops;
/linux-6.1.9/samples/ftrace/
Dftrace-direct-multi.c67 static struct ftrace_ops direct;
Dftrace-direct-multi-modify.c109 static struct ftrace_ops direct;
/linux-6.1.9/arch/powerpc/kernel/
Dkprobes-ftrace.c17 struct ftrace_ops *ops, struct ftrace_regs *fregs) in kprobe_ftrace_handler()
/linux-6.1.9/arch/x86/kernel/kprobes/
Dftrace.c17 struct ftrace_ops *ops, struct ftrace_regs *fregs) in kprobe_ftrace_handler()
/linux-6.1.9/arch/riscv/kernel/probes/
Dftrace.c7 struct ftrace_ops *ops, struct ftrace_regs *fregs) in kprobe_ftrace_handler()
/linux-6.1.9/arch/csky/kernel/probes/
Dftrace.c7 struct ftrace_ops *ops, struct ftrace_regs *fregs) in kprobe_ftrace_handler()
/linux-6.1.9/arch/arm64/kernel/
Dftrace.c284 struct ftrace_ops *op, struct ftrace_regs *fregs) in ftrace_graph_func()

12