Lines Matching refs:bpf_code
37 bpf_code = BPF(text=test_prog1)
38 stats_map = bpf_code.get_table("stats")
39 event_name = bpf_code.get_syscall_fnname("clone")
40 bpf_code.attach_kprobe(event=event_name, fn_name="hello_world")
54 bpf_code.detach_kprobe(event_name)
67 bpf_code = BPF(text=test_prog1)
68 stats_map = bpf_code.get_table("stats")
69 event_name = bpf_code.get_syscall_fnname("clone")
70 bpf_code.attach_kprobe(event=event_name, fn_name="hello_world")
84 bpf_code.detach_kprobe(event_name)
102 bpf_code = BPF(text=test_prog2)
103 stats_map = bpf_code.get_table("stats",
105 event_name = bpf_code.get_syscall_fnname("clone")
106 bpf_code.attach_kprobe(event=event_name, fn_name="hello_world")
116 bpf_code.detach_kprobe(event_name)