arch/x86/events/intel/core.c
Source file repositories/reference/linux-study-clean/arch/x86/events/intel/core.c
File Facts
- System
- Linux kernel
- Corpus path
arch/x86/events/intel/core.c- Extension
.c- Size
- 264774 bytes
- Lines
- 8935
- Domain
- Architecture Layer
- Bucket
- arch/x86
- 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
linux/stddef.hlinux/types.hlinux/init.hlinux/slab.hlinux/export.hlinux/nmi.hlinux/kvm_host.hasm/cpufeature.hasm/cpuid/api.hasm/debugreg.hasm/hardirq.hasm/intel-family.hasm/intel_pt.hasm/apic.hasm/cpu_device_id.hasm/msr.h../perf_event.h
Detected Declarations
enum dyn_constr_typefunction intel_pmu_event_mapfunction disable_allfunction intel_pmu_disable_allfunction __intel_pmu_enable_allfunction intel_pmu_enable_allfunction __intel_pmu_snapshot_branch_stackfunction intel_pmu_snapshot_branch_stackfunction intel_pmu_snapshot_arch_branch_stackfunction AAK100function intel_pmu_nhm_enable_allfunction intel_set_tfafunction intel_tfa_commit_schedulingfunction intel_tfa_pmu_enable_allfunction intel_pmu_get_statusfunction intel_pmu_ack_statusfunction event_is_checkpointedfunction intel_set_masksfunction intel_clear_masksfunction intel_pmu_disable_fixedfunction __intel_pmu_update_event_extfunction intel_pmu_disable_event_extfunction intel_pmu_disable_eventfunction intel_pmu_assign_eventfunction intel_pmu_needs_branch_stackfunction intel_pmu_del_eventfunction icl_set_topdown_event_periodfunction icl_get_metrics_event_valuefunction icl_get_topdown_valuefunction __icl_update_topdown_eventfunction update_saved_topdown_regsfunction for_each_set_bitfunction intel_update_topdown_eventfunction for_each_set_bitfunction icl_update_topdown_eventfunction intel_pmu_read_eventfunction intel_pmu_enable_fixedfunction intel_pmu_config_acrfunction intel_pmu_enable_acrfunction intel_pmu_enable_event_extfunction intel_pmu_update_rdpmc_user_disablefunction intel_pmu_enable_eventfunction intel_pmu_acr_late_setupfunction for_each_set_bitfunction intel_pmu_late_setupfunction intel_pmu_add_eventfunction intel_pmu_save_and_restartfunction intel_pmu_set_period
Annotated Snippet
subsys_initcall(fixup_ht_bug)
Annotation
- Immediate include surface: `linux/stddef.h`, `linux/types.h`, `linux/init.h`, `linux/slab.h`, `linux/export.h`, `linux/nmi.h`, `linux/kvm_host.h`, `asm/cpufeature.h`.
- Detected declarations: `enum dyn_constr_type`, `function intel_pmu_event_map`, `function disable_all`, `function intel_pmu_disable_all`, `function __intel_pmu_enable_all`, `function intel_pmu_enable_all`, `function __intel_pmu_snapshot_branch_stack`, `function intel_pmu_snapshot_branch_stack`, `function intel_pmu_snapshot_arch_branch_stack`, `function AAK100`.
- Atlas domain: Architecture Layer / arch/x86.
- 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.