Lines Matching refs:trace_kprobe
24 struct trace_kprobe { struct
33 (offsetof(struct trace_kprobe, tp.args) + \ argument
36 static nokprobe_inline bool trace_kprobe_is_return(struct trace_kprobe *tk) in trace_kprobe_is_return()
41 static nokprobe_inline const char *trace_kprobe_symbol(struct trace_kprobe *tk) in trace_kprobe_symbol()
46 static nokprobe_inline unsigned long trace_kprobe_offset(struct trace_kprobe *tk) in trace_kprobe_offset()
51 static nokprobe_inline bool trace_kprobe_has_gone(struct trace_kprobe *tk) in trace_kprobe_has_gone()
56 static nokprobe_inline bool trace_kprobe_within_module(struct trace_kprobe *tk, in trace_kprobe_within_module()
64 static nokprobe_inline bool trace_kprobe_is_on_module(struct trace_kprobe *tk) in trace_kprobe_is_on_module()
69 static nokprobe_inline unsigned long trace_kprobe_nhit(struct trace_kprobe *tk) in trace_kprobe_nhit()
82 unsigned long trace_kprobe_address(struct trace_kprobe *tk) in trace_kprobe_address()
99 struct trace_kprobe *tk = (struct trace_kprobe *)call->data; in trace_kprobe_on_func_entry()
108 struct trace_kprobe *tk = (struct trace_kprobe *)call->data; in trace_kprobe_error_injectable()
113 static int register_kprobe_event(struct trace_kprobe *tk);
114 static int unregister_kprobe_event(struct trace_kprobe *tk);
304 static struct trace_kprobe *alloc_trace_kprobe(const char *group, in alloc_trace_kprobe()
312 struct trace_kprobe *tk; in alloc_trace_kprobe()
369 static void free_trace_kprobe(struct trace_kprobe *tk) in free_trace_kprobe()
383 static struct trace_kprobe *find_trace_kprobe(const char *event, in find_trace_kprobe()
386 struct trace_kprobe *tk; in find_trace_kprobe()
395 static inline int __enable_trace_kprobe(struct trace_kprobe *tk) in __enable_trace_kprobe()
414 enable_trace_kprobe(struct trace_kprobe *tk, struct trace_event_file *file) in enable_trace_kprobe()
452 disable_trace_kprobe(struct trace_kprobe *tk, struct trace_event_file *file) in disable_trace_kprobe()
508 static bool within_notrace_func(struct trace_kprobe *tk) in within_notrace_func()
530 static int __register_trace_kprobe(struct trace_kprobe *tk) in __register_trace_kprobe()
574 static void __unregister_trace_kprobe(struct trace_kprobe *tk) in __unregister_trace_kprobe()
589 static int unregister_trace_kprobe(struct trace_kprobe *tk) in unregister_trace_kprobe()
606 static int register_trace_kprobe(struct trace_kprobe *tk) in register_trace_kprobe()
608 struct trace_kprobe *old_tk; in register_trace_kprobe()
647 struct trace_kprobe *tk; in trace_kprobe_module_callback()
707 struct trace_kprobe *tk; in create_trace_kprobe()
896 struct trace_kprobe *tk; in release_all_trace_kprobes()
908 tk = list_entry(probe_list.next, struct trace_kprobe, list); in release_all_trace_kprobes()
940 struct trace_kprobe *tk = v; in probes_seq_show()
1001 struct trace_kprobe *tk = v; in probes_profile_seq_show()
1033 __kprobe_trace_func(struct trace_kprobe *tk, struct pt_regs *regs, in __kprobe_trace_func()
1069 kprobe_trace_func(struct trace_kprobe *tk, struct pt_regs *regs) in kprobe_trace_func()
1080 __kretprobe_trace_func(struct trace_kprobe *tk, struct kretprobe_instance *ri, in __kretprobe_trace_func()
1118 kretprobe_trace_func(struct trace_kprobe *tk, struct kretprobe_instance *ri, in kretprobe_trace_func()
1202 struct trace_kprobe *tk = (struct trace_kprobe *)event_call->data; in kprobe_event_define_fields()
1225 struct trace_kprobe *tk = (struct trace_kprobe *)event_call->data; in kretprobe_event_define_fields()
1249 kprobe_perf_func(struct trace_kprobe *tk, struct pt_regs *regs) in kprobe_perf_func()
1298 kretprobe_perf_func(struct trace_kprobe *tk, struct kretprobe_instance *ri, in kretprobe_perf_func()
1337 struct trace_kprobe *tk; in bpf_get_kprobe_info()
1370 struct trace_kprobe *tk = (struct trace_kprobe *)event->data; in kprobe_register()
1396 struct trace_kprobe *tk = container_of(kp, struct trace_kprobe, rp.kp); in kprobe_dispatcher()
1414 struct trace_kprobe *tk = container_of(ri->rp, struct trace_kprobe, rp); in kretprobe_dispatcher()
1436 static inline void init_trace_event_call(struct trace_kprobe *tk, in init_trace_event_call()
1453 static int register_kprobe_event(struct trace_kprobe *tk) in register_kprobe_event()
1477 static int unregister_kprobe_event(struct trace_kprobe *tk) in unregister_kprobe_event()
1494 struct trace_kprobe *tk; in create_local_trace_kprobe()
1536 struct trace_kprobe *tk; in destroy_local_trace_kprobe()
1538 tk = container_of(event_call, struct trace_kprobe, tp.call); in destroy_local_trace_kprobe()
1585 find_trace_probe_file(struct trace_kprobe *tk, struct trace_array *tr) in find_trace_probe_file()
1604 struct trace_kprobe *tk; in kprobe_trace_self_tests_init()