Is there a way to print stacktrace of all threads without attaching GDB?
Or is there a command which I can use as gdb batch mode to print stacktrace of all threads?
I've been using this:
pidof program | xargs -n1 sudo gdb --batch -ex "thread apply all bt" -p