blob: 0f3706fadf5fa15a9d765d186dd1858efc390b89 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
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) {
|