Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
mask bottom of stacks when using sysv ctx
[simgrid.git] / src / xbt / backtrace_linux.c
index e5ddbb9..da489dc 100644 (file)
@@ -283,8 +283,8 @@ void xbt_ex_setup_backtrace(xbt_ex_t * e)
 
     /* Mask the bottom of the stack */
     if (!strncmp("main", line_func, strlen("main")) ||
-        !strncmp("xbt_thread_context_wrapper", line_func,
-                 strlen("xbt_thread_context_wrapper"))) {
+        !strncmp("xbt_thread_context_wrapper", line_func, strlen("xbt_thread_context_wrapper"))||
+        !strncmp("smx_ctx_sysv_wrapper",line_func,strlen("smx_ctx_sysv_wrapper"))) {
       int j;
 
       for (j = i + 1; j < e->used; j++)