arch/powerpc/perf/vpa-dtl.c
Source file repositories/reference/linux-study-clean/arch/powerpc/perf/vpa-dtl.c
File Facts
- System
- Linux kernel
- Corpus path
arch/powerpc/perf/vpa-dtl.c- Extension
.c- Size
- 16061 bytes
- Lines
- 597
- 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.
- CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.
- Exports symbols or registers init work; inspect boot/module ordering and who consumes the exported contract.
- Uses kernel synchronization; read lock ordering, sleepability, and interrupt context assumptions before translating.
- 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
asm/dtl.hlinux/perf_event.hasm/plpar_wrappers.hlinux/vmalloc.h
Detected Declarations
struct vpa_dtlstruct vpa_pmu_ctxstruct vpa_pmu_bufstruct boottb_freqfunction vpa_dtl_capture_auxfunction handlefunction vpa_dtl_hrtimer_handlefunction vpa_dtl_start_hrtimerfunction vpa_dtl_stop_hrtimerfunction vpa_dtl_reset_global_refcfunction vpa_dtl_mem_allocfunction vpa_dtl_event_initfunction vpa_dtl_event_addfunction vpa_dtl_event_delfunction vpa_dtl_event_readfunction vpa_dtl_free_auxfunction vpa_dtl_initmodule init vpa_dtl_init
Annotated Snippet
device_initcall(vpa_dtl_init);
#endif //CONFIG_PPC_SPLPAR
Annotation
- Immediate include surface: `asm/dtl.h`, `linux/perf_event.h`, `asm/plpar_wrappers.h`, `linux/vmalloc.h`.
- Detected declarations: `struct vpa_dtl`, `struct vpa_pmu_ctx`, `struct vpa_pmu_buf`, `struct boottb_freq`, `function vpa_dtl_capture_aux`, `function handle`, `function vpa_dtl_hrtimer_handle`, `function vpa_dtl_start_hrtimer`, `function vpa_dtl_stop_hrtimer`, `function vpa_dtl_reset_global_refc`.
- Atlas domain: Architecture Layer / arch/powerpc.
- Implementation status: integration implementation candidate.
- Synchronization appears in or near this file; preserve lock ordering, sleepability, and interrupt-context constraints.
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.