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 statistics
来make 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.