Skip to content

Commit

Permalink
Add io.latency in Values() function
Browse files Browse the repository at this point in the history
Signed-off-by: xeway <xeway@protonmail.com>
  • Loading branch information
Xeway committed Apr 21, 2024
1 parent 59efbb3 commit f0fe1b4
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 f0fe1b4

Please sign in to comment.