Handling multiple concurrent probe users.
authorDerek <“derek0883@gmail.com”>
Mon, 23 Jan 2017 04:58:23 +0000 (20:58 -0800)
committerDerek <“derek0883@gmail.com”>
Tue, 31 Jan 2017 03:08:58 +0000 (19:08 -0800)
commit35c250164e7e77a24e41827d908eb1900f7c94b1
treed76f854264b460dde5652f1dc223d1d2bf0a2a1c
parent727248b47811b5ea60fa0f02ba6724301d740bb7
Handling multiple concurrent probe users.
Event naming pattern changed to $(eventname)_bcc_$(pid)
Detect /sys/kernel/debug/tracing/instances in bpf_attach_probe,
if it exist, then will per-instance event, if failed the make global
event instance as same as before.
src/cc/BPF.cc
src/cc/libbpf.c
src/cc/libbpf.h
src/python/bcc/__init__.py
src/python/bcc/libbcc.py