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:
392f5ed
)
table.py: Call `__delitem__ when deleting an item :)
author
Vicent Marti
<tanoku@gmail.com>
Sat, 30 Apr 2016 12:00:11 +0000
(14:00 +0200)
committer
Vicent Marti
<tanoku@gmail.com>
Sat, 30 Apr 2016 12:19:40 +0000
(14:19 +0200)
src/python/bcc/table.py
patch
|
blob
|
history
diff --git
a/src/python/bcc/table.py
b/src/python/bcc/table.py
index
72d039c
..
993497e
100644
(file)
--- a/
src/python/bcc/table.py
+++ b/
src/python/bcc/table.py
@@
-372,7
+372,7
@@
class PerfEventArray(ArrayBase):
super(PerfEventArray, self).__init__(*args, **kwargs)
def __delitem__(self, key):
- super(PerfEventArray, self).__
init
__(key)
+ super(PerfEventArray, self).__
delitem
__(key)
self.close_perf_buffer(key)
def open_perf_buffer(self, callback):