Re: [PATCH, RFC] sysfs: relay channel buffers as sysfs attributes

From: Greg KH
Date: Mon Feb 20 2006 - 17:34:02 EST


On Mon, Feb 20, 2006 at 12:37:32PM -0500, Mathieu Desnoyers wrote:
>
> debugfs seems to offer really too much flexibility for what LTTng needs. It
> doesn't really have to redefine "new" operations : the poll/ioctl used by LTTng
> could in fact be integrated into RelayFS and simplify the file reading
> operation.

Heh, you don't _have_ to use all of the flexibility in debugfs if you
don't want to do so. Why not create a simple debugfs wrapper function
(like the ones already present) to create the file in the format that
you wish to have it in? I'd be glad to accept such a patch.

And yes, I think LTT should be using debugfs, as that is exactly what it
was created for (debugging stuff.)

thanks,

greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/