Thread (9 messages) 9 messages, 3 authors, 2016-02-11

Backtrace of every the threads

From: Valdis.Kletnieks at vt.edu <hidden>
Date: 2016-02-11 18:05:32

On Thu, 11 Feb 2016 14:56:32 +0100, Ricardo Ribalda Delgado said:
quoted
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 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help