Staging
v0.5.1
swh:1:snp:a902887e4be9191b7c6c4406aa06b31c1ce2c7cc
Raw File
Tip revision: 568035b01cfb107af8d2e4bd2fb9aea22cf5b868 authored by Linus Torvalds on 14 August 2022, 22:50:18 UTC
Linux 6.0-rc1
Tip revision: 568035b
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