[GIT PULL] pipe: Notification queue preparation

Linus Torvalds torvalds at linux-foundation.org
Thu Dec 5 17:12:42 UTC 2019


On Thu, Dec 5, 2019 at 5:57 AM David Howells <dhowells at redhat.com> wrote:
>
> David Sterba <dsterba at suse.cz> wrote:
>
> > [<0>] pipe_write+0x1be/0x4b0
>
> Can you get me a line number of that?  Assuming you've built with -g, load
> vmlinux into gdb and do "i li pipe_write+0x1be".

If the kernel is built with debug info (which you need for the gdb
command anyway), it's much better to just use

   ./scripts/decode_stacktrace.sh

which gives all the information for the whole backtrace.

It would be interesting to hear if somebody else is waiting on the
read side too.

             Linus



More information about the Linux-security-module-archive mailing list