Lines Matching refs:trace_kprobe
57 struct trace_kprobe { struct
70 static struct trace_kprobe *to_trace_kprobe(struct dyn_event *ev) in to_trace_kprobe() argument
72 return container_of(ev, struct trace_kprobe, devent); in to_trace_kprobe()
84 static nokprobe_inline bool trace_kprobe_is_return(struct trace_kprobe *tk) in trace_kprobe_is_return()
89 static nokprobe_inline const char *trace_kprobe_symbol(struct trace_kprobe *tk) in trace_kprobe_symbol()
94 static nokprobe_inline unsigned long trace_kprobe_offset(struct trace_kprobe *tk) in trace_kprobe_offset()
99 static nokprobe_inline bool trace_kprobe_has_gone(struct trace_kprobe *tk) in trace_kprobe_has_gone()
104 static nokprobe_inline bool trace_kprobe_within_module(struct trace_kprobe *tk, in trace_kprobe_within_module()
113 static nokprobe_inline bool trace_kprobe_module_exist(struct trace_kprobe *tk) in trace_kprobe_module_exist()
134 struct trace_kprobe *tk = to_trace_kprobe(ev); in trace_kprobe_is_busy()
139 static bool trace_kprobe_match_command_head(struct trace_kprobe *tk, in trace_kprobe_match_command_head()
164 struct trace_kprobe *tk = to_trace_kprobe(ev); in trace_kprobe_match()
171 static nokprobe_inline unsigned long trace_kprobe_nhit(struct trace_kprobe *tk) in trace_kprobe_nhit()
182 static nokprobe_inline bool trace_kprobe_is_registered(struct trace_kprobe *tk) in trace_kprobe_is_registered()
190 unsigned long trace_kprobe_address(struct trace_kprobe *tk) in trace_kprobe_address()
205 static nokprobe_inline struct trace_kprobe *
214 return container_of(tp, struct trace_kprobe, tp); in trace_kprobe_primary_from_call()
219 struct trace_kprobe *tk = trace_kprobe_primary_from_call(call); in trace_kprobe_on_func_entry()
228 struct trace_kprobe *tk = trace_kprobe_primary_from_call(call); in trace_kprobe_error_injectable()
234 static int register_kprobe_event(struct trace_kprobe *tk);
235 static int unregister_kprobe_event(struct trace_kprobe *tk);
241 static void free_trace_kprobe(struct trace_kprobe *tk) in free_trace_kprobe()
254 static struct trace_kprobe *alloc_trace_kprobe(const char *group, in alloc_trace_kprobe()
262 struct trace_kprobe *tk; in alloc_trace_kprobe()
302 static struct trace_kprobe *find_trace_kprobe(const char *event, in find_trace_kprobe()
306 struct trace_kprobe *tk; in find_trace_kprobe()
315 static inline int __enable_trace_kprobe(struct trace_kprobe *tk) in __enable_trace_kprobe()
331 struct trace_kprobe *tk; in __disable_trace_kprobe()
351 struct trace_kprobe *tk; in enable_trace_kprobe()
450 static bool within_notrace_func(struct trace_kprobe *tk) in within_notrace_func()
476 static int __register_trace_kprobe(struct trace_kprobe *tk) in __register_trace_kprobe()
514 static void __unregister_trace_kprobe(struct trace_kprobe *tk) in __unregister_trace_kprobe()
530 static int unregister_trace_kprobe(struct trace_kprobe *tk) in unregister_trace_kprobe()
556 static bool trace_kprobe_has_same_kprobe(struct trace_kprobe *orig, in trace_kprobe_has_same_kprobe()
557 struct trace_kprobe *comp) in trace_kprobe_has_same_kprobe()
585 static int append_trace_kprobe(struct trace_kprobe *tk, struct trace_kprobe *to) in append_trace_kprobe()
623 static int register_trace_kprobe(struct trace_kprobe *tk) in register_trace_kprobe()
625 struct trace_kprobe *old_tk; in register_trace_kprobe()
677 struct trace_kprobe *tk; in trace_kprobe_module_callback()
732 struct trace_kprobe *tk = NULL; in __trace_kprobe_create()
1085 struct trace_kprobe *tk = to_trace_kprobe(ev); in trace_kprobe_release()
1095 struct trace_kprobe *tk = to_trace_kprobe(ev); in trace_kprobe_show()
1173 struct trace_kprobe *tk; in probes_profile_seq_show()
1372 __kprobe_trace_func(struct trace_kprobe *tk, struct pt_regs *regs, in NOKPROBE_SYMBOL()
1401 kprobe_trace_func(struct trace_kprobe *tk, struct pt_regs *regs) in kprobe_trace_func()
1412 __kretprobe_trace_func(struct trace_kprobe *tk, struct kretprobe_instance *ri, in __kretprobe_trace_func()
1443 kretprobe_trace_func(struct trace_kprobe *tk, struct kretprobe_instance *ri, in kretprobe_trace_func()
1556 kprobe_perf_func(struct trace_kprobe *tk, struct pt_regs *regs) in kprobe_perf_func()
1605 kretprobe_perf_func(struct trace_kprobe *tk, struct kretprobe_instance *ri, in kretprobe_perf_func()
1644 struct trace_kprobe *tk; in bpf_get_kprobe_info()
1702 struct trace_kprobe *tk = container_of(kp, struct trace_kprobe, rp.kp); in kprobe_dispatcher()
1721 struct trace_kprobe *tk; in kretprobe_dispatcher()
1731 tk = container_of(rp, struct trace_kprobe, rp); in kretprobe_dispatcher()
1764 static inline void init_trace_event_call(struct trace_kprobe *tk) in init_trace_event_call()
1780 static int register_kprobe_event(struct trace_kprobe *tk) in register_kprobe_event()
1787 static int unregister_kprobe_event(struct trace_kprobe *tk) in unregister_kprobe_event()
1799 struct trace_kprobe *tk; in create_local_trace_kprobe()
1841 struct trace_kprobe *tk; in destroy_local_trace_kprobe()
1862 struct trace_kprobe *tk; in enable_boot_kprobe_events()
1941 find_trace_probe_file(struct trace_kprobe *tk, struct trace_array *tr) in find_trace_probe_file()
1960 struct trace_kprobe *tk; in kprobe_trace_self_tests_init()