libsysprof-analyze: give symbolizer access to address context

The kallsym symbol resolver will need this to short-circuit unless we're
within a kernel address context.
This commit is contained in:
Christian Hergert
2023-05-15 13:07:48 -07:00
parent 14e5cf06a5
commit 525b30a42f
7 changed files with 10 additions and 3 deletions

View File

@ -120,7 +120,7 @@ add_traceable (SysprofStrings *strings,
}
else
{
g_autoptr(SysprofSymbol) symbol = _sysprof_symbolizer_symbolize (symbolizer, strings, process_info, address);
g_autoptr(SysprofSymbol) symbol = _sysprof_symbolizer_symbolize (symbolizer, strings, process_info, last_context, address);
if (symbol != NULL)
sysprof_symbol_cache_take (process_info->symbol_cache, g_steal_pointer (&symbol));