On 11/15/2017 01:40 AM, Abhishek Goel wrote: > cpuidle_monitor used to assume that cpu0 is always online which is not > a valid assumption on POWER machines. This patch fixes this by getting > the cpu on which the current thread is running, instead of always using > cpu0 for monitoring which may not be online. > > Signed-off-by: Abhishek Goel <hunt...@linux.vnet.ibm.com> > --- > tools/power/cpupower/utils/idle_monitor/cpuidle_sysfs.c | 9 ++++++--- > 1 file changed, 6 insertions(+), 3 deletions(-) >
Thanks. I will queue this for 4.15-rc2 -- SHuah