From d1eda334f36e517b74904fd339d4d4433cc80fde Mon Sep 17 00:00:00 2001 From: Anatoly Yakovenko Date: Thu, 7 Jun 2018 08:22:38 -0700 Subject: [PATCH] gdb --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index 817065268c..ac2f27ec91 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 ---