diff options
author | Harald Welte <laforge@gnumonks.org> | 2012-07-14 12:30:53 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2012-07-14 12:30:53 +0200 |
commit | 45ecd04e541e47f51bc4cfc239c1c59e8d59155e (patch) | |
tree | d2e3d7d6ef88e38169765dca8459cc83bf143097 /include/osmocom/core | |
parent | 2fe684755a3c8181a4dde0f5dcabac9c0c5a809c (diff) |
backtrace: Add a variant that uses the libosmocore logging framework
I recently discovered that we can only print backtraces to stdout, which
is of course useless in a daemon environment. We'd rather want to use
the libosmocore logging framework instead.
Diffstat (limited to 'include/osmocom/core')
-rw-r--r-- | include/osmocom/core/backtrace.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/osmocom/core/backtrace.h b/include/osmocom/core/backtrace.h index 1ed089ad..a24290c5 100644 --- a/include/osmocom/core/backtrace.h +++ b/include/osmocom/core/backtrace.h @@ -2,5 +2,6 @@ #define _OSMO_BACKTRACE_H_ void osmo_generate_backtrace(void); +void osmo_log_backtrace(int subsys, int level); #endif |