From 125f91c9ec93347a6138871d259147e180c55606 Mon Sep 17 00:00:00 2001 From: David Zeuthen Date: Thu, 6 May 2010 11:07:34 -0400 Subject: Add note about how it would be cute to give more info about fds --- gdbus/gdbusconnection.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/gdbus/gdbusconnection.c b/gdbus/gdbusconnection.c index dfb2745..aee5340 100644 --- a/gdbus/gdbusconnection.c +++ b/gdbus/gdbusconnection.c @@ -30,6 +30,20 @@ * e.g. X11 D-Bus transports without dlopen()'ing or linking against * libX11 from libgio. * - see g_dbus_address_connect() in gdbusaddress.c + * + * - would be cute to use kernel-specific APIs to resolve fds for + * debug output when using G_DBUS_DEBUG=messages, e.g. in addition to + * + * fd 21: dev=8:1,mode=0100644,ino=1171231,uid=0,gid=0,rdev=0:0,size=234,atime=1273070640,mtime=1267126160,ctime=1267126160 + * + * maybe we can show more information about what fd 21 really is. + * Ryan suggests looking in /proc/self/fd for clues / symlinks! + * Initial experiments on Linux 2.6 suggests that the symlink looks + * like this: + * + * 3 -> /proc/18068/fd + * + * e.g. not of much use. */ #include "config.h" -- cgit v1.2.3