Date: Fri, 02 Mar 2012 16:49:43 -0800 From: Yuri <yuri@rawbw.com> To: freebsd-hackers@FreeBSD.org Subject: Can I take a snapshot of the current stack for every thread in some process from outside? Message-ID: <4F516AA7.8060606@rawbw.com>
next in thread | raw e-mail | index | archive | help
I have the multithreaded process, each thread has some stack state at each point of time. For example during the timer tick when processes are switched? Is there a way to take a snapshot without disrupting a process? I was thinking gdb, but it requires the process to exit the system call to attach (?). DTrace is only activated particular sensors are crossed. So is there such a tool/command? Yuri
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F516AA7.8060606>