mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Fix printing /proc/[pid]/io for /proc/[pid]/task/[tid]/io.
PiperOrigin-RevId: 283630669
This commit is contained in:
committed by
gVisor bot
parent
27e2c4ddca
commit
0354071539
@@ -639,7 +639,7 @@ func (i *ioData) ReadSeqFileData(ctx context.Context, h seqfile.SeqHandle) ([]se
|
||||
io.Accumulate(i.IOUsage())
|
||||
|
||||
var buf bytes.Buffer
|
||||
fmt.Fprintf(&buf, "char: %d\n", io.CharsRead)
|
||||
fmt.Fprintf(&buf, "rchar: %d\n", io.CharsRead)
|
||||
fmt.Fprintf(&buf, "wchar: %d\n", io.CharsWritten)
|
||||
fmt.Fprintf(&buf, "syscr: %d\n", io.ReadSyscalls)
|
||||
fmt.Fprintf(&buf, "syscw: %d\n", io.WriteSyscalls)
|
||||
|
||||
Reference in New Issue
Block a user