kernel/trace/preemptirq_delay_test.c
Source file repositories/reference/linux-study-clean/kernel/trace/preemptirq_delay_test.c
File Facts
- System
- Linux kernel
- Corpus path
kernel/trace/preemptirq_delay_test.c- Extension
.c- Size
- 4791 bytes
- Lines
- 223
- Domain
- Core OS
- Bucket
- Scheduler, Processes, Timers, Sync, And Syscalls
- Inferred role
- Core OS: exported/initcall integration point
- Status
- integration implementation candidate
Why This File Exists
Core operating-system implementation surface: boot, tasks, memory, VFS, syscall-facing interfaces, synchronization, credentials, and isolation.
- Core operating-system implementation surface: boot, tasks, memory, VFS, syscall-facing interfaces, synchronization, credentials, and isolation.
- Exports symbols or registers init work; inspect boot/module ordering and who consumes the exported contract.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/trace_clock.hlinux/delay.hlinux/interrupt.hlinux/irq.hlinux/kernel.hlinux/kobject.hlinux/kthread.hlinux/module.hlinux/printk.hlinux/string.hlinux/sysfs.hlinux/completion.h
Detected Declarations
function busy_waitfunction irqoff_testfunction preemptoff_testfunction execute_preemptirqtestfunction preemptirq_delay_runfunction preemptirq_run_testfunction trigger_storefunction preemptirq_delay_initfunction preemptirq_delay_exitmodule init preemptirq_delay_init
Annotated Snippet
module_init(preemptirq_delay_init)
module_exit(preemptirq_delay_exit)
MODULE_DESCRIPTION("Preempt / IRQ disable delay thread to test latency tracers");
MODULE_LICENSE("GPL v2");
Annotation
- Immediate include surface: `linux/trace_clock.h`, `linux/delay.h`, `linux/interrupt.h`, `linux/irq.h`, `linux/kernel.h`, `linux/kobject.h`, `linux/kthread.h`, `linux/module.h`.
- Detected declarations: `function busy_wait`, `function irqoff_test`, `function preemptoff_test`, `function execute_preemptirqtest`, `function preemptirq_delay_run`, `function preemptirq_run_test`, `function trigger_store`, `function preemptirq_delay_init`, `function preemptirq_delay_exit`, `module init preemptirq_delay_init`.
- Atlas domain: Core OS / Scheduler, Processes, Timers, Sync, And Syscalls.
- Implementation status: integration 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.