Fixes for address calculation
authorBrenden Blanco <bblanco@plumgrid.com>
Thu, 28 Jan 2016 22:18:46 +0000 (14:18 -0800)
committerBrenden Blanco <bblanco@plumgrid.com>
Thu, 28 Jan 2016 22:18:46 +0000 (14:18 -0800)
commit7468195f089bc4188ac0edead8d1583c67052619
tree630ec5c975e5ec309f023b3699e9271cd6e8fb8d
parent948cefe14ba1f18aa49732c5f2f65837c79572be
Fixes for address calculation

The calculation of function address in non-shared libraries was
incorrect. Fix it.

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