Autoload kprobes for all types of trace_* functions
authorBrenden Blanco <bblanco@plumgrid.com>
Wed, 9 Sep 2015 18:55:38 +0000 (11:55 -0700)
committerBrenden Blanco <bblanco@plumgrid.com>
Wed, 9 Sep 2015 19:23:49 +0000 (12:23 -0700)
commitab660b3769ac10076f79c4f22963d6c7eb6f46a5
treeca0e8adb9a6c27e061d33fdb98b7862628f0419e
parentd014a29364bcc5f900d056e4e33d44212fa4d22d
Autoload kprobes for all types of trace_* functions

The previous patch #195 for autoloading of kprobes only did it for
trace_print. Turn this feature on for all trace_* functions. This
requires that these functions are also no longer staticmethods.

Enable the feature in examples/disksnoop.py

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