Staging
v0.8.1
https://github.com/torvalds/linux
Raw File
Tip revision: ff6992735ade75aae3e35d16b17da1008d753d28 authored by Linus Torvalds on 17 July 2022, 20:30:22 UTC
Linux 5.19-rc7
Tip revision: ff69927
cio_debugfs.c
// SPDX-License-Identifier: GPL-2.0
/*
 *   S/390 common I/O debugfs interface
 *
 *    Copyright IBM Corp. 2021
 *    Author(s): Vineeth Vijayan <vneethv@linux.ibm.com>
 */

#include <linux/debugfs.h>
#include "cio_debug.h"

struct dentry *cio_debugfs_dir;

/* Create the debugfs directory for CIO under the arch_debugfs_dir
 * i.e /sys/kernel/debug/s390/cio
 */
static int __init cio_debugfs_init(void)
{
	cio_debugfs_dir = debugfs_create_dir("cio", arch_debugfs_dir);

	return 0;
}
subsys_initcall(cio_debugfs_init);
back to top