diff options
author | Samuel Ortiz <sameo@linux.intel.com> | 2010-08-17 17:49:01 +0200 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2010-08-17 17:50:28 +0200 |
commit | a81257ccf5d17f9733b767c61be84820f4033321 (patch) | |
tree | 44cce64b359230559d60c5f05b1032290521db1a /doc/backtrace.txt | |
parent | f188bb9f375dc34491bd944677d92c5184017cca (diff) | |
download | connman-a81257ccf5d17f9733b767c61be84820f4033321.tar.gz connman-a81257ccf5d17f9733b767c61be84820f4033321.tar.bz2 connman-a81257ccf5d17f9733b767c61be84820f4033321.zip |
Backtrace support documentation
Diffstat (limited to 'doc/backtrace.txt')
-rw-r--r-- | doc/backtrace.txt | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/doc/backtrace.txt b/doc/backtrace.txt new file mode 100644 index 00000000..951aa06a --- /dev/null +++ b/doc/backtrace.txt @@ -0,0 +1,28 @@ +ConnMan backtraces +****************** + +ConnMan dumps backtraces upon segmentation faults, bus errors and other +crashing signals. Regardless of the debug level you started connmand with, the +backtrace will be dumped to syslog. + +The ConnMan backtraces start with the following line: + ++++++++ ConnMan backtrace ++++++++ +and will try to display function names if those can be resolved from the stack +addresses. All static functions name will not appeared for example. + +For a more complete and useful stack frame output you can use the +test/backtrace script. It takes the actual binary that crashed and the +connmand logs. The logs can contain any connman debug strings on top of the +backtrace. + +Here is an example of the backtrace script usage: + +me@localhost:[~]$ backtrace /sbin/connmand connman.log +-------- ConnMan backtrace -------- +[0]: __connman_debug_list_available() [log.c:117] +[1]: connman_driver_register() [element.c:515] +[2]: __connman_driver_rescan() [element.c:490] +[3]: disable_technology() [manager.c:391] +[4]: generic_message() [object.c:262] +----------------------------------- + |