Searched refs:ftrace_ops (Results 1 - 25 of 49) sorted by relevance

12

/linux-master/kernel/trace/
H A Dftrace_internal.h5 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)
H A Dftrace.c87 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)
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 *o
[all...]
H A Dtrace_selftest.c109 struct ftrace_ops *op,
118 struct ftrace_ops *op,
127 struct ftrace_ops *op,
136 struct ftrace_ops *op,
145 struct ftrace_ops *op,
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;
450 struct ftrace_ops *o
[all...]
H A Dtrace_event_perf.c430 struct ftrace_ops *ops, struct ftrace_regs *fregs)
449 event = container_of(ops, struct perf_event, ftrace_ops);
483 struct ftrace_ops *ops = &event->ftrace_ops;
493 struct ftrace_ops *ops = &event->ftrace_ops;
516 event->ftrace_ops.private = (void *)(unsigned long)smp_processor_id();
519 event->ftrace_ops.private = (void *)(unsigned long)nr_cpu_ids;
H A 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;
173 struct ftrace_ops *op, struct ftrace_regs *fregs)
218 struct ftrace_ops *op, struct ftrace_regs *fregs)
281 struct ftrace_ops *op,
327 struct ftrace_ops *op,
/linux-master/include/linux/
H A Dftrace.h40 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);
177 * FTRACE_OPS_FL_* bits denote the state of ftrace_ops struct and are
181 * registering the ftrace_ops, and can not be modified while registered.
182 * Changing those attribute flags after registering ftrace_ops wil
325 struct ftrace_ops { struct
[all...]
H A Dfprobe.h12 * @ops: The ftrace_ops.
27 * defined here, but remove ftrace_ops data structure.
29 struct ftrace_ops ops;
/linux-master/kernel/livepatch/
H A Dpatch.h12 * A single ftrace_ops is shared between all enabled replacement functions
25 struct ftrace_ops fops;
/linux-master/arch/arm64/include/asm/
H A Dftrace.h69 struct ftrace_ops;
146 struct ftrace_ops *op, struct ftrace_regs *fregs);
/linux-master/arch/loongarch/include/asm/
H A Dftrace.h46 struct ftrace_ops;
84 struct ftrace_ops *op, struct ftrace_regs *fregs);
/linux-master/arch/riscv/include/asm/
H A Dftrace.h128 struct ftrace_ops;
131 struct ftrace_ops *op, struct ftrace_regs *fregs);
/linux-master/samples/ftrace/
H A Dftrace-ops.c26 MODULE_PARM_DESC(nr_ops_relevant, "How many ftrace_ops to associate with the relevant tracee");
35 MODULE_PARM_DESC(nr_ops_irrelevant, "How many ftrace_ops to associate with the irrelevant tracee");
96 struct ftrace_ops ops;
101 struct ftrace_ops *op,
108 struct ftrace_ops *op,
251 MODULE_DESCRIPTION("Example of using custom ftrace_ops");
H A Dftrace-direct-too.c156 static struct ftrace_ops direct;
H A Dftrace-direct.c137 static struct ftrace_ops direct;
H A Dftrace-direct-multi.c144 static struct ftrace_ops direct;
/linux-master/arch/x86/include/asm/
H A Dftrace.h70 struct ftrace_ops;
73 struct ftrace_ops *op, struct ftrace_regs *fregs);
/linux-master/arch/powerpc/include/asm/
H A Dftrace.h73 struct ftrace_ops;
77 struct ftrace_ops *op, struct ftrace_regs *fregs);
/linux-master/arch/riscv/kernel/probes/
H A Dftrace.c7 struct ftrace_ops *ops, struct ftrace_regs *fregs)
/linux-master/arch/csky/kernel/probes/
H A Dftrace.c7 struct ftrace_ops *ops, struct ftrace_regs *fregs)
/linux-master/arch/powerpc/kernel/
H A Dkprobes-ftrace.c17 struct ftrace_ops *ops, struct ftrace_regs *fregs)
/linux-master/arch/x86/kernel/kprobes/
H A Dftrace.c17 struct ftrace_ops *ops, struct ftrace_regs *fregs)
/linux-master/arch/arm64/kernel/
H A Dftrace.c284 static const struct ftrace_ops *arm64_rec_get_ops(struct dyn_ftrace *rec)
286 const struct ftrace_ops *ops = NULL;
300 const struct ftrace_ops *ops)
482 struct ftrace_ops *op, struct ftrace_regs *fregs)
/linux-master/arch/x86/kernel/
H A Dftrace.c295 * The ftrace_ops is passed to the function callback. Since the
296 * trampoline only services a single ftrace_ops, we can pass in
300 * ftrace_ops that will be passed to the callback function.
314 create_trampoline(struct ftrace_ops *ops, unsigned int *tramp_size)
351 * the iret , as well as the address of the ftrace_ops this
384 * The address of the ftrace_ops that is used for this trampoline
407 /* put in the new offset to the ftrace_ops */
435 struct ftrace_ops *ops;
475 void arch_ftrace_update_trampoline(struct ftrace_ops *ops)
492 * The ftrace_ops calle
[all...]
/linux-master/fs/pstore/
H A Dftrace.c28 struct ftrace_ops *op,
60 static struct ftrace_ops pstore_ftrace_ops __read_mostly = {
/linux-master/arch/parisc/kernel/
H A Dftrace.c61 extern struct ftrace_ops *function_trace_op;
202 struct ftrace_ops *ops, struct ftrace_regs *fregs)

Completed in 341 milliseconds

12