[PATCH] drm: hollow-out GET_CLIENT ioctl

2013-07-17 Thread David Herrmann
Hi On Tue, Jul 16, 2013 at 3:14 PM, Daniel Vetter wrote: > We not only have debugfs files to do pretty much the equivalent of > lsof, we also have an ioctl. Not that compared to lsof this dumps a > wee bit more information, but we can still get at that from debugfs > easily. > > I've dug around

Re: [PATCH] drm: hollow-out GET_CLIENT ioctl

2013-07-17 Thread David Herrmann
Hi On Tue, Jul 16, 2013 at 3:14 PM, Daniel Vetter wrote: > We not only have debugfs files to do pretty much the equivalent of > lsof, we also have an ioctl. Not that compared to lsof this dumps a > wee bit more information, but we can still get at that from debugfs > easily. > > I've dug around i

[PATCH] drm: hollow-out GET_CLIENT ioctl

2013-07-16 Thread Daniel Vetter
We not only have debugfs files to do pretty much the equivalent of lsof, we also have an ioctl. Not that compared to lsof this dumps a wee bit more information, but we can still get at that from debugfs easily. I've dug around in mesa, libdrm and ddx histories and the only users seem to be drm/tes

[PATCH] drm: hollow-out GET_CLIENT ioctl

2013-07-16 Thread Chris Wilson
On Tue, Jul 16, 2013 at 03:14:15PM +0200, Daniel Vetter wrote: > We not only have debugfs files to do pretty much the equivalent of > lsof, we also have an ioctl. Not that compared to lsof this dumps a > wee bit more information, but we can still get at that from debugfs > easily. Hmm, why are ret

Re: [PATCH] drm: hollow-out GET_CLIENT ioctl

2013-07-16 Thread Chris Wilson
On Tue, Jul 16, 2013 at 03:14:15PM +0200, Daniel Vetter wrote: > We not only have debugfs files to do pretty much the equivalent of > lsof, we also have an ioctl. Not that compared to lsof this dumps a > wee bit more information, but we can still get at that from debugfs > easily. Hmm, why are ret

[PATCH] drm: hollow-out GET_CLIENT ioctl

2013-07-16 Thread Daniel Vetter
We not only have debugfs files to do pretty much the equivalent of lsof, we also have an ioctl. Not that compared to lsof this dumps a wee bit more information, but we can still get at that from debugfs easily. I've dug around in mesa, libdrm and ddx histories and the only users seem to be drm/tes