libsysprof: use embedded kallsyms when possible

This uses the kallysms that has been embedded in the capture file when
that is possible (such as when proc-source appends it).
This commit is contained in:
Christian Hergert
2019-05-27 18:05:15 -07:00
parent b8c30e3285
commit 874fb01c25
9 changed files with 195 additions and 82 deletions

View File

@ -31,10 +31,7 @@ G_BEGIN_DECLS
typedef struct
{
SysprofCaptureAddress address;
const gchar *name;
const gchar *name;
} SysprofKernelSymbol;
SYSPROF_AVAILABLE_IN_ALL
const SysprofKernelSymbol *sysprof_kernel_symbol_from_address (SysprofCaptureAddress address);
G_END_DECLS