top: exploit the newly added library smaps_rollup item

We're just following the ps program's lead introducing
a new 'USS' field to represent the non-swapped portion
of physical memory ('RSS') not shared by another task.

Signed-off-by: Jim Warner <james.warner@comcast.net>
This commit is contained in:
Jim Warner
2021-06-16 00:00:00 -05:00
committed by Craig Small
parent bbebf29dd1
commit a30d949acf
4 changed files with 37 additions and 28 deletions

View File

@@ -189,7 +189,7 @@ enum pflag {
EU_NMA,
EU_LID,
EU_EXE,
EU_RSS, EU_PSS, EU_PZA, EU_PZF, EU_PZS,
EU_RSS, EU_PSS, EU_PZA, EU_PZF, EU_PZS, EU_USS,
#ifdef USE_X_COLHDR
// not really pflags, used with tbl indexing
EU_MAXPFLGS