lib/debug_info.c
Source file repositories/reference/linux-study-clean/lib/debug_info.c
File Facts
- System
- Linux kernel
- Corpus path
lib/debug_info.c- Extension
.c- Size
- 782 bytes
- Lines
- 28
- Domain
- Kernel Services
- Bucket
- lib
- Inferred role
- Kernel Services: implementation source
- Status
- source implementation candidate
Why This File Exists
Shared kernel service surface used by multiple subsystems, including helpers, cryptography, virtualization support, and async I/O infrastructure.
- Shared kernel service surface used by multiple subsystems, including helpers, cryptography, virtualization support, and async I/O infrastructure.
Dependency Surface
linux/cred.hlinux/crypto.hlinux/dcache.hlinux/device.hlinux/fs.hlinux/fscache-cache.hlinux/io.hlinux/kallsyms.hlinux/kernel.hlinux/kobject.hlinux/mm.hlinux/module.hlinux/net.hlinux/sched.hlinux/slab.hlinux/stdarg.hlinux/types.hnet/addrconf.hnet/sock.hnet/tcp.h
Detected Declarations
- No top-level syscall, struct, function, initcall, or export declaration detected by the generator.
Annotated Snippet
// SPDX-License-Identifier: GPL-2.0
/*
* This file exists solely to ensure debug information for some core
* data structures is included in the final image even for
* CONFIG_DEBUG_INFO_REDUCED. Please do not add actual code. However,
* adding appropriate #includes is fine.
*/
#include <linux/cred.h>
#include <linux/crypto.h>
#include <linux/dcache.h>
#include <linux/device.h>
#include <linux/fs.h>
#include <linux/fscache-cache.h>
#include <linux/io.h>
#include <linux/kallsyms.h>
#include <linux/kernel.h>
#include <linux/kobject.h>
#include <linux/mm.h>
#include <linux/module.h>
#include <linux/net.h>
#include <linux/sched.h>
#include <linux/slab.h>
#include <linux/stdarg.h>
#include <linux/types.h>
#include <net/addrconf.h>
#include <net/sock.h>
#include <net/tcp.h>
Annotation
- Immediate include surface: `linux/cred.h`, `linux/crypto.h`, `linux/dcache.h`, `linux/device.h`, `linux/fs.h`, `linux/fscache-cache.h`, `linux/io.h`, `linux/kallsyms.h`.
- Atlas domain: Kernel Services / lib.
- Implementation status: source implementation candidate.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.