bcc-python: support attach_func() and detach_func() (#3479)
authorzcy <zcy.chenyue.zhou@gmail.com>
Mon, 14 Jun 2021 05:59:22 +0000 (13:59 +0800)
committerGitHub <noreply@github.com>
Mon, 14 Jun 2021 05:59:22 +0000 (22:59 -0700)
commit5934161d62eaed3a0aa3109371cc5ccea81cc579
tree4135e23e7e814358b1bef39e78b1f0fc758b53a0
parentce7e52330a0064c3c84ab5a84d189a41d2afb754
bcc-python: support attach_func() and detach_func() (#3479)

 - support attach_func() and detach_func().
 - add an sockmap issue to demonstrate using these two functions.
docs/reference_guide.md
examples/networking/sockmap.py [new file with mode: 0755]
src/python/bcc/__init__.py
src/python/bcc/libbcc.py