MCPcopy Create free account
hub / github.com/prometheus/procfs / deferRelogStats

Function deferRelogStats

xfs/parse.go:797–805  ·  view source on GitHub ↗

deferRelogStats handles defer_relog stats.

(us []uint64)

Source from the content-addressed store, hash-verified

795
796// deferRelogStats handles defer_relog stats.
797func deferRelogStats(us []uint64) (DeferRelogStats, error) {
798 if l := len(us); l != 1 {
799 return DeferRelogStats{}, fmt.Errorf("incorrect number of values for XFS defer_relog stats: %d", l)
800 }
801
802 return DeferRelogStats{
803 Count: us[0],
804 }, nil
805}
806
807// gcXpcStats handles gc xpc stats.
808func gcXpcStats(us []uint64) (GcXpcStats, error) {

Callers 1

ParseStatsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…