diff options
author | Omar Sandoval <osandov@fb.com> | 2017-01-25 19:06:40 +0300 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2017-01-27 18:17:44 +0300 |
commit | 07e4fead45e6e1932f0b960655ab554b6aab6a08 (patch) | |
tree | 3e3a021a6232494e0492862660b2856368d7a196 /block/Makefile | |
parent | b48fda0976a802e0fe4fc0bedefb7cf380ec6426 (diff) | |
download | linux-07e4fead45e6e1932f0b960655ab554b6aab6a08.tar.xz |
blk-mq: create debugfs directory tree
In preparation for putting blk-mq debugging information in debugfs,
create a directory tree mirroring the one in sysfs:
# tree -d /sys/kernel/debug/block
/sys/kernel/debug/block
|-- nvme0n1
| `-- mq
| |-- 0
| | `-- cpu0
| |-- 1
| | `-- cpu1
| |-- 2
| | `-- cpu2
| `-- 3
| `-- cpu3
`-- vda
`-- mq
`-- 0
|-- cpu0
|-- cpu1
|-- cpu2
`-- cpu3
Also add the scaffolding for the actual files that will go in here,
either under the hardware queue or software queue directories.
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block/Makefile')
-rw-r--r-- | block/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/block/Makefile b/block/Makefile index 3ee0abd7205a..6cabe6bd2882 100644 --- a/block/Makefile +++ b/block/Makefile @@ -26,3 +26,4 @@ obj-$(CONFIG_BLK_DEV_INTEGRITY) += bio-integrity.o blk-integrity.o t10-pi.o obj-$(CONFIG_BLK_MQ_PCI) += blk-mq-pci.o obj-$(CONFIG_BLK_DEV_ZONED) += blk-zoned.o obj-$(CONFIG_BLK_WBT) += blk-wbt.o +obj-$(CONFIG_DEBUG_FS) += blk-mq-debugfs.o |