Expand description
This module describes how the kernel exposes its internal counters to userland. This is a PRIVATE UNSTABLE ABI that may change at any time! The layouts used here; the set of counters; their names, meanings, and types; and the set of available types; are all subject to change in every kernel version and are not meant to be any kind of stable ABI between the kernel and userland.
The expectation is that these layouts will be used only by a single privileged service that is tightly-coupled with the kernel, i.e. always built from source when building the kernel.
The counters exist only for kernel-specific diagnostic and logging purposes.
Structs§
- Descriptor
- Binary-stable C-compatible representation of a kernel counter descriptor.
- Descriptor
Vmo - Header layout of the kernel counter descriptor VMO (
counters::DescriptorVmo).
Enums§
- Type
- The aggregation type of a kernel counter.
Constants§
- ARENA_
VMO_ NAME PA_VMO_KERNEL_FILEwith this name holds an array ofSMP_MAX_CPUSarrays, each of which isi64[num_counters()]indexed by the index intoDescriptorVmo’s descriptor table (counters::kArenaVmoName).- DESCRIPTOR_
VMO_ NAME - Name of the kernel counter descriptor VMO (
counters::DescriptorVmo::kVmoName).