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

Function debugStats

xfs/parse.go:462–470  ·  view source on GitHub ↗
(us []uint32)

Source from the content-addressed store, hash-verified

460}
461
462func debugStats(us []uint32) (DebugStats, error) {
463 if l := len(us); l != 1 {
464 return DebugStats{}, fmt.Errorf("incorrect number of values for XFS debug stats: %d", l)
465 }
466
467 return DebugStats{
468 Enabled: us[0],
469 }, nil
470}
471
472// btreeAllocBlocks2Stats handles abtb2 stats.
473func btreeAllocBlocks2Stats(us []uint32) (BtreeAllocBlocks2Stats, 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…