Lines Matching refs:bpf_code
39 bpf_code = BPF(text=test_prog1)
40 stats_map = bpf_code.get_table("stats")
41 event_name = bpf_code.get_syscall_fnname("clone")
42 bpf_code.attach_kprobe(event=event_name, fn_name="hello_world")
56 bpf_code.detach_kprobe(event_name)
71 bpf_code = BPF(text=test_prog1)
72 stats_map = bpf_code.get_table("stats")
73 event_name = bpf_code.get_syscall_fnname("clone")
74 bpf_code.attach_kprobe(event=event_name, fn_name="hello_world")
88 bpf_code.detach_kprobe(event_name)
108 bpf_code = BPF(text=test_prog2)
109 stats_map = bpf_code.get_table("stats",
111 event_name = bpf_code.get_syscall_fnname("clone")
112 bpf_code.attach_kprobe(event=event_name, fn_name="hello_world")
122 bpf_code.detach_kprobe(event_name)