kallsyms: add API to extract kallsyms with strtok_r()

This will allow us to simplify some code, and provide an API in both
the lib and daemon to get symbols while sharing code.
This commit is contained in:
Christian Hergert
2018-01-28 21:26:17 -08:00
parent d1f0cfb1ce
commit 26343e3d2a
3 changed files with 191 additions and 0 deletions

View File

@ -28,12 +28,14 @@ libsysprof_base_headers = [
'sp-address.h',
'sp-clock.h',
'sp-error.h',
'sp-kallsyms.h',
]
libsysprof_base_sources = [
'sp-address.c',
'sp-clock.c',
'sp-error.c',
'sp-kallsyms.c',
]
libsysprof_headers = libsysprof_base_headers