arch/powerpc/kernel/kdebugfs.c

Source file repositories/reference/linux-study-clean/arch/powerpc/kernel/kdebugfs.c

File Facts

System
Linux kernel
Corpus path
arch/powerpc/kernel/kdebugfs.c
Extension
.c
Size
331 bytes
Lines
15
Domain
Architecture Layer
Bucket
arch/powerpc
Inferred role
Architecture Layer: exported/initcall integration point
Status
integration implementation candidate

Why This File Exists

CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.

Dependency Surface

Detected Declarations

Annotated Snippet

// SPDX-License-Identifier: GPL-2.0
#include <linux/debugfs.h>
#include <linux/export.h>
#include <linux/init.h>

struct dentry *arch_debugfs_dir;
EXPORT_SYMBOL(arch_debugfs_dir);

static int __init arch_kdebugfs_init(void)
{
	arch_debugfs_dir = debugfs_create_dir("powerpc", NULL);
	return 0;
}
arch_initcall(arch_kdebugfs_init);

Annotation

Implementation Notes