[sysprof] elf: ignore address context that is not user
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sysprof] elf: ignore address context that is not user
- Date: Mon, 29 Jan 2018 09:39:14 +0000 (UTC)
commit 2f6b01781fd489e1028e7cee9dc679b47ea33350
Author: Christian Hergert <chergert redhat com>
Date: Mon Jan 29 01:29:31 2018 -0800
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.
lib/symbols/sp-elf-symbol-resolver.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/lib/symbols/sp-elf-symbol-resolver.c b/lib/symbols/sp-elf-symbol-resolver.c
index d2f2800..5b55f6e 100644
--- a/lib/symbols/sp-elf-symbol-resolver.c
+++ b/lib/symbols/sp-elf-symbol-resolver.c
@@ -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));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]