Can I take a snapshot of the current stack for every thread in
	some process from outside?
    maksim yevmenkin 
    maksim.yevmenkin at gmail.com
       
    Sat Mar  3 01:23:31 UTC 2012
    
    
  
Gdb. Thread apply all bt. 
Thanks,
Max
On Mar 2, 2012, at 4:49 PM, Yuri <yuri at 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 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
> _______________________________________________
> freebsd-hackers at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org"
    
    
More information about the freebsd-hackers
mailing list