aboutsummaryrefslogtreecommitdiffstats
path: root/config/Config-kernel.in
diff options
context:
space:
mode:
authorJeremiah McConnell <miah@miah.com>2018-06-19 23:35:08 -0600
committerHauke Mehrtens <hauke@hauke-m.de>2018-07-07 18:33:57 +0200
commit206fbbfec2d0cc40266674e93e7e01e307847a6d (patch)
tree38150cd2c61617b8c797b5beb9449d138406786d /config/Config-kernel.in
parentb19622044d492e9eff9d880d6bc1fc9486774886 (diff)
downloadupstream-206fbbfec2d0cc40266674e93e7e01e307847a6d.tar.gz
upstream-206fbbfec2d0cc40266674e93e7e01e307847a6d.tar.bz2
upstream-206fbbfec2d0cc40266674e93e7e01e307847a6d.zip
config: add config option for KERNEL_TASKSTATS
In order for monitoring tools such as atop and htop to track and report i/o data, kernel support for task statistics and io accounting is required. Add a config option to enable building this support in the kernel. Signed-off-by: Jeremiah McConnell <miah@miah.com>
Diffstat (limited to 'config/Config-kernel.in')
-rw-r--r--config/Config-kernel.in21
1 files changed, 21 insertions, 0 deletions
diff --git a/config/Config-kernel.in b/config/Config-kernel.in
index 0cbe5e8351..d2d1909956 100644
--- a/config/Config-kernel.in
+++ b/config/Config-kernel.in
@@ -65,6 +65,27 @@ config KERNEL_PROFILING
Enable the extended profiling support mechanisms used by profilers such
as OProfile.
+config KERNEL_TASKSTATS
+ bool "Compile the kernel with task resource/io statistics and accounting"
+ default n
+ help
+ Enable the collection and publishing of task/io statistics and
+ accounting. Enable this option to enable i/o monitoring in system
+ monitors.
+
+if KERNEL_TASKSTATS
+
+ config KERNEL_TASK_DELAY_ACCT
+ def_bool y
+
+ config KERNEL_TASK_IO_ACCOUNTING
+ def_bool y
+
+ config KERNEL_TASK_XACCT
+ def_bool y
+
+endif
+
config KERNEL_KALLSYMS
bool "Compile the kernel with symbol table information"
default y if !SMALL_FLASH