py3 probe registration compatibility fixes
authorMark Drayton <mbd@fb.com>
Wed, 27 Jul 2016 04:10:15 +0000 (05:10 +0100)
committerMark Drayton <mbd@fb.com>
Wed, 27 Jul 2016 19:59:12 +0000 (20:59 +0100)
commit1d6a31b1d186e01154bb8135e6470c9b2180c6eb
tree8b533e1576f466f8fdb8fab7cc70006701264b57
parent5938394e744aca68eb8fd80cda67ffe5473e6913
py3 probe registration compatibility fixes

* rework `_get_kprobe_functions` to avoid unclosed blacklist warning
* rework `cleanup` to avoid changing size of dict while iterating
* make handling return of `bpf_function_name` work in py2 and py3
src/python/bcc/__init__.py