summaryrefslogtreecommitdiffstats
path: root/src/backtrace.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2011-08-17 12:46:48 +0200
committerHarald Welte <laforge@gnumonks.org>2011-08-17 17:14:11 +0200
commitba6988bd893eb08c54ffdb144700530e3a683d6e (patch)
tree0ae180c7c7bd072c5e11b32e2dc1f2200dea8f34 /src/backtrace.c
parent03bba4313f9e6f880ec5cadcb66a0df9663349b9 (diff)
some more doxygen work (include the notion of modules)
Diffstat (limited to 'src/backtrace.c')
-rw-r--r--src/backtrace.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/backtrace.c b/src/backtrace.c
index dfe03059..189a3cec 100644
--- a/src/backtrace.c
+++ b/src/backtrace.c
@@ -22,6 +22,10 @@
*
*/
+/*! \file backtrace.c
+ * \brief Routines realted to generating call back traces
+ */
+
#include <stdio.h>
#include <stdlib.h>
#include <osmocom/core/utils.h>
@@ -29,6 +33,12 @@
#ifdef HAVE_EXECINFO_H
#include <execinfo.h>
+
+/*! \brief Generate and print a call back-trace
+ *
+ * This function will generate a function call back-trace of the
+ * current process and print it to stdout
+ */
void osmo_generate_backtrace(void)
{
int i, nptrs;