blob: 532410998684d94c59943c065c315b930b48ae0b [file] [log] [blame]
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00001// SPDX-License-Identifier: GPL-2.0
2#include <linux/init.h>
3#include <linux/debugfs.h>
4#include <linux/slab.h>
5
6#include "debugfs.h"
7
8static struct dentry *d_xen_debug;
9
10struct dentry * __init xen_init_debugfs(void)
11{
David Brazdil0f672f62019-12-10 10:32:29 +000012 if (!d_xen_debug)
Andrew Scullb4b6d4a2019-01-02 15:54:55 +000013 d_xen_debug = debugfs_create_dir("xen", NULL);
Andrew Scullb4b6d4a2019-01-02 15:54:55 +000014 return d_xen_debug;
15}
16