Lines Matching refs:BPF
57 StatusTuple BPF::init(const std::string& bpf_program, in init()
83 BPF::~BPF() { in ~BPF()
90 StatusTuple BPF::detach_all() { in detach_all()
164 StatusTuple BPF::attach_kprobe(const std::string& kernel_func, in attach_kprobe()
192 StatusTuple BPF::attach_uprobe(const std::string& binary_path, in attach_uprobe()
227 StatusTuple BPF::attach_usdt(const USDT& usdt, pid_t pid) { in attach_usdt()
267 StatusTuple BPF::attach_tracepoint(const std::string& tracepoint, in attach_tracepoint()
298 StatusTuple BPF::attach_perf_event(uint32_t ev_type, uint32_t ev_config, in attach_perf_event()
338 StatusTuple BPF::attach_perf_event_raw(void* perf_event_attr, in attach_perf_event_raw()
379 StatusTuple BPF::detach_kprobe(const std::string& kernel_func, in detach_kprobe()
394 StatusTuple BPF::detach_uprobe(const std::string& binary_path, in detach_uprobe()
413 StatusTuple BPF::detach_usdt(const USDT& usdt, pid_t pid) { in detach_usdt()
445 StatusTuple BPF::detach_tracepoint(const std::string& tracepoint) { in detach_tracepoint()
455 StatusTuple BPF::detach_perf_event(uint32_t ev_type, uint32_t ev_config) { in detach_perf_event()
465 StatusTuple BPF::detach_perf_event_raw(void* perf_event_attr) { in detach_perf_event_raw()
470 StatusTuple BPF::open_perf_event(const std::string& name, uint32_t type, in open_perf_event()
484 StatusTuple BPF::close_perf_event(const std::string& name) { in close_perf_event()
492 StatusTuple BPF::open_perf_buffer(const std::string& name, in open_perf_buffer()
511 StatusTuple BPF::close_perf_buffer(const std::string& name) { in close_perf_buffer()
519 BPFPerfBuffer* BPF::get_perf_buffer(const std::string& name) { in get_perf_buffer()
524 int BPF::poll_perf_buffer(const std::string& name, int timeout_ms) { in poll_perf_buffer()
531 StatusTuple BPF::load_func(const std::string& func_name, bpf_prog_type type, in load_func()
564 StatusTuple BPF::unload_func(const std::string& func_name) { in unload_func()
577 std::string BPF::get_syscall_fnname(const std::string& name) { in get_syscall_fnname()
593 StatusTuple BPF::check_binary_symbol(const std::string& binary_path, in check_binary_symbol()
616 std::string BPF::get_kprobe_event(const std::string& kernel_func, in get_kprobe_event()
619 res += sanitize_str(kernel_func, &BPF::kprobe_event_validator); in get_kprobe_event()
623 BPFProgTable BPF::get_prog_table(const std::string& name) { in get_prog_table()
630 BPFCgroupArray BPF::get_cgroup_array(const std::string& name) { in get_cgroup_array()
637 BPFDevmapTable BPF::get_devmap_table(const std::string& name) { in get_devmap_table()
644 BPFStackTable BPF::get_stack_table(const std::string& name, bool use_debug_file, in get_stack_table()
652 std::string BPF::get_uprobe_event(const std::string& binary_path, in get_uprobe_event()
656 res += sanitize_str(binary_path, &BPF::uprobe_path_validator); in get_uprobe_event()
663 StatusTuple BPF::detach_kprobe_event(const std::string& event, in detach_kprobe_event()
672 StatusTuple BPF::detach_uprobe_event(const std::string& event, in detach_uprobe_event()
681 StatusTuple BPF::detach_tracepoint_event(const std::string& tracepoint, in detach_tracepoint_event()
690 StatusTuple BPF::detach_perf_event_all_cpu(open_probe_t& attr) { in detach_perf_event_all_cpu()