OpenSDN source code
BackTrace Class Reference

#include <backtrace.h>

Static Public Member Functions

static void Log (const std::string &msg)
 
static void Log (void *const *callstack, int frames, const std::string &msg)
 
static int Get (void *const *&callstack)
 

Static Private Member Functions

static ssize_t ToString (void *const *callstack, int frames, char *buf, size_t buf_len)
 

Detailed Description

Definition at line 16 of file backtrace.h.

Member Function Documentation

◆ Get()

int BackTrace::Get ( void *const *&  callstack)
static

Definition at line 63 of file backtrace.cc.

◆ Log() [1/2]

void BackTrace::Log ( const std::string &  msg)
static

Definition at line 78 of file backtrace.cc.

Here is the call graph for this function:

◆ Log() [2/2]

void BackTrace::Log ( void *const *  callstack,
int  frames,
const std::string &  msg 
)
static

Definition at line 68 of file backtrace.cc.

Here is the call graph for this function:

◆ ToString()

ssize_t BackTrace::ToString ( void *const *  callstack,
int  frames,
char *  buf,
size_t  buf_len 
)
staticprivate

Definition at line 14 of file backtrace.cc.


The documentation for this class was generated from the following files: