Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/samples/bpf/
Dbpf_load.c81 bool is_tracepoint = strncmp(event, "tracepoint/", 11) == 0; in load_and_attach() local
105 } else if (is_tracepoint) { in load_and_attach()
212 } else if (is_tracepoint) { in load_and_attach()
/kernel/linux/linux-5.10/kernel/trace/
Dbpf_trace.c2124 bool is_tracepoint, is_syscall_tp; in bpf_get_perf_event_info() local
2138 is_tracepoint = flags & TRACE_EVENT_FL_TRACEPOINT; in bpf_get_perf_event_info()
2141 if (is_tracepoint || is_syscall_tp) { in bpf_get_perf_event_info()
2142 *buf = is_tracepoint ? event->tp_event->tp->name in bpf_get_perf_event_info()
/kernel/linux/linux-5.10/tools/perf/util/
Dpython.c370 static bool is_tracepoint(struct pyrf_event *pevent) in is_tracepoint() function
443 if (is_tracepoint(pevent)) in pyrf_sample_event__getattro()
/kernel/linux/linux-5.10/kernel/events/
Dcore.c9912 bool is_kprobe, is_tracepoint, is_syscall_tp; in perf_event_set_bpf_prog() local
9920 is_tracepoint = event->tp_event->flags & TRACE_EVENT_FL_TRACEPOINT; in perf_event_set_bpf_prog()
9922 if (!is_kprobe && !is_tracepoint && !is_syscall_tp) in perf_event_set_bpf_prog()
9931 (is_tracepoint && prog->type != BPF_PROG_TYPE_TRACEPOINT) || in perf_event_set_bpf_prog()
9945 if (is_tracepoint || is_syscall_tp) { in perf_event_set_bpf_prog()