Threading performance checker using GDB

gdb -ex “set pagination 0″ -ex “thread apply all bt” –batch -p ${pid} | awk ‘BEGIN { s = “”; } /Thread/ { print s; s = “”; } /^\#/ { if (s != “” ) { s = s “,” $4} else { s = $4 } } END... [more]