SimGrid  3.16
Versatile Simulation of Distributed Systems
backtrace.cpp File Reference
#include <cstddef>
#include <cstdlib>
#include <cstring>
#include <vector>
#include "simgrid/simix.h"
#include <xbt/backtrace.h>
#include <xbt/backtrace.hpp>
#include <xbt/log.h>
#include <xbt/sysdep.h>
#include "src/internal_config.h"
#include "src/xbt/backtrace_dummy.cpp"

Namespaces

 simgrid
 Alltoall Bruck.
 
 simgrid::xbt
 

Functions

 XBT_LOG_NEW_DEFAULT_SUBCATEGORY (xbt_backtrace, xbt, "Backtrace")
 
static bool startWith (std::string str, const char *prefix)
 
void xbt_backtrace_display (xbt_backtrace_location_t *loc, std::size_t count)
 
void xbt_backtrace_display_current ()
 show the backtrace of the current point (lovely while debugging) More...
 
std::unique_ptr< char, void(*)(void *)> simgrid::xbt::demangle (const char *name)
 
std::vector< xbt_backtrace_location_tsimgrid::xbt::backtrace ()
 Get the current backtrace. More...
 

Function Documentation

◆ XBT_LOG_NEW_DEFAULT_SUBCATEGORY()

XBT_LOG_NEW_DEFAULT_SUBCATEGORY ( xbt_backtrace  ,
xbt  ,
"Backtrace"   
)

◆ startWith()

static bool startWith ( std::string  str,
const char *  prefix 
)
static

◆ xbt_backtrace_display()

void xbt_backtrace_display ( xbt_backtrace_location_t loc,
std::size_t  count 
)