Backtrace of every the threads
Valdis.Kletnieks at vt.edu
Valdis.Kletnieks at vt.edu
Thu Feb 11 13:05:32 EST 2016
On Thu, 11 Feb 2016 14:56:32 +0100, Ricardo Ribalda Delgado said:
> > What problem are you trying to solve by getting a trace of everything? (Hint -
> > what meaning does a userspace stack traceback have if you're looking at
> > the corresponding kernel stack trace?)
>
> I was doing:
>
> cat /dev/video0
>
> And the open() syscall sometimes was stalling.
>
> I wanted to know at what place open() syscall was waiting...
You can find *that* out by doing a 'cat /proc/NNNN/stack' for NNNN == process id.
No need to find *all* the stack traces for that. :)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 848 bytes
Desc: not available
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20160211/9247d273/attachment.bin
More information about the Kernelnewbies
mailing list