Commit b5aba54a authored by Brenden Blanco's avatar Brenden Blanco

Typo in retprobe case of _trace_autoload

Signed-off-by: default avatarBrenden Blanco <bblanco@plumgrid.com>
parent ab660b37
......@@ -548,7 +548,7 @@ class BPF(object):
if fn.name.startswith("kprobe__"):
self.attach_kprobe(event=fn.name[8:], fn_name=fn.name)
elif fn.name.startswith("kretprobe__"):
self.attach_kprobe(event=fn.name[11:], fn_name=fn.name)
self.attach_kretprobe(event=fn.name[11:], fn_name=fn.name)
def trace_open(self, nonblocking=False):
"""trace_open(nonblocking=False)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment