Lines Matching refs:trace_kprobe
56 struct trace_kprobe { struct
69 static struct trace_kprobe *to_trace_kprobe(struct dyn_event *ev) in to_trace_kprobe() argument
71 return container_of(ev, struct trace_kprobe, devent); in to_trace_kprobe()
84 (offsetof(struct trace_kprobe, tp.args) + \
87 static nokprobe_inline bool trace_kprobe_is_return(struct trace_kprobe *tk) in trace_kprobe_is_return()
92 static nokprobe_inline const char *trace_kprobe_symbol(struct trace_kprobe *tk) in trace_kprobe_symbol()
97 static nokprobe_inline unsigned long trace_kprobe_offset(struct trace_kprobe *tk) in trace_kprobe_offset()
102 static nokprobe_inline bool trace_kprobe_has_gone(struct trace_kprobe *tk) in trace_kprobe_has_gone()
107 static nokprobe_inline bool trace_kprobe_within_module(struct trace_kprobe *tk, in trace_kprobe_within_module()
115 static nokprobe_inline bool trace_kprobe_module_exist(struct trace_kprobe *tk) in trace_kprobe_module_exist()
136 struct trace_kprobe *tk = to_trace_kprobe(ev); in trace_kprobe_is_busy()
141 static bool trace_kprobe_match_command_head(struct trace_kprobe *tk, in trace_kprobe_match_command_head()
166 struct trace_kprobe *tk = to_trace_kprobe(ev); in trace_kprobe_match()
173 static nokprobe_inline unsigned long trace_kprobe_nhit(struct trace_kprobe *tk) in trace_kprobe_nhit()
184 static nokprobe_inline bool trace_kprobe_is_registered(struct trace_kprobe *tk) in trace_kprobe_is_registered()
192 unsigned long trace_kprobe_address(struct trace_kprobe *tk) in trace_kprobe_address()
207 static nokprobe_inline struct trace_kprobe *
216 return container_of(tp, struct trace_kprobe, tp); in trace_kprobe_primary_from_call()
221 struct trace_kprobe *tk = trace_kprobe_primary_from_call(call); in trace_kprobe_on_func_entry()
230 struct trace_kprobe *tk = trace_kprobe_primary_from_call(call); in trace_kprobe_error_injectable()
236 static int register_kprobe_event(struct trace_kprobe *tk);
237 static int unregister_kprobe_event(struct trace_kprobe *tk);
243 static void free_trace_kprobe(struct trace_kprobe *tk) in free_trace_kprobe()
256 static struct trace_kprobe *alloc_trace_kprobe(const char *group, in alloc_trace_kprobe()
264 struct trace_kprobe *tk; in alloc_trace_kprobe()
304 static struct trace_kprobe *find_trace_kprobe(const char *event, in find_trace_kprobe()
308 struct trace_kprobe *tk; in find_trace_kprobe()
317 static inline int __enable_trace_kprobe(struct trace_kprobe *tk) in __enable_trace_kprobe()
334 struct trace_kprobe *tk; in __disable_trace_kprobe()
337 tk = container_of(pos, struct trace_kprobe, tp); in __disable_trace_kprobe()
355 struct trace_kprobe *tk; in enable_trace_kprobe()
376 tk = container_of(pos, struct trace_kprobe, tp); in enable_trace_kprobe()
438 static bool within_notrace_func(struct trace_kprobe *tk) in within_notrace_func()
460 static int __register_trace_kprobe(struct trace_kprobe *tk) in __register_trace_kprobe()
498 static void __unregister_trace_kprobe(struct trace_kprobe *tk) in __unregister_trace_kprobe()
514 static int unregister_trace_kprobe(struct trace_kprobe *tk) in unregister_trace_kprobe()
536 static bool trace_kprobe_has_same_kprobe(struct trace_kprobe *orig, in trace_kprobe_has_same_kprobe()
537 struct trace_kprobe *comp) in trace_kprobe_has_same_kprobe()
544 orig = container_of(pos, struct trace_kprobe, tp); in trace_kprobe_has_same_kprobe()
567 static int append_trace_kprobe(struct trace_kprobe *tk, struct trace_kprobe *to) in append_trace_kprobe()
605 static int register_trace_kprobe(struct trace_kprobe *tk) in register_trace_kprobe()
607 struct trace_kprobe *old_tk; in register_trace_kprobe()
655 struct trace_kprobe *tk; in trace_kprobe_module_callback()
715 struct trace_kprobe *tk = NULL; in trace_kprobe_create()
886 struct trace_kprobe *tk = to_trace_kprobe(ev); in trace_kprobe_release()
896 struct trace_kprobe *tk = to_trace_kprobe(ev); in trace_kprobe_show()
972 struct trace_kprobe *tk; in probes_profile_seq_show()
1153 __kprobe_trace_func(struct trace_kprobe *tk, struct pt_regs *regs, in NOKPROBE_SYMBOL()
1189 kprobe_trace_func(struct trace_kprobe *tk, struct pt_regs *regs) in kprobe_trace_func()
1200 __kretprobe_trace_func(struct trace_kprobe *tk, struct kretprobe_instance *ri, in __kretprobe_trace_func()
1238 kretprobe_trace_func(struct trace_kprobe *tk, struct kretprobe_instance *ri, in kretprobe_trace_func()
1351 kprobe_perf_func(struct trace_kprobe *tk, struct pt_regs *regs) in kprobe_perf_func()
1400 kretprobe_perf_func(struct trace_kprobe *tk, struct kretprobe_instance *ri, in kretprobe_perf_func()
1439 struct trace_kprobe *tk; in bpf_get_kprobe_info()
1497 struct trace_kprobe *tk = container_of(kp, struct trace_kprobe, rp.kp); in kprobe_dispatcher()
1515 struct trace_kprobe *tk = container_of(ri->rp, struct trace_kprobe, rp); in kretprobe_dispatcher()
1537 static inline void init_trace_event_call(struct trace_kprobe *tk) in init_trace_event_call()
1553 static int register_kprobe_event(struct trace_kprobe *tk) in register_kprobe_event()
1560 static int unregister_kprobe_event(struct trace_kprobe *tk) in unregister_kprobe_event()
1571 struct trace_kprobe *tk; in create_local_trace_kprobe()
1611 struct trace_kprobe *tk; in destroy_local_trace_kprobe()
1632 struct trace_kprobe *tk; in enable_boot_kprobe_events()
1709 find_trace_probe_file(struct trace_kprobe *tk, struct trace_array *tr) in find_trace_probe_file()
1728 struct trace_kprobe *tk; in kprobe_trace_self_tests_init()