1
0
mirror of https://github.com/kata-containers/kata-containers.git synced 2025-05-03 14:07:24 +00:00

kernel: Add CONFIG_TASKSTATS (and related) configs

Knowing that the upstream project provides a "ready to use" version of
the kernel, it's good to include an easy way to users to monitor
performance, and that's what we're doing by enabling the TASKSTATS (and
related) kernel configs.

This has been present as part of older kernels, but I couldn't
reasonably find the reason why it's been dropped.

Signed-off-by: Champ-Goblem <cameron@northflank.com>
Signed-off-by: Fabiano Fidêncio <fidencio@northflank.com>
This commit is contained in:
Champ-Goblem 2025-04-24 11:42:01 +02:00 committed by Fabiano Fidêncio
parent 8b49564c01
commit cf4325b535
2 changed files with 9 additions and 1 deletions
tools/packaging/kernel
configs/fragments/common
kata_config_version

View File

@ -50,3 +50,11 @@ CONFIG_PERF_EVENTS=y
# CONFIG_BLK_DEV_LOOP needs # CONFIG_BLK_DEV_LOOP needs
CONFIG_BLOCK=y CONFIG_BLOCK=y
CONFIG_BLK_DEV=y CONFIG_BLK_DEV=y
# Allow the kernel to collect and report per-task status to userspace
#
# This is super useful for performance monitoring
CONFIG_TASKSTATS=y
CONFIG_TASK_DELAY_ACCT=y
CONFIG_TASK_XACCT=y
CONFIG_TASK_IO_ACCOUNTING=y

View File

@ -1 +1 @@
151 152