SimGrid  3.14.159
Versatile Simulation of Distributed Systems
backtrace.cpp File Reference
#include <cstddef>
#include <cstdlib>
#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
 Host datatype from SIMIX POV.
 
 simgrid::xbt
 

Functions

 XBT_LOG_NEW_DEFAULT_SUBCATEGORY (xbt_backtrace, xbt, "Backtrace")
 
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"   
)

◆ xbt_backtrace_display()

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