summaryrefslogtreecommitdiff
path: root/drivers/s390/cio/cio_debug.h
diff options
context:
space:
mode:
authorVineeth Vijayan <vneethv@linux.ibm.com>2021-02-04 09:03:00 +0300
committerHeiko Carstens <hca@linux.ibm.com>2021-03-22 13:36:04 +0300
commit64a715ab4e91593465f62c8d9584dcc0279e5145 (patch)
treed6c952864d2b1d02d77522a0e0b12bf43fa4682c /drivers/s390/cio/cio_debug.h
parentdee60c0dbc837ddca8abcb868e53ca3e9d11ea4c (diff)
downloadlinux-64a715ab4e91593465f62c8d9584dcc0279e5145.tar.xz
s390/cio: introduce CIO debugfs directory
This patch introduces an s390 Common I/O layer debugfs directory that is intended to provide access to debugging-related CIO functions and data. The directory is created as /sys/kernel/debug/s390/cio Signed-off-by: Vineeth Vijayan <vneethv@linux.ibm.com> Reviewed-by: Peter Oberparleiter <oberpar@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'drivers/s390/cio/cio_debug.h')
-rw-r--r--drivers/s390/cio/cio_debug.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/s390/cio/cio_debug.h b/drivers/s390/cio/cio_debug.h
index 7bdbe73707c2..e6dcbd1be244 100644
--- a/drivers/s390/cio/cio_debug.h
+++ b/drivers/s390/cio/cio_debug.h
@@ -26,4 +26,7 @@ static inline void CIO_HEX_EVENT(int level, void *data, int length)
debug_event(cio_debug_trace_id, level, data, length);
}
+/* For the CIO debugfs related features */
+extern struct dentry *cio_debugfs_dir;
+
#endif