[PATCH] examples: Print PID of peer for unix sockets

Mark Wielaard mjw@redhat.com
Fri Oct 29 12:57:00 GMT 2010


On Fri, 2010-10-29 at 15:44 +0300, Timo Juhani Lindfors wrote:
> This information is very useful for debugging but is not normally
> available to userland since /proc/net/unix does not list it.

Indeed, very useful and a nice addition to the example. Pushed.

Would be nice to see if we could remove some more embedded-c stuff with
the use of @cast. Although I doubt we can do without -g completely for
pfiles.

Thanks,

Mark



More information about the Systemtap mailing list