Lines Matching refs:bpf
261 bpf = BPF(text=program, usdt_contexts=[usdt] if usdt else []) variable
264 bpf.attach_kprobe(event_re=syscall_regex, fn_name="syscall_entry")
266 bpf.attach_kretprobe(event_re=syscall_regex, fn_name="syscall_return")
268 bpf.num_open_kprobes())
277 bpf["times"].items()))
283 bpf["counts"].items()))
287 syscalls = map(lambda kv: (bpf.ksym(kv[0].value),
289 bpf["systimes"].items())
292 syscalls = map(lambda kv: (bpf.ksym(kv[0].value),
294 bpf["syscounts"].items())
301 bpf["times"].clear()
303 bpf["counts"].clear()
307 bpf["systimes"].clear()
309 bpf["syscounts"].clear()