projects
/
platform
/
upstream
/
bcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab660b3
)
Typo in retprobe case of _trace_autoload
author
Brenden Blanco
<bblanco@plumgrid.com>
Wed, 9 Sep 2015 20:50:39 +0000
(13:50 -0700)
committer
Brenden Blanco
<bblanco@plumgrid.com>
Wed, 9 Sep 2015 20:50:39 +0000
(13:50 -0700)
Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
src/python/bcc/__init__.py
patch
|
blob
|
history
diff --git
a/src/python/bcc/__init__.py
b/src/python/bcc/__init__.py
index
72055c3
..
776c329
100644
(file)
--- 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_k
ret
probe(event=fn.name[11:], fn_name=fn.name)
def trace_open(self, nonblocking=False):
"""trace_open(nonblocking=False)