arch/powerpc/perf/hv-24x7.c
Source file repositories/reference/linux-study-clean/arch/powerpc/perf/hv-24x7.c
File Facts
- System
- Linux kernel
- Corpus path
arch/powerpc/perf/hv-24x7.c- Extension
.c- Size
- 44765 bytes
- Lines
- 1748
- 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.
- 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/perf_event.hlinux/rbtree.hlinux/module.hlinux/slab.hlinux/sysfs.hlinux/vmalloc.hasm/cputhreads.hasm/firmware.hasm/hvcall.hasm/io.hasm/papr-sysparm.hlinux/byteorder/generic.hasm/rtas.hhv-24x7.hhv-24x7-catalog.hhv-common.hhv-24x7-domains.h
Detected Declarations
struct hv_24x7_hwstruct event_uniqfunction domain_is_validfunction is_physical_domainfunction read_24x7_sys_infofunction domain_needs_aggregationfunction catalog_entry_domain_is_validfunction max_num_requestsfunction event_fixed_portion_is_withinfunction h_get_24x7_catalog_page_function h_get_24x7_catalog_pagefunction userfunction cpumask_showfunction sockets_showfunction chipspersocket_showfunction coresperchip_showfunction event_to_long_desc_attrfunction event_data_to_attrsfunction memordfunction ev_uniq_ordfunction event_uniq_addfunction event_uniq_destroyfunction catalog_event_len_validatefunction ignore_eventfunction create_events_from_catalogfunction catalog_readfunction domains_showfunction init_24x7_requestfunction Commitfunction add_event_to_24x7_requestfunction get_count_from_resultfunction single_24x7_requestfunction h_24x7_event_initfunction event_get_reserved2function h_24x7_get_valuefunction update_event_countfunction h_24x7_event_readfunction HCALLfunction h_24x7_event_startfunction h_24x7_event_stopfunction h_24x7_event_addfunction h_24x7_event_start_txnfunction reset_txnfunction h_24x7_event_readfunction h_24x7_event_cancel_txnfunction ppc_hv_24x7_cpu_onlinefunction ppc_hv_24x7_cpu_offlinefunction hv_24x7_cpu_hotplug_init
Annotated Snippet
device_initcall(hv_24x7_init);
Annotation
- Immediate include surface: `linux/perf_event.h`, `linux/rbtree.h`, `linux/module.h`, `linux/slab.h`, `linux/sysfs.h`, `linux/vmalloc.h`, `asm/cputhreads.h`, `asm/firmware.h`.
- Detected declarations: `struct hv_24x7_hw`, `struct event_uniq`, `function domain_is_valid`, `function is_physical_domain`, `function read_24x7_sys_info`, `function domain_needs_aggregation`, `function catalog_entry_domain_is_valid`, `function max_num_requests`, `function event_fixed_portion_is_within`, `function h_get_24x7_catalog_page_`.
- Atlas domain: Architecture Layer / arch/powerpc.
- 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.