1*4882a593Smuzhiyun // SPDX-License-Identifier: GPL-2.0 2*4882a593Smuzhiyun #include <linux/init.h> 3*4882a593Smuzhiyun #include <linux/debugfs.h> 4*4882a593Smuzhiyun #include <linux/slab.h> 5*4882a593Smuzhiyun 6*4882a593Smuzhiyun #include "debugfs.h" 7*4882a593Smuzhiyun 8*4882a593Smuzhiyun static struct dentry *d_xen_debug; 9*4882a593Smuzhiyun xen_init_debugfs(void)10*4882a593Smuzhiyunstruct dentry * __init xen_init_debugfs(void) 11*4882a593Smuzhiyun { 12*4882a593Smuzhiyun if (!d_xen_debug) 13*4882a593Smuzhiyun d_xen_debug = debugfs_create_dir("xen", NULL); 14*4882a593Smuzhiyun return d_xen_debug; 15*4882a593Smuzhiyun } 16*4882a593Smuzhiyun 17