drivers/perf/qcom_l3_pmu.c
Source file repositories/reference/linux-study-clean/drivers/perf/qcom_l3_pmu.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/perf/qcom_l3_pmu.c- Extension
.c- Size
- 24062 bytes
- Lines
- 824
- 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.
- Touches IRQ or DMA behavior; this matters for the representative real-device path.
- 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/interrupt.hlinux/io.hlinux/list.hlinux/module.hlinux/perf_event.hlinux/platform_device.h
Detected Declarations
struct l3cache_pmustruct l3cache_event_opsfunction Copyrightfunction event_uses_long_counterfunction event_num_countersfunction qcom_l3_cache__64bit_counter_startfunction qcom_l3_cache__64bit_counter_stopfunction qcom_l3_cache__64bit_counter_updatefunction qcom_l3_cache__32bit_counter_startfunction qcom_l3_cache__32bit_counter_stopfunction qcom_l3_cache__32bit_counter_updatefunction qcom_l3_cache__initfunction qcom_l3_cache__handle_irqfunction for_each_set_bitfunction qcom_l3_cache__pmu_enablefunction qcom_l3_cache__pmu_disablefunction qcom_l3_cache__validate_event_groupfunction for_each_sibling_eventfunction qcom_l3_cache__event_initfunction qcom_l3_cache__event_startfunction qcom_l3_cache__event_stopfunction qcom_l3_cache__event_addfunction qcom_l3_cache__event_delfunction qcom_l3_cache__event_readfunction l3cache_pmu_event_showfunction cpumask_showfunction qcom_l3_cache_pmu_online_cpufunction qcom_l3_cache_pmu_offline_cpufunction qcom_l3_cache_pmu_probefunction register_qcom_l3_cache_pmu_drivermodule init register_qcom_l3_cache_pmu_driver
Annotated Snippet
device_initcall(register_qcom_l3_cache_pmu_driver);
Annotation
- Immediate include surface: `linux/acpi.h`, `linux/bitops.h`, `linux/interrupt.h`, `linux/io.h`, `linux/list.h`, `linux/module.h`, `linux/perf_event.h`, `linux/platform_device.h`.
- Detected declarations: `struct l3cache_pmu`, `struct l3cache_event_ops`, `function Copyright`, `function event_uses_long_counter`, `function event_num_counters`, `function qcom_l3_cache__64bit_counter_start`, `function qcom_l3_cache__64bit_counter_stop`, `function qcom_l3_cache__64bit_counter_update`, `function qcom_l3_cache__32bit_counter_start`, `function qcom_l3_cache__32bit_counter_stop`.
- Atlas domain: Driver Families / drivers/perf.
- Implementation status: integration implementation candidate.
- IRQ or DMA behavior appears here, which is relevant to the selected PCIe/NVMe device path.
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.