technology: return already enabled when tethering is enabled
[framework/connectivity/connman.git] / doc / backtrace.txt
1 ConnMan backtraces
2 ******************
3
4 ConnMan dumps backtraces upon segmentation faults, bus errors and other
5 crashing signals. Regardless of the debug level you started connmand with, the
6 backtrace will be dumped to syslog.
7
8 The ConnMan backtraces start with the following line:
9         -------- backtrace --------
10 and will try to display function names if those can be resolved from the stack
11 addresses. All static functions name will not appear for example.
12
13 For a more complete and useful stack frame output you can use the
14 test/backtrace script. It takes the actual binary that crashed and the
15 connmand logs. The logs can contain any connman debug strings on top of the
16 backtrace.
17
18 Here is an example of the backtrace script usage:
19
20 me@localhost:[~]$ backtrace /sbin/connmand connman.log
21 -------- backtrace --------
22 [0]: __connman_debug_list_available() [log.c:117]
23 [1]: connman_driver_register() [element.c:515]
24 [2]: __connman_driver_rescan() [element.c:490]
25 [3]: disable_technology() [manager.c:391]
26 [4]: generic_message() [object.c:262]
27 -----------------------------------
28