kernel/trace/synth_event_gen_test.c
Source file repositories/reference/linux-study-clean/kernel/trace/synth_event_gen_test.c
File Facts
- System
- Linux kernel
- Corpus path
kernel/trace/synth_event_gen_test.c- Extension
.c- Size
- 14295 bytes
- Lines
- 537
- 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.
- Allocates kernel memory; connect allocation flags and lifetime to context constraints.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/module.hlinux/trace_events.h
Detected Declarations
function test_gen_synth_cmdfunction test_empty_synth_eventfunction test_create_synth_eventfunction test_add_next_synth_valfunction test_add_synth_valfunction test_trace_synth_eventfunction synth_event_gen_test_initfunction synth_event_gen_test_exitmodule init synth_event_gen_test_init
Annotated Snippet
module_init(synth_event_gen_test_init)
module_exit(synth_event_gen_test_exit)
MODULE_AUTHOR("Tom Zanussi");
MODULE_DESCRIPTION("synthetic event generation test");
MODULE_LICENSE("GPL v2");
Annotation
- Immediate include surface: `linux/module.h`, `linux/trace_events.h`.
- Detected declarations: `function test_gen_synth_cmd`, `function test_empty_synth_event`, `function test_create_synth_event`, `function test_add_next_synth_val`, `function test_add_synth_val`, `function test_trace_synth_event`, `function synth_event_gen_test_init`, `function synth_event_gen_test_exit`, `module init synth_event_gen_test_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.