Crate attribution_processing

Source

Modules§

digest
kernel_statistics
summary
testing

Structs§

Attribution
Holds the list of resources attributed to a Principal (subject) by another Principal (source).
AttributionData
Capture of the current memory usage of a device, as retrieved through the memory attribution protocol. In this object, memory attribution is not resolved.
Claim
Attribution claim of a Principal on a Resource.
InflatedPrincipal
A Principal, with its attribution claims and resources.
InflatedResource
Koid
Principal
A Principal, that can use and claim memory.
PrincipalIdentifier
ProcessedAttributionData
Processed snapshot of the memory usage of a device, with attribution of memory resources to Principals resolved.
Resource
TaggedClaim
ZXName
Zircon resource name with a maximum length of ZX_MAX_NAME_LEN - 1.

Enums§

ClaimType
Type of the claim, that changes depending on how the claim was created.
PrincipalDescription
User-understandable description of a Principal
PrincipalType
Type of a principal.
ResourceReference
References a kernel Resource, or some subset of a Resource (such as a part of a process address space).

Traits§

AttributionDataProvider
ResourcesVisitor
The post-order traversal of the Jobs->Process->VMOs tree guarantees that when a visitor processes a Process, it has already seen its associated VMOs.

Functions§

attribute_vmos
Process data from a AttributionData to resolve attribution claims.