diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2023-09-07 23:48:17 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2023-09-07 23:48:49 +0000 |
commit | e8c7ac9a7990d41daada0f2a3b49ba7030051b49 (patch) | |
tree | d44f4fdc78f97bc350b639b7a3fa37947241d88d /src/include-local | |
parent | 74266756a204f730fef84d30f8ad5ba5627a4921 (diff) | |
download | s6-linux-utils-e8c7ac9a7990d41daada0f2a3b49ba7030051b49.tar.xz |
Prepare for 2.6.2.0, add minflt/majflt to s6-ps
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/include-local')
-rw-r--r-- | src/include-local/s6ps.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/src/include-local/s6ps.h b/src/include-local/s6ps.h index 951cc3a..ca33a73 100644 --- a/src/include-local/s6ps.h +++ b/src/include-local/s6ps.h @@ -23,7 +23,11 @@ enum pfield_e PFIELD_PGRP, PFIELD_SESSION, PFIELD_TTY, - PFIELD_TPGID, + PFIELD_TPGID, + PFIELD_MINFLT, + PFIELD_CMINFLT, + PFIELD_MAJFLT, + PFIELD_CMAJFLT, PFIELD_UTIME, PFIELD_STIME, PFIELD_CUTIME, @@ -70,6 +74,10 @@ struct pscan_s pid_t session ; dev_t ttynr ; pid_t tpgid ; + uint64_t minflt ; + uint64_t cminflt ; + uint64_t majflt ; + uint64_t cmajflt ; uint64_t utime ; uint64_t stime ; uint64_t cutime ; @@ -104,6 +112,10 @@ struct pscan_s .session = 0, \ .ttynr = 0, \ .tpgid = -1, \ + .minflt = 0, \ + .cminflt = 0, \ + .majflt = 0, \ + .cmajflt = 0, \ .utime = 0, \ .stime = 0, \ .cutime = 0, \ |