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()
86 static nokprobe_inline bool trace_kprobe_is_return(struct trace_kprobe *tk) in trace_kprobe_is_return()
91 static nokprobe_inline const char *trace_kprobe_symbol(struct trace_kprobe *tk) in trace_kprobe_symbol()
96 static nokprobe_inline unsigned long trace_kprobe_offset(struct trace_kprobe *tk) in trace_kprobe_offset()
101 static nokprobe_inline bool trace_kprobe_has_gone(struct trace_kprobe *tk) in trace_kprobe_has_gone()
106 static nokprobe_inline bool trace_kprobe_within_module(struct trace_kprobe *tk, in trace_kprobe_within_module()
116 static nokprobe_inline bool trace_kprobe_module_exist(struct trace_kprobe *tk) in trace_kprobe_module_exist()
134 static inline bool trace_kprobe_module_exist(struct trace_kprobe *tk) in trace_kprobe_module_exist()
142 struct trace_kprobe *tk = to_trace_kprobe(ev); in trace_kprobe_is_busy()
147 static bool trace_kprobe_match_command_head(struct trace_kprobe *tk, in trace_kprobe_match_command_head()
172 struct trace_kprobe *tk = to_trace_kprobe(ev); in trace_kprobe_match()
180 static nokprobe_inline unsigned long trace_kprobe_nhit(struct trace_kprobe *tk) in trace_kprobe_nhit()
191 static nokprobe_inline bool trace_kprobe_is_registered(struct trace_kprobe *tk) in trace_kprobe_is_registered()
199 unsigned long trace_kprobe_address(struct trace_kprobe *tk) in trace_kprobe_address()
214 static nokprobe_inline struct trace_kprobe *
223 return container_of(tp, struct trace_kprobe, tp); in trace_kprobe_primary_from_call()
228 struct trace_kprobe *tk = trace_kprobe_primary_from_call(call); in trace_kprobe_on_func_entry()
237 struct trace_kprobe *tk = trace_kprobe_primary_from_call(call); in trace_kprobe_error_injectable()
243 static int register_kprobe_event(struct trace_kprobe *tk);
244 static int unregister_kprobe_event(struct trace_kprobe *tk);
250 static void free_trace_kprobe(struct trace_kprobe *tk) in free_trace_kprobe()
260 DEFINE_FREE(free_trace_kprobe, struct trace_kprobe *,
266 static struct trace_kprobe *alloc_trace_kprobe(const char *group, in alloc_trace_kprobe()
274 struct trace_kprobe *tk __free(free_trace_kprobe) = NULL; in alloc_trace_kprobe()
311 static struct trace_kprobe *find_trace_kprobe(const char *event, in find_trace_kprobe()
315 struct trace_kprobe *tk; in find_trace_kprobe()
324 static inline int __enable_trace_kprobe(struct trace_kprobe *tk) in __enable_trace_kprobe()
340 struct trace_kprobe *tk; in __disable_trace_kprobe()
360 struct trace_kprobe *tk; in enable_trace_kprobe()
459 static bool within_notrace_func(struct trace_kprobe *tk) in within_notrace_func()
485 static int __register_trace_kprobe(struct trace_kprobe *tk) in __register_trace_kprobe()
523 static void __unregister_trace_kprobe(struct trace_kprobe *tk) in __unregister_trace_kprobe()
539 static int unregister_trace_kprobe(struct trace_kprobe *tk) in unregister_trace_kprobe()
565 static bool trace_kprobe_has_same_kprobe(struct trace_kprobe *orig, in trace_kprobe_has_same_kprobe()
566 struct trace_kprobe *comp) in trace_kprobe_has_same_kprobe()
594 static int append_trace_kprobe(struct trace_kprobe *tk, struct trace_kprobe *to) in append_trace_kprobe()
632 static int register_trace_kprobe(struct trace_kprobe *tk) in register_trace_kprobe()
634 struct trace_kprobe *old_tk; in register_trace_kprobe()
679 static int register_module_trace_kprobe(struct module *mod, struct trace_kprobe *tk) in register_module_trace_kprobe()
698 struct trace_kprobe *tk; in trace_kprobe_module_callback()
863 struct trace_kprobe *tk __free(free_trace_kprobe) = NULL; in trace_kprobe_create_internal()
1280 struct trace_kprobe *tk = to_trace_kprobe(ev); in trace_kprobe_release()
1290 struct trace_kprobe *tk = to_trace_kprobe(ev); in trace_kprobe_show()
1364 static unsigned long trace_kprobe_missed(struct trace_kprobe *tk) in trace_kprobe_missed()
1374 struct trace_kprobe *tk; in probes_profile_seq_show()
1464 __kprobe_trace_func(struct trace_kprobe *tk, struct pt_regs *regs, in NOKPROBE_SYMBOL()
1492 kprobe_trace_func(struct trace_kprobe *tk, struct pt_regs *regs) in kprobe_trace_func()
1507 struct trace_kprobe *tk; in trace_kprobe_entry_handler()
1517 tk = container_of(rp, struct trace_kprobe, rp); in trace_kprobe_entry_handler()
1528 __kretprobe_trace_func(struct trace_kprobe *tk, struct kretprobe_instance *ri, in __kretprobe_trace_func()
1558 kretprobe_trace_func(struct trace_kprobe *tk, struct kretprobe_instance *ri, in kretprobe_trace_func()
1671 kprobe_perf_func(struct trace_kprobe *tk, struct pt_regs *regs) in kprobe_perf_func()
1720 kretprobe_perf_func(struct trace_kprobe *tk, struct kretprobe_instance *ri, in kretprobe_perf_func()
1760 struct trace_kprobe *tk; in bpf_get_kprobe_info()
1815 struct trace_kprobe *tk = container_of(kp, struct trace_kprobe, rp.kp); in kprobe_dispatcher()
1834 struct trace_kprobe *tk; in kretprobe_dispatcher()
1844 tk = container_of(rp, struct trace_kprobe, rp); in kretprobe_dispatcher()
1877 static inline void init_trace_event_call(struct trace_kprobe *tk) in init_trace_event_call()
1893 static int register_kprobe_event(struct trace_kprobe *tk) in register_kprobe_event()
1900 static int unregister_kprobe_event(struct trace_kprobe *tk) in unregister_kprobe_event()
1913 struct trace_kprobe *tk __free(free_trace_kprobe) = NULL; in create_local_trace_kprobe()
1956 struct trace_kprobe *tk; in destroy_local_trace_kprobe()
1977 struct trace_kprobe *tk; in enable_boot_kprobe_events()
2055 find_trace_probe_file(struct trace_kprobe *tk, struct trace_array *tr) in find_trace_probe_file()
2074 struct trace_kprobe *tk; in kprobe_trace_self_tests_init()