cio_debugfs.c 520 B

1234567891011121314151617181920212223
  1. // SPDX-License-Identifier: GPL-2.0
  2. /*
  3. * S/390 common I/O debugfs interface
  4. *
  5. * Copyright IBM Corp. 2021
  6. * Author(s): Vineeth Vijayan <[email protected]>
  7. */
  8. #include <linux/debugfs.h>
  9. #include "cio_debug.h"
  10. struct dentry *cio_debugfs_dir;
  11. /* Create the debugfs directory for CIO under the arch_debugfs_dir
  12. * i.e /sys/kernel/debug/s390/cio
  13. */
  14. static int __init cio_debugfs_init(void)
  15. {
  16. cio_debugfs_dir = debugfs_create_dir("cio", arch_debugfs_dir);
  17. return 0;
  18. }
  19. subsys_initcall(cio_debugfs_init);