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.
This commit is contained in:
Christian Hergert
2018-01-28 22:16:59 -08:00
parent bb78a1c165
commit acab78da72

View File

@ -363,11 +363,12 @@ sp_callgraph_profile_generate_worker (GTask *task,
GQuark tag = 0; GQuark tag = 0;
gchar *str; gchar *str;
str = sp_symbol_resolver_resolve (resolver, str = sp_symbol_resolver_resolve_with_context (resolver,
sample->frame.time, sample->frame.time,
sample->frame.pid, sample->frame.pid,
address, context,
&tag); address,
&tag);
if (str != NULL) if (str != NULL)
{ {