mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
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:
@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user