summaryrefslogtreecommitdiffstats
path: root/linux/ProcessField.h
diff options
context:
space:
mode:
authorNathan Scott <nathans@redhat.com>2021-08-06 16:45:30 +1000
committerBenBE <BenBE@geshi.org>2021-08-09 07:56:13 +0200
commit1bd95983b2703cb313ea301367ff3199fabd1f9d (patch)
treede70612626231c6f522ddf1a43ef36ec041fbb48 /linux/ProcessField.h
parentaa0424ade806715ea0f410dc068a1eb648300bb9 (diff)
Add columns for process autogroup identifier and nice value
Adds AGRP (autogroup) and ANI (autogroup nice) columns that report the information from /proc/PID/autogroup, as well as handlers for '{' and '}' to change the autogroup nice value. This is guarded by /proc/sys/kernel/sched_autogroup_enabled such that sampling and/or changing values wont be attempted unless the kernel feature is enabled. Fixes: #720
Diffstat (limited to 'linux/ProcessField.h')
-rw-r--r--linux/ProcessField.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/ProcessField.h b/linux/ProcessField.h
index c8d24c0b..d109ff9d 100644
--- a/linux/ProcessField.h
+++ b/linux/ProcessField.h
@@ -44,8 +44,8 @@ in the source distribution for its full text.
M_PSSWP = 121, \
CTXT = 122, \
SECATTR = 123, \
- \
- DUMMY_BUMP_FIELD = CWD, \
+ AUTOGROUP_ID = 127, \
+ AUTOGROUP_NICE = 128, \
// End of list

© 2014-2024 Faster IT GmbH | imprint | privacy policy