From: Brenden Blanco Date: Wed, 9 Sep 2015 20:50:39 +0000 (-0700) Subject: Typo in retprobe case of _trace_autoload X-Git-Tag: v0.1.7~37^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b5aba54a4ced8733c98d52cee9f741d19bc1ea7e;p=platform%2Fupstream%2Fbcc.git Typo in retprobe case of _trace_autoload Signed-off-by: Brenden Blanco --- diff --git a/src/python/bcc/__init__.py b/src/python/bcc/__init__.py index 72055c3..776c329 100644 --- a/src/python/bcc/__init__.py +++ b/src/python/bcc/__init__.py @@ -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)