[sysprof] callgraph: use last valid context



commit 8a47f72749d566e5be0c7bb1b61e44339f0f8ecc
Author: Christian Hergert <chergert redhat com>
Date:   Mon Jan 29 01:30:24 2018 -0800

    callgraph: use last valid context

 lib/callgraph/sp-callgraph-profile.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/lib/callgraph/sp-callgraph-profile.c b/lib/callgraph/sp-callgraph-profile.c
index f224638..a29a16e 100644
--- a/lib/callgraph/sp-callgraph-profile.c
+++ b/lib/callgraph/sp-callgraph-profile.c
@@ -368,7 +368,7 @@ sp_callgraph_profile_generate_worker (GTask        *task,
                   str = sp_symbol_resolver_resolve_with_context (resolver,
                                                                  sample->frame.time,
                                                                  sample->frame.pid,
-                                                                 context,
+                                                                 last_context,
                                                                  address,
                                                                  &tag);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]