From: Arnaud Giersch Date: Wed, 16 Oct 2019 20:06:46 +0000 (+0200) Subject: There is no need to use simix here. X-Git-Tag: v3.25~525 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/d3d3189379cdb1fc7b19de3950fee45f63721260?ds=sidebyside There is no need to use simix here. --- diff --git a/src/xbt/backtrace.cpp b/src/xbt/backtrace.cpp index a7c85854b4..74126b10af 100644 --- a/src/xbt/backtrace.cpp +++ b/src/xbt/backtrace.cpp @@ -5,11 +5,11 @@ #include "src/internal_config.h" -#include "simgrid/simix.h" /* SIMIX_process_self_get_name() */ #include #include #include #include +#include #include #include @@ -147,7 +147,7 @@ void Backtrace::display() const fprintf(stderr, "(backtrace not set -- did you install Boost.Stacktrace?)\n"); return; } - fprintf(stderr, "Backtrace (displayed in actor %s):\n", SIMIX_process_self_get_name()); + fprintf(stderr, "Backtrace (displayed in actor %s):\n", xbt_procname()); std::fprintf(stderr, "%s\n", backtrace.c_str()); }