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:
e48f7c9
)
python - set attach_xdp's default flag value to 0
author
Gabriel Ganne
<gabriel.ganne@enea.com>
Wed, 16 Aug 2017 07:23:09 +0000
(09:23 +0200)
committer
Brenden Blanco
<bblanco@gmail.com>
Wed, 16 Aug 2017 19:03:56 +0000
(12:03 -0700)
Signed-off-by: Gabriel Ganne <gabriel.ganne@enea.com>
src/python/bcc/__init__.py
patch
|
blob
|
history
diff --git
a/src/python/bcc/__init__.py
b/src/python/bcc/__init__.py
index
7127f51
..
5488f52
100644
(file)
--- a/
src/python/bcc/__init__.py
+++ b/
src/python/bcc/__init__.py
@@
-572,7
+572,7
@@
class BPF(object):
self._del_kprobe(ev_name)
@staticmethod
- def attach_xdp(dev, fn, flags):
+ def attach_xdp(dev, fn, flags
=0
):
'''
This function attaches a BPF function to a device on the device
driver level (XDP)