[sysprof] callgraph: use sp_symbol_resolver_resolve_with_context()
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sysprof] callgraph: use sp_symbol_resolver_resolve_with_context()
- Date: Mon, 29 Jan 2018 06:18:06 +0000 (UTC)
commit acab78da7226a41c8d5ac675f34634be394259fa
Author: Christian Hergert <chergert redhat com>
Date: Sun Jan 28 22:16:59 2018 -0800
callgraph: use sp_symbol_resolver_resolve_with_context()
We want to ensure that we give the resolve the address context so that it
can filter whether or not the address range applies.
lib/callgraph/sp-callgraph-profile.c | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/lib/callgraph/sp-callgraph-profile.c b/lib/callgraph/sp-callgraph-profile.c
index 9d6e8c9..9ff538a 100644
--- a/lib/callgraph/sp-callgraph-profile.c
+++ b/lib/callgraph/sp-callgraph-profile.c
@@ -363,11 +363,12 @@ sp_callgraph_profile_generate_worker (GTask *task,
GQuark tag = 0;
gchar *str;
- str = sp_symbol_resolver_resolve (resolver,
- sample->frame.time,
- sample->frame.pid,
- address,
- &tag);
+ str = sp_symbol_resolver_resolve_with_context (resolver,
+ sample->frame.time,
+ sample->frame.pid,
+ context,
+ address,
+ &tag);
if (str != NULL)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]