Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
at v5.9-rc2 14 lines 326 B view raw
1// SPDX-License-Identifier: GPL-2.0 2#include <linux/module.h> 3#include <linux/init.h> 4#include <linux/debugfs.h> 5 6struct dentry *arch_debugfs_dir; 7EXPORT_SYMBOL(arch_debugfs_dir); 8 9static int __init arch_kdebugfs_init(void) 10{ 11 arch_debugfs_dir = debugfs_create_dir("sh", NULL); 12 return 0; 13} 14arch_initcall(arch_kdebugfs_init);