linux - "No impact" stacktrace across all threads of a running process? -


how can stacktraces across threads of running process, on linux x64, in way least invasive , impacting possible?

things i've thought of till now:

  • gdb - i'm afraid slow process much, , long;
  • strace+ - no idea performance has, experience anybody? still, iiuc, traces syscalls, , can't expect each thread enters syscall, threads may hanging;
  • force crash & coredump - yeah... if easily, busy debugging... please, let's assume there's no elephant in room, purpose of question, ok?... pretty please...

there's gcore utility comes gdb. don't need force crash core dump.


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -