| /linux/kernel/trace/ |
| H A D | ftrace_internal.h | 5 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); 18 int ftrace_startup_subops(struct ftrace_ops *ops, struct ftrace_ops *subops, int command); 19 int ftrace_shutdown_subops(struct ftrace_ops *ops, struct ftrace_ops *subops, int command); 39 ftrace_ops_test(struct ftrace_ops *ops, unsigned long ip, void *regs) in ftrace_ops_test() 43 static inline int ftrace_startup_subops(struct ftrace_ops *ops, struct ftrace_ops *subops, int comm… in ftrace_startup_subops() [all …]
|
| H A D | ftrace.c | 78 /* Used only to synchronize the initialization of ftrace_ops */ 89 struct ftrace_ops ftrace_list_end __read_mostly = { 100 struct ftrace_ops *function_trace_op __read_mostly = &ftrace_list_end; 102 static struct ftrace_ops *set_function_trace_op; 104 bool ftrace_pids_enabled(struct ftrace_ops *ops) in ftrace_pids_enabled() 116 static void ftrace_update_trampoline(struct ftrace_ops *ops); 126 struct ftrace_ops __rcu *ftrace_ops_list __read_mostly = (struct ftrace_ops __rcu *)&ftrace_list_end; 128 struct ftrace_ops global_ops; 132 struct ftrace_ops *o [all...] |
| H A D | trace_selftest.c | 110 struct ftrace_ops *op, in trace_selftest_test_probe1_func() 119 struct ftrace_ops *op, in trace_selftest_test_probe2_func() 128 struct ftrace_ops *op, in trace_selftest_test_probe3_func() 137 struct ftrace_ops *op, in trace_selftest_test_global_func() 146 struct ftrace_ops *op, in trace_selftest_test_dyn_func() 152 static struct ftrace_ops test_probe1 = { 156 static struct ftrace_ops test_probe2 = { 160 static struct ftrace_ops test_probe3 = { 186 struct ftrace_ops *dyn_ops; in trace_selftest_ops() 451 struct ftrace_ops *op, in trace_selftest_test_recursion_func() [all …]
|
| H 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, struct ftrace_regs *fregs); 38 struct ftrace_ops *op, 58 struct ftrace_ops *ops; in ftrace_allocate_ftrace_ops() 209 struct ftrace_ops *op, struct ftrace_regs *fregs) in function_trace_call() 233 struct ftrace_ops *op, struct ftrace_regs *fregs) in function_args_trace_call() 273 struct ftrace_ops *op, struct ftrace_regs *fregs) in function_stack_trace_call() 342 struct ftrace_ops *op, in function_no_repeats_trace_call() [all …]
|
| H 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()
|
| H A D | trace.h | 435 struct ftrace_ops *ops; 1065 extern void init_array_fgraph_ops(struct trace_array *tr, struct ftrace_ops *ops); 1066 extern int allocate_fgraph_ops(struct trace_array *tr, struct ftrace_ops *ops); 1225 void fgraph_init_ops(struct ftrace_ops *dst_ops, 1226 struct ftrace_ops *src_ops); 1235 /* ftrace_ops may not be defined */ 1345 void ftrace_destroy_filter_files(struct ftrace_ops *ops); 1347 extern int ftrace_set_filter(struct ftrace_ops *ops, unsigned char *buf, 1349 extern int ftrace_set_notrace(struct ftrace_ops *ops, unsigned char *buf,
|
| H A D | fgraph.c | 399 * @gops: The ftrace_ops that owns the task specific variable 1000 static struct ftrace_ops graph_ops = { in ftrace_graph_ret_addr() 1009 void fgraph_init_ops(struct ftrace_ops *dst_ops, 1010 struct ftrace_ops *src_ops) 1215 struct ftrace_ops *op; in fgraph_update_pid_func()
|
| /linux/include/linux/ |
| H A D | ftrace.h | 40 struct ftrace_ops; 67 struct ftrace_ops *op, struct ftrace_regs *fregs); 69 extern const struct ftrace_ops ftrace_nop_ops; 70 extern const struct ftrace_ops ftrace_list_ops; 71 struct ftrace_ops *ftrace_find_unique_ops(struct dyn_ftrace *rec); 282 struct ftrace_ops *op, struct ftrace_regs *fregs); 284 ftrace_func_t ftrace_ops_get_func(struct ftrace_ops *ops); 408 typedef int (*ftrace_ops_func_t)(struct ftrace_ops *op, unsigned long ip, enum ftrace_ops_cmd cmd); 449 struct ftrace_ops { struct 451 struct ftrace_ops __rcu *next; argument [all …]
|
| /linux/arch/x86/kernel/ |
| H A D | ftrace.c | 309 create_trampoline(struct ftrace_ops *ops, unsigned int *tramp_size) in create_trampoline() 437 struct ftrace_ops *ops; in set_ftrace_ops_ro() 477 void arch_ftrace_update_trampoline(struct ftrace_ops *ops) in arch_ftrace_update_trampoline() 534 static void *static_tramp_func(struct ftrace_ops *ops, struct dyn_ftrace *rec) in static_tramp_func() 563 void *arch_ftrace_trampoline_func(struct ftrace_ops *ops, struct dyn_ftrace *rec) in arch_ftrace_trampoline_func() 575 void arch_ftrace_trampoline_free(struct ftrace_ops *ops) in arch_ftrace_trampoline_free() 660 struct ftrace_ops *op, struct ftrace_regs *fregs) in ftrace_graph_func()
|
| /linux/arch/powerpc/include/asm/ |
| H A D | ftrace.h | 81 struct ftrace_ops; 85 struct ftrace_ops *op, struct ftrace_regs *fregs); 147 struct ftrace_ops *ftrace_op;
|
| /linux/arch/loongarch/include/asm/ |
| H A D | ftrace.h | 45 struct ftrace_ops; 72 struct ftrace_ops *op, struct ftrace_regs *fregs);
|
| /linux/samples/ftrace/ |
| H 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()
|
| H A D | ftrace-direct.c | 204 static struct ftrace_ops direct;
|
| H A D | ftrace-direct-multi.c | 221 static struct ftrace_ops direct;
|
| H A D | ftrace-direct-too.c | 237 static struct ftrace_ops direct;
|
| H A D | ftrace-direct-modify.c | 285 static struct ftrace_ops direct;
|
| H A D | ftrace-direct-multi-modify.c | 333 static struct ftrace_ops direct;
|
| /linux/arch/riscv/include/asm/ |
| H A D | ftrace.h | 123 struct ftrace_ops; 226 struct ftrace_ops *op, struct ftrace_regs *fregs);
|
| /linux/kernel/livepatch/ |
| H A D | patch.h | 25 struct ftrace_ops fops;
|
| /linux/arch/powerpc/kernel/ |
| H A D | kprobes-ftrace.c | 17 struct ftrace_ops *ops, struct ftrace_regs *fregs) in kprobe_ftrace_handler()
|
| /linux/arch/powerpc/kernel/trace/ |
| H A D | ftrace.c | 298 static const struct ftrace_ops *powerpc_rec_get_ops(struct dyn_ftrace *rec) in powerpc_rec_get_ops() 300 const struct ftrace_ops *ops = NULL; in powerpc_rec_get_ops() 313 static int ftrace_rec_set_ops(struct dyn_ftrace *rec, const struct ftrace_ops *ops) in ftrace_rec_set_ops() 680 struct ftrace_ops *op, struct ftrace_regs *fregs) in ftrace_graph_func()
|
| /linux/arch/csky/kernel/probes/ |
| H A D | ftrace.c | 7 struct ftrace_ops *ops, struct ftrace_regs *fregs) in kprobe_ftrace_handler()
|
| /linux/arch/s390/kernel/ |
| H A D | ftrace.c | 267 struct ftrace_ops *op, struct ftrace_regs *fregs) in ftrace_graph_func() 284 struct ftrace_ops *ops, struct ftrace_regs *fregs) in kprobe_ftrace_handler()
|
| /linux/kernel/bpf/ |
| H A D | trampoline.c | 75 static struct bpf_trampoline *direct_ops_ip_lookup(struct ftrace_ops *ops, unsigned long ip) in direct_ops_ip_lookup() 92 static struct bpf_trampoline *direct_ops_ip_lookup(struct ftrace_ops *ops, unsigned long ip) in direct_ops_ip_lookup() 98 static int bpf_tramp_ftrace_ops_func(struct ftrace_ops *ops, unsigned long ip, in bpf_tramp_ftrace_ops_func() 225 struct ftrace_ops direct_ops = { 301 tr->fops = kzalloc_obj(struct ftrace_ops); in direct_ops_alloc() 320 struct ftrace_ops *ops = tr->fops; in direct_ops_add() 340 struct ftrace_ops *ops = tr->fops; in direct_ops_mod()
|
| /linux/arch/s390/lib/ |
| H A D | test_unwind.c | 270 struct ftrace_ops *fops, in test_unwind_ftrace_handler() 288 struct ftrace_ops *fops; in test_unwind_ftrace()
|