Lines Matching refs:trace_kprobe
59 struct trace_kprobe { struct
72 static struct trace_kprobe *to_trace_kprobe(struct dyn_event *ev) in to_trace_kprobe() argument
74 return container_of(ev, struct trace_kprobe, devent); in to_trace_kprobe()
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()
117 static nokprobe_inline bool trace_kprobe_module_exist(struct trace_kprobe *tk) in trace_kprobe_module_exist()
135 static inline bool trace_kprobe_module_exist(struct trace_kprobe *tk) in trace_kprobe_module_exist()
143 struct trace_kprobe *tk = to_trace_kprobe(ev); in trace_kprobe_is_busy()
148 static bool trace_kprobe_match_command_head(struct trace_kprobe *tk, in trace_kprobe_match_command_head()
173 struct trace_kprobe *tk = to_trace_kprobe(ev); in trace_kprobe_match()
181 static nokprobe_inline unsigned long trace_kprobe_nhit(struct trace_kprobe *tk) in trace_kprobe_nhit()
192 static nokprobe_inline bool trace_kprobe_is_registered(struct trace_kprobe *tk) in trace_kprobe_is_registered()
200 unsigned long trace_kprobe_address(struct trace_kprobe *tk) in trace_kprobe_address()
215 static nokprobe_inline struct trace_kprobe *
224 return container_of(tp, struct trace_kprobe, tp); in trace_kprobe_primary_from_call()
229 struct trace_kprobe *tk = trace_kprobe_primary_from_call(call); in trace_kprobe_on_func_entry()
238 struct trace_kprobe *tk = trace_kprobe_primary_from_call(call); in trace_kprobe_error_injectable()
244 static int register_kprobe_event(struct trace_kprobe *tk);
245 static int unregister_kprobe_event(struct trace_kprobe *tk);
251 static void free_trace_kprobe(struct trace_kprobe *tk) in free_trace_kprobe()
261 DEFINE_FREE(free_trace_kprobe, struct trace_kprobe *,
267 static struct trace_kprobe *alloc_trace_kprobe(const char *group, in alloc_trace_kprobe()
275 struct trace_kprobe *tk __free(free_trace_kprobe) = NULL; in alloc_trace_kprobe()
312 static struct trace_kprobe *find_trace_kprobe(const char *event, in find_trace_kprobe()
316 struct trace_kprobe *tk; in find_trace_kprobe()
325 static inline int __enable_trace_kprobe(struct trace_kprobe *tk) in __enable_trace_kprobe()
341 struct trace_kprobe *tk; in __disable_trace_kprobe()
361 struct trace_kprobe *tk; in enable_trace_kprobe()
460 static bool within_notrace_func(struct trace_kprobe *tk) in within_notrace_func()
486 static int __register_trace_kprobe(struct trace_kprobe *tk) in __register_trace_kprobe()
524 static void __unregister_trace_kprobe(struct trace_kprobe *tk) in __unregister_trace_kprobe()
540 static int unregister_trace_kprobe(struct trace_kprobe *tk) in unregister_trace_kprobe()
566 static bool trace_kprobe_has_same_kprobe(struct trace_kprobe *orig, in trace_kprobe_has_same_kprobe()
567 struct trace_kprobe *comp) in trace_kprobe_has_same_kprobe()
595 static int append_trace_kprobe(struct trace_kprobe *tk, struct trace_kprobe *to) in append_trace_kprobe()
633 static int register_trace_kprobe(struct trace_kprobe *tk) in register_trace_kprobe()
635 struct trace_kprobe *old_tk; in register_trace_kprobe()
680 static int register_module_trace_kprobe(struct module *mod, struct trace_kprobe *tk) in register_module_trace_kprobe()
699 struct trace_kprobe *tk; in trace_kprobe_module_callback()
864 struct trace_kprobe *tk __free(free_trace_kprobe) = NULL; in trace_kprobe_create_internal()
1283 struct trace_kprobe *tk = to_trace_kprobe(ev); in trace_kprobe_release()
1293 struct trace_kprobe *tk = to_trace_kprobe(ev); in trace_kprobe_show()
1367 static unsigned long trace_kprobe_missed(struct trace_kprobe *tk) in trace_kprobe_missed()
1377 struct trace_kprobe *tk; in probes_profile_seq_show()
1467 __kprobe_trace_func(struct trace_kprobe *tk, struct pt_regs *regs, in NOKPROBE_SYMBOL()
1495 kprobe_trace_func(struct trace_kprobe *tk, struct pt_regs *regs) in kprobe_trace_func()
1510 struct trace_kprobe *tk; in trace_kprobe_entry_handler()
1520 tk = container_of(rp, struct trace_kprobe, rp); in trace_kprobe_entry_handler()
1531 __kretprobe_trace_func(struct trace_kprobe *tk, struct kretprobe_instance *ri, in __kretprobe_trace_func()
1561 kretprobe_trace_func(struct trace_kprobe *tk, struct kretprobe_instance *ri, in kretprobe_trace_func()
1674 kprobe_perf_func(struct trace_kprobe *tk, struct pt_regs *regs) in kprobe_perf_func()
1723 kretprobe_perf_func(struct trace_kprobe *tk, struct kretprobe_instance *ri, in kretprobe_perf_func()
1763 struct trace_kprobe *tk; in bpf_get_kprobe_info()
1818 struct trace_kprobe *tk = container_of(kp, struct trace_kprobe, rp.kp); in kprobe_dispatcher()
1838 struct trace_kprobe *tk; in kretprobe_dispatcher()
1849 tk = container_of(rp, struct trace_kprobe, rp); in kretprobe_dispatcher()
1883 static inline void init_trace_event_call(struct trace_kprobe *tk) in init_trace_event_call()
1899 static int register_kprobe_event(struct trace_kprobe *tk) in register_kprobe_event()
1906 static int unregister_kprobe_event(struct trace_kprobe *tk) in unregister_kprobe_event()
1919 struct trace_kprobe *tk __free(free_trace_kprobe) = NULL; in create_local_trace_kprobe()
1962 struct trace_kprobe *tk; in destroy_local_trace_kprobe()
1983 struct trace_kprobe *tk; in enable_boot_kprobe_events()
2068 find_trace_probe_file(struct trace_kprobe *tk, struct trace_array *tr) in find_trace_probe_file()
2087 struct trace_kprobe *tk; in kprobe_trace_self_tests_init()