mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-12 16:10:54 +00:00
callgraph: be more graceful with unwind failures
This commit is contained in:
@ -153,7 +153,7 @@ sysprof_callgraph_add_trace (SysprofCallgraph *self,
|
|||||||
SysprofCallgraphNode *parent;
|
SysprofCallgraphNode *parent;
|
||||||
|
|
||||||
g_assert (SYSPROF_IS_CALLGRAPH (self));
|
g_assert (SYSPROF_IS_CALLGRAPH (self));
|
||||||
g_assert (n_symbols > 2);
|
g_assert (n_symbols >= 2);
|
||||||
g_assert (symbols[n_symbols-1] == self->everything);
|
g_assert (symbols[n_symbols-1] == self->everything);
|
||||||
|
|
||||||
parent = &self->root;
|
parent = &self->root;
|
||||||
@ -232,7 +232,6 @@ sysprof_callgraph_add_traceable (SysprofCallgraph *self,
|
|||||||
stack_depth,
|
stack_depth,
|
||||||
&final_context);
|
&final_context);
|
||||||
|
|
||||||
g_assert (n_symbols > 0);
|
|
||||||
g_assert (n_symbols <= stack_depth);
|
g_assert (n_symbols <= stack_depth);
|
||||||
|
|
||||||
/* We saved 3 extra spaces for these above so that we can
|
/* We saved 3 extra spaces for these above so that we can
|
||||||
|
|||||||
Reference in New Issue
Block a user