Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/iovisor/bcc
/ test_ksym
Method
test_ksym
tests/python/test_debuginfo.py:40–44 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
38
self.assertNotEqual(sym, 0)
39
40
def
test_ksym(self):
41
(addr, aliases) = self.grab_sym()
42
sym = BPF.ksym(int(addr, 16))
43
found = sym in aliases
44
self.assertTrue(found)
45
46
class
Harness(TestCase):
47
def
setUp(self):
Callers
nothing calls this directly
Calls
2
grab_sym
Method · 0.95
ksym
Method · 0.80
Tested by
no test coverage detected