Commit 8084f8c1 authored by Brenden Blanco's avatar Brenden Blanco

Merge pull request #557 from ryanmiao/mypr

set use_errno to True for libbcc.so
parents 4004295f f4a3e41a
......@@ -14,7 +14,7 @@
import ctypes as ct
lib = ct.CDLL("libbcc.so.0")
lib = ct.CDLL("libbcc.so.0", use_errno=True)
# keep in sync with bpf_common.h
lib.bpf_module_create_b.restype = ct.c_void_p
......
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