X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Utils%2FBacktrace.hh;h=03f47412e40e7e834670b2624a35f8b385170425;hb=2da517bbcdb2af10d2322fc762ca27774b53b435;hp=4861a3b6cf778ef255b65a6d23ba1681eee363ee;hpb=e879290346fe5242d7df2d70ee552d264081492f;p=senf.git diff --git a/Utils/Backtrace.hh b/Utils/Backtrace.hh index 4861a3b..03f4741 100644 --- a/Utils/Backtrace.hh +++ b/Utils/Backtrace.hh @@ -33,8 +33,27 @@ ///////////////////////////////hh.p//////////////////////////////////////// namespace senf { + /** \defgroup backtraces Backtrace formatting and parsing + These functions help format and barse backtrace information as returned by the glibc + ::backtrace function. + */ + + /** \brief Format a given backtrace + + This functions will write \a backtrace formatted to \a os. This includes demangling symbol + names and interpreting some additional kernel symbols. + + \ingroup backtraces + */ void formatBacktrace(std::ostream & os, void ** backtrace, unsigned numEntries); + + /** \brief Write a backtrace to \a os + + backtrace() will write a backtrace of the current call stack to \a os. + + \ingroup backtraces + */ void backtrace(std::ostream & os, unsigned numEntries); }