This commit is contained in:
Anatoly Yakovenko 2018-06-07 08:22:38 -07:00 committed by Greg Fitzgerald
parent 2ae5ce9f2c
commit d1eda334f3
1 changed files with 11 additions and 0 deletions

View File

@ -210,6 +210,17 @@ to see the debug and info sections for streamer and server respectively. General
we are using debug for infrequent debug messages, trace for potentially frequent messages and we are using debug for infrequent debug messages, trace for potentially frequent messages and
info for performance-related logging. info for performance-related logging.
Attaching to a running process with gdb
```
$ sudo gdb
attach <PID>
set logging on
thread apply all bt
```
This will dump all the threads stack traces into gdb.txt
Benchmarking Benchmarking
--- ---