Re: [GIT PULL] pipe: Notification queue preparation

From: Linus Torvalds
Date: Thu Dec 05 2019 - 12:13:04 EST


On Thu, Dec 5, 2019 at 5:57 AM David Howells <dhowells@xxxxxxxxxx> wrote:
>
> David Sterba <dsterba@xxxxxxx> 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