xref: /kernel/linux/linux-6.6/arch/x86/xen/debugfs.c
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-6.6/arch/x86/xen/
162306a36Sopenharmony_ci// SPDX-License-Identifier: GPL-2.0
262306a36Sopenharmony_ci#include <linux/init.h>
362306a36Sopenharmony_ci#include <linux/debugfs.h>
462306a36Sopenharmony_ci#include <linux/slab.h>
562306a36Sopenharmony_ci
662306a36Sopenharmony_ci#include "debugfs.h"
762306a36Sopenharmony_ci
862306a36Sopenharmony_cistatic struct dentry *d_xen_debug;
962306a36Sopenharmony_ci
1062306a36Sopenharmony_cistruct dentry * __init xen_init_debugfs(void)
1162306a36Sopenharmony_ci{
1262306a36Sopenharmony_ci	if (!d_xen_debug)
1362306a36Sopenharmony_ci		d_xen_debug = debugfs_create_dir("xen", NULL);
1462306a36Sopenharmony_ci	return d_xen_debug;
1562306a36Sopenharmony_ci}
1662306a36Sopenharmony_ci
17

Indexes created Thu Nov 07 10:32:03 CST 2024