• Home
  • Raw
  • Download

Lines Matching refs:event

44 static bool trace_kprobe_match(const char *system, const char *event,
162 static bool trace_kprobe_match(const char *system, const char *event, in trace_kprobe_match() argument
167 return (event[0] == '\0' || in trace_kprobe_match()
168 strcmp(trace_probe_name(&tk->tp), event) == 0) && in trace_kprobe_match()
257 const char *event, in alloc_trace_kprobe() argument
293 ret = trace_probe_init(&tk->tp, event, group, false); in alloc_trace_kprobe()
304 static struct trace_kprobe *find_trace_kprobe(const char *event, in find_trace_kprobe() argument
311 if (strcmp(trace_probe_name(&tk->tp), event) == 0 && in find_trace_kprobe()
561 struct trace_probe_event *tpe = orig->tp.event; in trace_kprobe_has_same_kprobe()
774 const char *event = NULL, *group = KPROBE_EVENT_SYSTEM; in __trace_kprobe_create() local
797 event = strchr(&argv[0][1], ':'); in __trace_kprobe_create()
798 if (event) in __trace_kprobe_create()
799 event++; in __trace_kprobe_create()
806 if (event) in __trace_kprobe_create()
807 len = event - &argv[0][1] - 1; in __trace_kprobe_create()
899 if (event) { in __trace_kprobe_create()
900 ret = traceprobe_parse_event_name(&event, &group, gbuf, in __trace_kprobe_create()
901 event - argv[0]); in __trace_kprobe_create()
906 if (!event) { in __trace_kprobe_create()
915 event = buf; in __trace_kprobe_create()
919 tk = alloc_trace_kprobe(group, event, addr, symbol, offset, maxactive, in __trace_kprobe_create()
1408 entry = fbuffer.entry = ring_buffer_event_data(fbuffer.event); in NOKPROBE_SYMBOL()
1449 entry = fbuffer.entry = ring_buffer_event_data(fbuffer.event); in __kretprobe_trace_func()
1471 struct trace_event *event) in print_kprobe_event() argument
1479 container_of(event, struct trace_event_call, event)); in print_kprobe_event()
1501 struct trace_event *event) in print_kretprobe_event() argument
1509 container_of(event, struct trace_event_call, event)); in print_kretprobe_event()
1612 perf_trace_buf_submit(entry, size, rctx, call->event.type, 1, regs, in kprobe_perf_func()
1648 perf_trace_buf_submit(entry, size, rctx, call->event.type, 1, regs, in kretprobe_perf_func()
1653 int bpf_get_kprobe_info(const struct perf_event *event, u32 *fd_type, in bpf_get_kprobe_info() argument
1657 const char *pevent = trace_event_name(event->tp_event); in bpf_get_kprobe_info()
1658 const char *group = event->tp_event->class->system; in bpf_get_kprobe_info()
1664 tk = trace_kprobe_primary_from_call(event->tp_event); in bpf_get_kprobe_info()
1689 static int kprobe_register(struct trace_event_call *event, in kprobe_register() argument
1696 return enable_trace_kprobe(event, file); in kprobe_register()
1698 return disable_trace_kprobe(event, file); in kprobe_register()
1702 return enable_trace_kprobe(event, NULL); in kprobe_register()
1704 return disable_trace_kprobe(event, NULL); in kprobe_register()
1784 call->event.funcs = &kretprobe_funcs; in init_trace_event_call()
1787 call->event.funcs = &kprobe_funcs; in init_trace_event_call()
1817 char *event; in create_local_trace_kprobe() local
1842 event = func ? func : "DUMMY_EVENT"; in create_local_trace_kprobe()
1844 tk = alloc_trace_kprobe(KPROBE_EVENT_SYSTEM, event, (void *)addr, func, in create_local_trace_kprobe()