Home
last modified time | relevance | path

Searched refs:is_tracepoint (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.15/kernel/trace/
Dbpf_trace.c1952 bool is_tracepoint, is_syscall_tp; in bpf_get_perf_event_info() local
1966 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()
/Linux-v5.15/tools/perf/util/
Dpython.c397 static bool is_tracepoint(struct pyrf_event *pevent) in is_tracepoint() function
470 if (is_tracepoint(pevent)) in pyrf_sample_event__getattro()
/Linux-v5.15/kernel/events/
Dcore.c10049 bool is_kprobe, is_tracepoint, is_syscall_tp; in perf_event_set_bpf_prog() local
10055 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()