blob: 532410998684d94c59943c065c315b930b48ae0b [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001// SPDX-License-Identifier: GPL-2.0
Jeremy Fitzhardinge994025c2008-08-20 17:02:19 -07002#include <linux/init.h>
3#include <linux/debugfs.h>
Tejun Heo5a0e3ad2010-03-24 17:04:11 +09004#include <linux/slab.h>
Jeremy Fitzhardinge994025c2008-08-20 17:02:19 -07005
6#include "debugfs.h"
7
8static struct dentry *d_xen_debug;
9
10struct dentry * __init xen_init_debugfs(void)
11{
Greg Kroah-Hartmanad091372019-01-22 15:35:42 +010012 if (!d_xen_debug)
Jeremy Fitzhardinge994025c2008-08-20 17:02:19 -070013 d_xen_debug = debugfs_create_dir("xen", NULL);
Jeremy Fitzhardinge994025c2008-08-20 17:02:19 -070014 return d_xen_debug;
15}
16