mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
elf: ignore address context that is not user
We should be betting a context change as part of the stack, so ignore it if we didn't get a user context.
This commit is contained in:
@ -266,7 +266,7 @@ sp_elf_symbol_resolver_resolve_with_context (SpSymbolResolver *resolver,
|
||||
|
||||
g_assert (SP_IS_ELF_SYMBOL_RESOLVER (self));
|
||||
|
||||
if (context != SP_ADDRESS_CONTEXT_USER && context != SP_ADDRESS_CONTEXT_NONE)
|
||||
if (context != SP_ADDRESS_CONTEXT_USER)
|
||||
return NULL;
|
||||
|
||||
lookaside = g_hash_table_lookup (self->lookasides, GINT_TO_POINTER (pid));
|
||||
|
||||
Reference in New Issue
Block a user