Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Profile ¶
func RawFromBytes ¶
Read RawProfile from bytes
func (*Profile) Normalize ¶
func (p *Profile) Normalize()
Normalize normalizes the profile by:
- Removing all duplicate samples (summing their values).
- Removing redundant profile labels (byte => unique of an allocation site) todo: We should reassess if this was a good choice because by merging duplicate stacktrace samples we cannot recompute the allocation per site ("bytes") profile label.
- Removing empty samples.
- Then remove unused references.
- Ensure that the profile has a time_nanos set
- Removes addresses from symbolized profiles.
type StacktracesHasher ¶
type StacktracesHasher struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.