Add name to address ksym helper
authorBrenden Blanco <bblanco@plumgrid.com>
Tue, 23 Feb 2016 21:12:03 +0000 (13:12 -0800)
committerBrenden Blanco <bblanco@plumgrid.com>
Tue, 23 Feb 2016 21:12:03 +0000 (13:12 -0800)
commit2e2b26d83f2f6ecd16e2073c4a5dc98321b70e1b
treebde540165ffe0a1eec16757c7e28c5b1cfddcb72
parent54797f8b2760c5b4896a7a7ffaee8f52901a48bd
Add name to address ksym helper

Add a helper to translate from kernel name to symbol. As part of this,
slightly refactor the ksym globals (which are internal implementation
and not part of the api) so that there is one array of tuples instead of
two arrays.

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