drivers/perf/nvidia_t410_cmem_latency_pmu.c
Source file repositories/reference/linux-study-clean/drivers/perf/nvidia_t410_cmem_latency_pmu.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/perf/nvidia_t410_cmem_latency_pmu.c- Extension
.c- Size
- 19989 bytes
- Lines
- 737
- Domain
- Driver Families
- Bucket
- drivers/perf
- Inferred role
- Driver Families: exported/initcall integration point
- Status
- integration implementation candidate
Why This File Exists
Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.
- Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.
- 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/acpi.hlinux/bitops.hlinux/cpumask.hlinux/device.hlinux/interrupt.hlinux/io.hlinux/module.hlinux/perf_event.hlinux/platform_device.h
Detected Declarations
struct cmem_lat_pmu_hw_eventsstruct cmem_lat_pmufunction get_event_typefunction cmem_lat_pmu_get_event_idxfunction cmem_lat_pmu_validate_eventfunction cmem_lat_pmu_validate_groupfunction for_each_sibling_eventfunction cmem_lat_pmu_event_initfunction cmem_lat_pmu_read_statusfunction cmem_lat_pmu_read_cycle_counterfunction cmem_lat_pmu_read_req_counterfunction cmem_lat_pmu_read_aor_counterfunction cmem_lat_pmu_event_updatefunction cmem_lat_pmu_startfunction cmem_lat_pmu_stopfunction cmem_lat_pmu_addfunction cmem_lat_pmu_delfunction cmem_lat_pmu_readfunction cmem_lat_pmu_cg_ctrlfunction cmem_lat_pmu_ctrlfunction cmem_lat_pmu_enablefunction cmem_lat_pmu_disablefunction cmem_lat_pmu_identifier_showfunction cmem_lat_pmu_sysfs_event_showfunction cmem_lat_pmu_cpumask_showfunction cmem_lat_pmu_cpu_onlinefunction cmem_lat_pmu_cpu_teardownfunction cmem_lat_pmu_get_cpusfunction for_each_possible_cpufunction cmem_lat_pmu_probefunction cmem_lat_pmu_device_removefunction cmem_lat_pmu_initfunction cmem_lat_pmu_exitmodule init cmem_lat_pmu_init
Annotated Snippet
module_init(cmem_lat_pmu_init);
module_exit(cmem_lat_pmu_exit);
MODULE_LICENSE("GPL");
MODULE_DESCRIPTION("NVIDIA Tegra410 CPU Memory Latency PMU driver");
MODULE_AUTHOR("Besar Wicaksono <bwicaksono@nvidia.com>");
Annotation
- Immediate include surface: `linux/acpi.h`, `linux/bitops.h`, `linux/cpumask.h`, `linux/device.h`, `linux/interrupt.h`, `linux/io.h`, `linux/module.h`, `linux/perf_event.h`.
- Detected declarations: `struct cmem_lat_pmu_hw_events`, `struct cmem_lat_pmu`, `function get_event_type`, `function cmem_lat_pmu_get_event_idx`, `function cmem_lat_pmu_validate_event`, `function cmem_lat_pmu_validate_group`, `function for_each_sibling_event`, `function cmem_lat_pmu_event_init`, `function cmem_lat_pmu_read_status`, `function cmem_lat_pmu_read_cycle_counter`.
- Atlas domain: Driver Families / drivers/perf.
- 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.