lkml.org 
[lkml]   [2006]   [Feb]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH, RFC] sysfs: relay channel buffers as sysfs attributes
    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@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2006-02-20 23:39    [W:0.025 / U:0.624 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site