blob: c8377fb26cdfc488fa7ea248de8369e3e0464373 [file] [log] [blame]
Jeremy Fitzhardinge994025c2008-08-20 17:02:19 -07001#include <linux/init.h>
2#include <linux/debugfs.h>
Tejun Heo5a0e3ad2010-03-24 17:04:11 +09003#include <linux/slab.h>
Jeremy Fitzhardinge994025c2008-08-20 17:02:19 -07004#include <linux/module.h>
5
6#include "debugfs.h"
7
8static struct dentry *d_xen_debug;
9
10struct dentry * __init xen_init_debugfs(void)
11{
12 if (!d_xen_debug) {
13 d_xen_debug = debugfs_create_dir("xen", NULL);
14
15 if (!d_xen_debug)
16 pr_warning("Could not create 'xen' debugfs directory\n");
17 }
18
19 return d_xen_debug;
20}
21