The cpuhotplug05.c uses sar to check if CPU statistics are updated properly while CPU is being offlined and onlined. The main problem is that sar output is not stable and it also includes additional layer of complex code between the kernel we want to test and the test itself.
So instead of parsing sar output the test should be rewritten to use /proc/stat directly.
The cpuhotplug05.c uses sar to check if CPU statistics are updated properly while CPU is being offlined and onlined. The main problem is that sar output is not stable and it also includes additional layer of complex code between the kernel we want to test and the test itself.
So instead of parsing sar output the test should be rewritten to use /proc/stat directly.