Denote auto-loading with k[ret]probe__ prefix
authorBrenden Blanco <bblanco@plumgrid.com>
Wed, 9 Sep 2015 05:58:49 +0000 (22:58 -0700)
committerBrenden Blanco <bblanco@plumgrid.com>
Wed, 9 Sep 2015 06:00:50 +0000 (23:00 -0700)
commite12a95da6e1ac460e33aa8a6090a121f6b49b91b
treee3a54b40cf3d926e816611c48fc17b47b5e1dc52
parentafea5ed8819ffe2b65077a22a04f14c8eca4ea56
Denote auto-loading with k[ret]probe__ prefix

Since kprobe functions will have a different prototype than the kernel
symbols they are attaching to, require that the user prefix the trace
function with a kprobe__ name to denote intent. kretprobe__ prefix is
also supported.

Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
examples/hello_world.py
src/python/bcc/__init__.py