extern char **environ; /* the environment, as specified by the opengroup */
/* Module creation/destruction: nothing to do on linux */
-void xbt_backtrace_init(void)
+void xbt_backtrace_preinit(void)
{
}
-void xbt_backtrace_exit(void)
+void xbt_backtrace_postexit(void)
{
}
/* 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++)