Searched refs:probe_event (Results 1 – 1 of 1) sorted by relevance
/external/bcc/src/cc/api/ |
D | BPF.cc | 168 std::string probe_event = get_kprobe_event(kernel_func, attach_type); in attach_kprobe() local 169 if (kprobes_.find(probe_event) != kprobes_.end()) in attach_kprobe() 170 return StatusTuple(-1, "kprobe %s already attached", probe_event.c_str()); in attach_kprobe() 175 int res_fd = bpf_attach_kprobe(probe_fd, attach_type, probe_event.c_str(), in attach_kprobe() 188 kprobes_[probe_event] = std::move(p); in attach_kprobe() 201 std::string probe_event = get_uprobe_event(module, offset, attach_type, pid); in attach_uprobe() local 202 if (uprobes_.find(probe_event) != uprobes_.end()) in attach_uprobe() 203 return StatusTuple(-1, "uprobe %s already attached", probe_event.c_str()); in attach_uprobe() 208 int res_fd = bpf_attach_uprobe(probe_fd, attach_type, probe_event.c_str(), in attach_uprobe() 223 uprobes_[probe_event] = std::move(p); in attach_uprobe()
|