mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-09 14:40:54 +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));
|
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;
|
return NULL;
|
||||||
|
|
||||||
lookaside = g_hash_table_lookup (self->lookasides, GINT_TO_POINTER (pid));
|
lookaside = g_hash_table_lookup (self->lookasides, GINT_TO_POINTER (pid));
|
||||||
|
|||||||
Reference in New Issue
Block a user