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>
This commit is contained in:
parent
b19622044d
commit
206fbbfec2
1 changed files with 21 additions and 0 deletions
|
@ -65,6 +65,27 @@ config KERNEL_PROFILING
|
||||||
Enable the extended profiling support mechanisms used by profilers such
|
Enable the extended profiling support mechanisms used by profilers such
|
||||||
as OProfile.
|
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
|
config KERNEL_KALLSYMS
|
||||||
bool "Compile the kernel with symbol table information"
|
bool "Compile the kernel with symbol table information"
|
||||||
default y if !SMALL_FLASH
|
default y if !SMALL_FLASH
|
||||||
|
|
Loading…
Reference in a new issue