Re: Backtrace of every the threads

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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: pgpSkJstSd9GW.pgp
Description: PGP signature

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux