From e7acf3caf0efc91e6231589800e7c161771adcbe Mon Sep 17 00:00:00 2001 From: Jim Warner Date: Sun, 20 Jun 2021 00:00:00 -0500 Subject: [PATCH] library: correct sources for IO accounting, api This patch just brings 'PIDS_IO' source into alignment with the names being used in that /proc//io file. [ i had my chance to fix them in a whitespace change ] [ made in the patch referenced below, but i blew it! ] Reference(s): commit 2dcbe71f3b8e3586acab0221b2e4c55d10cf8f76 Signed-off-by: Jim Warner --- proc/pids.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/proc/pids.h b/proc/pids.h index 10ba9f51..c626b080 100644 --- a/proc/pids.h +++ b/proc/pids.h @@ -78,13 +78,13 @@ enum pids_item { PIDS_ID_TGID, // s_int status: Tgid PIDS_ID_TID, // s_int from /proc//task/ PIDS_ID_TPGID, // s_int stat: tty_pgrp - PIDS_IO_READ_BYTES, // ul_int io: bytes read - PIDS_IO_READ_CHARS, // ul_int io: characters read - PIDS_IO_READ_OPS, // ul_int io: read operations - PIDS_IO_WRITE_BYTES, // ul_int io: bytes written - PIDS_IO_WRITE_CBYTES, // ul_int io: cancelled write bytes - PIDS_IO_WRITE_CHARS, // ul_int io: characters written - PIDS_IO_WRITE_OPS, // ul_int io: write operations + PIDS_IO_READ_BYTES, // ul_int io: read_bytes + PIDS_IO_READ_CHARS, // ul_int io: rchar + PIDS_IO_READ_OPS, // ul_int io: syscr + PIDS_IO_WRITE_BYTES, // ul_int io: write_bytes + PIDS_IO_WRITE_CBYTES, // ul_int io: cancelled_write_bytes + PIDS_IO_WRITE_CHARS, // ul_int io: wchar + PIDS_IO_WRITE_OPS, // ul_int io: syscw PIDS_LXCNAME, // str derived from CGROUP 'lxc.payload' PIDS_MEM_CODE, // ul_int derived from MEM_CODE_PGS, as KiB PIDS_MEM_CODE_PGS, // ul_int statm: trs