git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ace0105
)
btrfs: add simple debugfs interface
author
David Sterba
<dsterba@suse.cz>
Wed, 5 Feb 2014 14:36:18 +0000
(15:36 +0100)
committer
Josef Bacik
<jbacik@fb.com>
Mon, 10 Mar 2014 19:15:51 +0000
(15:15 -0400)
Help during debugging to export various interesting infromation and
tunables without the need of extra mount options or ioctls.
Usage:
* declare your variable in sysfs.h, and include where you need it
* define the variable in sysfs.c and make it visible via
debugfs_create_TYPE
Depends on CONFIG_DEBUG_FS.
Signed-off-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Josef Bacik <jbacik@fb.com>
fs/btrfs/sysfs.c
patch
|
blob
|
history
fs/btrfs/sysfs.h
patch
|
blob
|
history
diff --cc
fs/btrfs/sysfs.c
Simple merge
diff --cc
fs/btrfs/sysfs.h
Simple merge