|
SimGrid
3.14.159
Versatile Simulation of Distributed Systems
|
#include <sstream>#include <string>#include <vector>#include <boost/algorithm/string.hpp>#include <unistd.h>#include <execinfo.h>#include <sys/stat.h>#include <xbt/string.hpp>#include <xbt/backtrace.hpp>#include "xbt/ex.h"#include "src/xbt/ex_interface.h"#include "xbt/log.h"#include "xbt/str.h"#include "xbt/module.h"#include "src/xbt_modinter.h"#include <unwind.h>Classes | |
| struct | trace_arg |
Namespaces | |
| simgrid | |
| Host datatype from SIMIX POV. | |
| simgrid::xbt | |
Functions | |
| static _Unwind_Reason_Code | backtrace_helper (struct _Unwind_Context *ctx, void *a) |
| int | xbt_backtrace_no_malloc (void **array, int size) |
| reimplementation of glibc backtrace based directly on gcc library, without implicit malloc More... | |
| size_t | xbt_backtrace_current (xbt_backtrace_location_t *loc, std::size_t count) |
| static std::string | simgrid::xbt::get_binary_path () |
| Find the path of the binary file from the name found in argv. More... | |
| std::vector< std::string > | simgrid::xbt::resolveBacktrace (xbt_backtrace_location_t const *loc, std::size_t count) |
Variables | |
| char ** | environ |
|
static |
| int xbt_backtrace_no_malloc | ( | void ** | array, |
| int | size | ||
| ) |
reimplementation of glibc backtrace based directly on gcc library, without implicit malloc
See http://people.irisa.fr/Martin.Quinson/blog/2012/0208/system_programming_fun_in_SimGrid/ for the motivation behind this function
| size_t xbt_backtrace_current | ( | xbt_backtrace_location_t * | loc, |
| std::size_t | count | ||
| ) |
| char** environ |