Home
last modified time | relevance | path

Searched refs:probe_event (Results 1 – 1 of 1) sorted by relevance

/external/bcc/src/cc/api/
DBPF.cc169 std::string probe_event = get_kprobe_event(kernel_func, attach_type); in attach_kprobe() local
170 if (kprobes_.find(probe_event) != kprobes_.end()) in attach_kprobe()
171 return StatusTuple(-1, "kprobe %s already attached", probe_event.c_str()); in attach_kprobe()
176 int res_fd = bpf_attach_kprobe(probe_fd, attach_type, probe_event.c_str(), in attach_kprobe()
189 kprobes_[probe_event] = std::move(p); in attach_kprobe()
202 std::string probe_event = get_uprobe_event(module, offset, attach_type, pid); in attach_uprobe() local
203 if (uprobes_.find(probe_event) != uprobes_.end()) in attach_uprobe()
204 return StatusTuple(-1, "uprobe %s already attached", probe_event.c_str()); in attach_uprobe()
209 int res_fd = bpf_attach_uprobe(probe_fd, attach_type, probe_event.c_str(), in attach_uprobe()
224 uprobes_[probe_event] = std::move(p); in attach_uprobe()