Searched refs:attachment (Results 1 – 1 of 1) sorted by relevance
244 const auto attachment = maybeAttachment.value(); in registerEvent() local245 int bpf_prog_fd = retrieveProgram(attachment.prog.c_str()); in registerEvent()247 PLOG(ERROR) << "memevent failed to retrieve pinned program from: " << attachment.prog; in registerEvent()259 if (bpf_attach_tracepoint(bpf_prog_fd, attachment.tpGroup.c_str(), attachment.tpEvent.c_str()) < in registerEvent()262 PLOG(ERROR) << "memevent failed to attach bpf program to " << attachment.tpGroup << "/" in registerEvent()263 << attachment.tpEvent << " tracepoint"; in registerEvent()314 const auto attachment = maybeAttachment.value(); in deregisterEvent() local315 if (bpf_detach_tracepoint(attachment.tpGroup.c_str(), attachment.tpEvent.c_str()) < 0) { in deregisterEvent()317 << attachment.tpGroup << "/" << attachment.tpEvent << " tracepoint"; in deregisterEvent()