diff --git a/README.md b/README.md index 817065268..ac2f27ec9 100644 --- a/README.md +++ b/README.md @@ -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 info for performance-related logging. +Attaching to a running process with gdb + +``` +$ sudo gdb +attach +set logging on +thread apply all bt +``` + +This will dump all the threads stack traces into gdb.txt + Benchmarking ---