Date: Fri, 2 Mar 2012 16:56:45 -0800 From: maksim yevmenkin <maksim.yevmenkin@gmail.com> To: Yuri <yuri@rawbw.com> Cc: "freebsd-hackers@FreeBSD.org" <freebsd-hackers@FreeBSD.org> Subject: Re: Can I take a snapshot of the current stack for every thread in some process from outside? Message-ID: <0380ADFC-CD78-4D41-894C-591D24EF9B35@gmail.com> In-Reply-To: <4F516AA7.8060606@rawbw.com> References: <4F516AA7.8060606@rawbw.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Gdb. Thread apply all bt.=20 Thanks, Max On Mar 2, 2012, at 4:49 PM, Yuri <yuri@rawbw.com> wrote: > 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 switche= d? > Is there a way to take a snapshot without disrupting a process? >=20 > I was thinking gdb, but it requires the process to exit the system call to= attach (?). > DTrace is only activated particular sensors are crossed. >=20 > So is there such a tool/command? >=20 > Yuri > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0380ADFC-CD78-4D41-894C-591D24EF9B35>