arch/powerpc/perf/hv-24x7-catalog.h
Source file repositories/reference/linux-study-clean/arch/powerpc/perf/hv-24x7-catalog.h
File Facts
- System
- Linux kernel
- Corpus path
arch/powerpc/perf/hv-24x7-catalog.h- Extension
.h- Size
- 1868 bytes
- Lines
- 60
- Domain
- Architecture Layer
- Bucket
- arch/powerpc
- Inferred role
- Architecture Layer: implementation source
- Status
- source 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.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/types.h
Detected Declarations
struct hv_24x7_catalog_page_0struct hv_24x7_event_data
Annotated Snippet
struct hv_24x7_catalog_page_0 {
#define HV_24X7_CATALOG_MAGIC 0x32347837 /* "24x7" in ASCII */
__be32 magic;
__be32 length; /* In 4096 byte pages */
__be64 version; /* XXX: arbitrary? what's the meaning/useage/purpose? */
__u8 build_time_stamp[16]; /* "YYYYMMDDHHMMSS\0\0" */
__u8 reserved2[32];
__be16 schema_data_offs; /* in 4096 byte pages */
__be16 schema_data_len; /* in 4096 byte pages */
__be16 schema_entry_count;
__u8 reserved3[2];
__be16 event_data_offs;
__be16 event_data_len;
__be16 event_entry_count;
__u8 reserved4[2];
__be16 group_data_offs; /* in 4096 byte pages */
__be16 group_data_len; /* in 4096 byte pages */
__be16 group_entry_count;
__u8 reserved5[2];
__be16 formula_data_offs; /* in 4096 byte pages */
__be16 formula_data_len; /* in 4096 byte pages */
__be16 formula_entry_count;
__u8 reserved6[2];
} __packed;
struct hv_24x7_event_data {
__be16 length; /* in bytes, must be a multiple of 16 */
__u8 reserved1[2];
__u8 domain; /* Chip = 1, Core = 2 */
__u8 reserved2[1];
__be16 event_group_record_offs; /* in bytes, must be 8 byte aligned */
__be16 event_group_record_len; /* in bytes */
/* in bytes, offset from event_group_record */
__be16 event_counter_offs;
/* verified_state, unverified_state, caveat_state, broken_state, ... */
__be32 flags;
__be16 primary_group_ix;
__be16 group_count;
__be16 event_name_len;
__u8 remainder[];
/* __u8 event_name[event_name_len - 2]; */
/* __be16 event_description_len; */
/* __u8 event_desc[event_description_len - 2]; */
/* __be16 detailed_desc_len; */
/* __u8 detailed_desc[detailed_desc_len - 2]; */
} __packed;
#endif
Annotation
- Immediate include surface: `linux/types.h`.
- Detected declarations: `struct hv_24x7_catalog_page_0`, `struct hv_24x7_event_data`.
- Atlas domain: Architecture Layer / arch/powerpc.
- Implementation status: source 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.