Skip to content

Commit 83014ee

Browse files
committed
Add io.latency in Values() function
1 parent 8b44e0a commit 83014ee

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

cgroup2/io.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,5 +61,11 @@ func (i *IO) Values() (o []Value) {
6161
value: e.String(),
6262
})
6363
}
64+
for _, e := range i.Latency {
65+
o = append(o, Value{
66+
filename: "io.latency",
67+
value: e.String(),
68+
})
69+
}
6470
return o
6571
}

0 commit comments

Comments
 (0)