Skip to content

Commit

Permalink
Add io.latency in Values() function
Browse files Browse the repository at this point in the history
  • Loading branch information
Xeway committed Apr 19, 2024
1 parent 8b44e0a commit 83014ee
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cgroup2/io.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,11 @@ func (i *IO) Values() (o []Value) {
value: e.String(),
})
}
for _, e := range i.Latency {
o = append(o, Value{
filename: "io.latency",
value: e.String(),
})
}
return o
}

0 comments on commit 83014ee

Please sign in to comment.