Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
mask bottom of stacks when using sysv ctx
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 24 Jun 2010 09:17:35 +0000 (09:17 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 24 Jun 2010 09:17:35 +0000 (09:17 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@7926 48e7efb5-ca39-0410-a469-dd3cf9ba447f

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++)