Home
last modified time | relevance | path

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

12

/linux/include/linux/
A Dftrace.h34 struct ftrace_ops;
50 struct ftrace_ops *op, struct ftrace_regs *fregs);
233 struct ftrace_ops { struct
235 struct ftrace_ops __rcu *next; argument
249 extern struct ftrace_ops __rcu *ftrace_ops_list; argument
250 extern struct ftrace_ops ftrace_list_end;
290 int register_ftrace_function(struct ftrace_ops *ops);
291 int unregister_ftrace_function(struct ftrace_ops *ops);
294 struct ftrace_ops *op, struct ftrace_regs *fregs);
332 struct ftrace_ops;
[all …]
A Dkprobes.h364 struct ftrace_ops *ops, struct ftrace_regs *fregs);
/linux/kernel/trace/
A 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()
A Dftrace.c270 struct ftrace_ops **p; in remove_ftrace_ops()
362 struct ftrace_ops *op; in ftrace_update_pid_func()
1015 struct ftrace_ops ops;
1607 struct ftrace_ops *ops; in test_rec_ops_needs_regs()
1816 struct ftrace_ops *op; in ftrace_hash_rec_update_modify()
2236 struct ftrace_ops *op; in ftrace_find_tramp_ops_any()
2254 struct ftrace_ops *op; in ftrace_find_tramp_ops_any_other()
2290 struct ftrace_ops *op; in ftrace_find_tramp_ops_curr()
2360 struct ftrace_ops *op; in ftrace_find_tramp_ops_new()
2467 struct ftrace_ops *ops; in ftrace_get_addr_new()
[all …]
A 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 = {
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 Dtrace_event_perf.c433 struct ftrace_ops *ops, struct ftrace_regs *fregs) in perf_ftrace_function_call()
452 event = container_of(ops, struct perf_event, ftrace_ops); in perf_ftrace_function_call()
486 struct ftrace_ops *ops = &event->ftrace_ops; in perf_ftrace_function_register()
496 struct ftrace_ops *ops = &event->ftrace_ops; in perf_ftrace_function_unregister()
519 event->ftrace_ops.private = (void *)(unsigned long)smp_processor_id(); in perf_ftrace_event_register()
522 event->ftrace_ops.private = (void *)(unsigned long)nr_cpu_ids; in perf_ftrace_event_register()
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; 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 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()
A Dfgraph.c337 static struct ftrace_ops graph_ops = {
464 struct ftrace_ops *op; in update_function_graph_func()
A Dtrace.h365 struct ftrace_ops *ops;
1078 void ftrace_create_filter_files(struct ftrace_ops *ops,
1080 void ftrace_destroy_filter_files(struct ftrace_ops *ops);
1082 extern int ftrace_set_filter(struct ftrace_ops *ops, unsigned char *buf,
1084 extern int ftrace_set_notrace(struct ftrace_ops *ops, unsigned char *buf,
/linux/arch/x86/kernel/
A Dftrace.c309 create_trampoline(struct ftrace_ops *ops, unsigned int *tramp_size) in create_trampoline()
432 struct ftrace_ops *ops; in set_ftrace_ops_ro()
472 void arch_ftrace_update_trampoline(struct ftrace_ops *ops) in arch_ftrace_update_trampoline()
532 static void *static_tramp_func(struct ftrace_ops *ops, struct dyn_ftrace *rec) in static_tramp_func()
561 void *arch_ftrace_trampoline_func(struct ftrace_ops *ops, struct dyn_ftrace *rec) in arch_ftrace_trampoline_func()
573 void arch_ftrace_trampoline_free(struct ftrace_ops *ops) in arch_ftrace_trampoline_free()
671 struct ftrace_ops *op, struct ftrace_regs *fregs) in ftrace_graph_func()
/linux/Documentation/trace/
A 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);
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/arch/nds32/kernel/
A Dftrace.c9 struct ftrace_ops*, struct ftrace_regs*);
13 struct ftrace_ops *op, struct ftrace_regs *fregs) in ftrace_stub()
41 struct ftrace_ops *op, struct ftrace_regs *fregs) in ftrace_stub()
/linux/arch/x86/include/asm/
A Dftrace.h61 struct ftrace_ops;
64 struct ftrace_ops *op, struct ftrace_regs *fregs);
/linux/fs/pstore/
A Dftrace.c28 struct ftrace_ops *op, in pstore_ftrace_call()
60 static struct ftrace_ops pstore_ftrace_ops __read_mostly = {
/linux/arch/parisc/kernel/
A 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/kernel/livepatch/
A Dpatch.h25 struct ftrace_ops fops;
A Dpatch.c42 struct ftrace_ops *fops, in klp_ftrace_handler()
/linux/samples/ftrace/
A Dftrace-direct-multi.c64 static struct ftrace_ops direct;
A Dftrace-direct-multi-modify.c105 static struct ftrace_ops direct;
/linux/arch/powerpc/kernel/
A Dkprobes-ftrace.c17 struct ftrace_ops *ops, struct ftrace_regs *fregs) in kprobe_ftrace_handler()
/linux/arch/x86/kernel/kprobes/
A Dftrace.c17 struct ftrace_ops *ops, struct ftrace_regs *fregs) in kprobe_ftrace_handler()
/linux/arch/riscv/kernel/probes/
A Dftrace.c7 struct ftrace_ops *ops, struct ftrace_regs *fregs) in kprobe_ftrace_handler()
/linux/arch/csky/kernel/probes/
A Dftrace.c7 struct ftrace_ops *ops, struct ftrace_regs *fregs) in kprobe_ftrace_handler()
/linux/arch/s390/kernel/
A Dftrace.c281 struct ftrace_ops *ops, struct ftrace_regs *fregs) in kprobe_ftrace_handler()

Completed in 58 milliseconds

12