aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/libbb.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h
index fd61517c2..1694d2c2d 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -1275,6 +1275,7 @@ enum { COMM_LEN = 16 };
1275#endif 1275#endif
1276typedef struct procps_status_t { 1276typedef struct procps_status_t {
1277 DIR *dir; 1277 DIR *dir;
1278 IF_FEATURE_SHOW_THREADS(DIR *task_dir;)
1278 uint8_t shift_pages_to_bytes; 1279 uint8_t shift_pages_to_bytes;
1279 uint8_t shift_pages_to_kb; 1280 uint8_t shift_pages_to_kb;
1280/* Fields are set to 0/NULL if failed to determine (or not requested) */ 1281/* Fields are set to 0/NULL if failed to determine (or not requested) */
@@ -1348,6 +1349,7 @@ enum {
1348 PSSCAN_CPU = (1 << 19) * ENABLE_FEATURE_TOP_SMP_PROCESS, 1349 PSSCAN_CPU = (1 << 19) * ENABLE_FEATURE_TOP_SMP_PROCESS,
1349 PSSCAN_NICE = (1 << 20) * ENABLE_FEATURE_PS_ADDITIONAL_COLUMNS, 1350 PSSCAN_NICE = (1 << 20) * ENABLE_FEATURE_PS_ADDITIONAL_COLUMNS,
1350 PSSCAN_RUIDGID = (1 << 21) * ENABLE_FEATURE_PS_ADDITIONAL_COLUMNS, 1351 PSSCAN_RUIDGID = (1 << 21) * ENABLE_FEATURE_PS_ADDITIONAL_COLUMNS,
1352 PSSCAN_TASKS = (1 << 22) * ENABLE_FEATURE_SHOW_THREADS,
1351 /* These are all retrieved from proc/NN/stat in one go: */ 1353 /* These are all retrieved from proc/NN/stat in one go: */
1352 PSSCAN_STAT = PSSCAN_PPID | PSSCAN_PGID | PSSCAN_SID 1354 PSSCAN_STAT = PSSCAN_PPID | PSSCAN_PGID | PSSCAN_SID
1353 /**/ | PSSCAN_COMM | PSSCAN_STATE 1355 /**/ | PSSCAN_COMM | PSSCAN_STATE