• David Sterba's avatar
    btrfs: sysfs: add debugging exports · 6e369feb
    David Sterba authored
    Add 'debug' directories to global sysfs and per-filesystem. This will
    replace the debugfs directory. The sysfs location is simpler and builds
    on top of the existing file hierarchy so there will hopefully be no more
    questions about the sample debugfs file.
    
    The directory is called 'debug' and only present under
    CONFIG_BTRFS_DEBUG so this will not affect productions builds.
    Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
    6e369feb
sysfs.c 25.4 KB