kernel/trace/rv/monitors/snep/snep.c
Source file repositories/reference/linux-study-clean/kernel/trace/rv/monitors/snep/snep.c
File Facts
- System
- Linux kernel
- Corpus path
kernel/trace/rv/monitors/snep/snep.c- Extension
.c- Size
- 2304 bytes
- Lines
- 94
- 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/ftrace.hlinux/tracepoint.hlinux/kernel.hlinux/module.hlinux/init.hlinux/rv.hrv/instrumentation.htrace/events/sched.htrace/events/preemptirq.hrv_trace.hmonitors/sched/sched.hsnep.hrv/da_monitor.h
Detected Declarations
function handle_preempt_disablefunction handle_preempt_enablefunction handle_schedule_entryfunction handle_schedule_exitfunction enable_snepfunction disable_snepfunction register_snepfunction unregister_snepmodule init register_snep
Annotated Snippet
module_init(register_snep);
module_exit(unregister_snep);
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Gabriele Monaco <gmonaco@redhat.com>");
MODULE_DESCRIPTION("snep: schedule does not enable preempt.");
Annotation
- Immediate include surface: `linux/ftrace.h`, `linux/tracepoint.h`, `linux/kernel.h`, `linux/module.h`, `linux/init.h`, `linux/rv.h`, `rv/instrumentation.h`, `trace/events/sched.h`.
- Detected declarations: `function handle_preempt_disable`, `function handle_preempt_enable`, `function handle_schedule_entry`, `function handle_schedule_exit`, `function enable_snep`, `function disable_snep`, `function register_snep`, `function unregister_snep`, `module init register_snep`.
- 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.