[lkml]   [2004]   [Dec]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [linux-usb-devel] [RFC PATCH] debugfs - yet another in-kernel file system
    On Fri, Dec 10, 2004 at 06:02:00PM -0800, David Brownell wrote:
    > On Friday 10 December 2004 5:39 pm, Greg KH wrote:
    > > > What I'd really want out of a debug file API is to resolve
    > > > the naming issues, work with seq_file, and "softly and
    > > > silently vanish away". I think this patch has the last
    > > > two, but not the first one!
    > >
    > > I considered adding a kobject as a paramater to the debugfs interface.
    > > The file created would be equal to the path that the kobject has. Would
    > > that work for you?
    > If I could pass device->kobj or driver->kobj, that'd be good.

    Ok, I'll work on adding that.

    > Will there be a /debug/devices tree parallel to /sys/devices?

    If the kobject name is devices/foo/whatever, then yes, it would then
    match up the same, if you create a debugfs file with the kobject. If
    you don't do that, then no, I'm not going to maintain a mirror directory
    image of sysfs in debugfs just for the fun of it :)


    greg k-h
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 14:08    [W:0.021 / U:14.864 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site