简体   繁体   中英

Enabling scheduler statistics in Linux Kernel

The Linux kernel provide additional stats for each thread and uses a flag CONFIG_SCHEDSTATS to enable this fields. Is there any configuration file where I can enable this CONFIG_SCHEDSTATS or I can define it in any of the scheduling files (say sched_stats.h)?

这是一个内核配置选项,您可以通过在运行make config时回答yes来Collect scheduler statisticsmake config

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM