diff --git a/src/attached_probe.cpp b/src/attached_probe.cpp index d7905cd..adbd40c 100644 --- a/src/attached_probe.cpp +++ b/src/attached_probe.cpp @@ -376,7 +376,7 @@ void AttachedProbe::load_prog() void AttachedProbe::attach_kprobe() { int perf_event_fd = bpf_attach_kprobe(progfd_, attachtype(probe_.type), - eventname().c_str(), probe_.attach_point.c_str(), 0); + eventname().c_str(), probe_.attach_point.c_str(), 0, -1); if (perf_event_fd < 0) { if (probe_.orig_name != probe_.name) {