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. :)

Attachment: pgpwQItBUxbEf.pgp
Description: PGP signature

_______________________________________________
Kernelnewbies mailing list
[email protected]
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Reply via email to