arch/csky/kernel/perf_event.c
Source file repositories/reference/linux-study-clean/arch/csky/kernel/perf_event.c
File Facts
- System
- Linux kernel
- Corpus path
arch/csky/kernel/perf_event.c- Extension
.c- Size
- 30082 bytes
- Lines
- 1371
- Domain
- Architecture Layer
- Bucket
- arch/csky
- 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.
- Touches IRQ or DMA behavior; this matters for the representative real-device path.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/errno.hlinux/interrupt.hlinux/module.hlinux/of.hlinux/perf_event.hlinux/platform_device.h
Detected Declarations
struct pmu_hw_eventsfunction csky_pmu_read_ccfunction csky_pmu_write_ccfunction csky_pmu_read_icfunction csky_pmu_write_icfunction csky_pmu_read_icacfunction csky_pmu_write_icacfunction csky_pmu_read_icmcfunction csky_pmu_write_icmcfunction csky_pmu_read_dcacfunction csky_pmu_write_dcacfunction csky_pmu_read_dcmcfunction csky_pmu_write_dcmcfunction csky_pmu_read_l2acfunction csky_pmu_write_l2acfunction csky_pmu_read_l2mcfunction csky_pmu_write_l2mcfunction csky_pmu_read_iutlbmcfunction csky_pmu_write_iutlbmcfunction csky_pmu_read_dutlbmcfunction csky_pmu_write_dutlbmcfunction csky_pmu_read_jtlbmcfunction csky_pmu_write_jtlbmcfunction csky_pmu_read_softcfunction csky_pmu_write_softcfunction csky_pmu_read_cbmcfunction csky_pmu_write_cbmcfunction csky_pmu_read_cbicfunction csky_pmu_write_cbicfunction csky_pmu_read_ibmcfunction csky_pmu_write_ibmcfunction csky_pmu_read_ibicfunction csky_pmu_write_ibicfunction csky_pmu_read_lsfcfunction csky_pmu_write_lsfcfunction csky_pmu_read_sicfunction csky_pmu_write_sicfunction csky_pmu_read_dcracfunction csky_pmu_write_dcracfunction csky_pmu_read_dcrmcfunction csky_pmu_write_dcrmcfunction csky_pmu_read_dcwacfunction csky_pmu_write_dcwacfunction csky_pmu_read_dcwmcfunction csky_pmu_write_dcwmcfunction csky_pmu_read_l2racfunction csky_pmu_write_l2racfunction csky_pmu_read_l2rmc
Annotated Snippet
device_initcall(csky_pmu_probe);
Annotation
- Immediate include surface: `linux/errno.h`, `linux/interrupt.h`, `linux/module.h`, `linux/of.h`, `linux/perf_event.h`, `linux/platform_device.h`.
- Detected declarations: `struct pmu_hw_events`, `function csky_pmu_read_cc`, `function csky_pmu_write_cc`, `function csky_pmu_read_ic`, `function csky_pmu_write_ic`, `function csky_pmu_read_icac`, `function csky_pmu_write_icac`, `function csky_pmu_read_icmc`, `function csky_pmu_write_icmc`, `function csky_pmu_read_dcac`.
- Atlas domain: Architecture Layer / arch/csky.
- 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.