Lines Matching refs:bpf
29 ebpf::BPF *bpf(new ebpf::BPF);
32 res = bpf->init(BPF_PROGRAM);
35 ebpf::BPFTable t = bpf->get_table("myhash");
82 delete bpf;
100 ebpf::BPF bpf; variable
102 res = bpf.init(BPF_PROGRAM);
105 ebpf::BPFTable t = bpf.get_table("myhash");
130 ebpf::BPF bpf; variable
132 res = bpf.init(BPF_PROGRAM);
135 auto t = bpf.get_hash_table<int, int>("myhash");
191 ebpf::BPF bpf; variable
193 res = bpf.init(BPF_PROGRAM);
195 std::string getuid_fnname = bpf.get_syscall_fnname("getuid");
196 res = bpf.attach_kprobe(getuid_fnname, "on_sys_getuid");
199 res = bpf.detach_kprobe(getuid_fnname);
202 auto id = bpf.get_hash_table<int, int>("id");
203 auto stack_traces = bpf.get_stack_table("stack_traces");