Searched refs:is_tracepoint (Results 1 – 3 of 3) sorted by relevance
1952 bool is_tracepoint, is_syscall_tp; in bpf_get_perf_event_info() local1966 is_tracepoint = flags & TRACE_EVENT_FL_TRACEPOINT; in bpf_get_perf_event_info()1969 if (is_tracepoint || is_syscall_tp) { in bpf_get_perf_event_info()1970 *buf = is_tracepoint ? event->tp_event->tp->name in bpf_get_perf_event_info()
397 static bool is_tracepoint(struct pyrf_event *pevent) in is_tracepoint() function470 if (is_tracepoint(pevent)) in pyrf_sample_event__getattro()
10049 bool is_kprobe, is_tracepoint, is_syscall_tp; in perf_event_set_bpf_prog() local10055 is_tracepoint = event->tp_event->flags & TRACE_EVENT_FL_TRACEPOINT; in perf_event_set_bpf_prog()10057 if (!is_kprobe && !is_tracepoint && !is_syscall_tp) in perf_event_set_bpf_prog()10062 (is_tracepoint && prog->type != BPF_PROG_TYPE_TRACEPOINT) || in perf_event_set_bpf_prog()10071 if (is_tracepoint || is_syscall_tp) { in perf_event_set_bpf_prog()