diff options
| author | Gautham R. Shenoy <[email protected]> | 2025-06-12 12:23:55 +0000 |
|---|---|---|
| committer | Shuah Khan <[email protected]> | 2025-06-18 22:21:18 +0000 |
| commit | 14a3318b4ac8ae0ca2e1132a89de167e1030fbdb (patch) | |
| tree | 78ea1fb9262dac4f545891d44cde85f25a7f54fd /fs/proc/namespaces.c | |
| parent | pm: cpupower: Fix the snapshot-order of tsc,mperf, clock in mperf_stop() (diff) | |
| download | kernel-14a3318b4ac8ae0ca2e1132a89de167e1030fbdb.tar.gz kernel-14a3318b4ac8ae0ca2e1132a89de167e1030fbdb.zip | |
pm: cpupower: Fix printing of CORE, CPU fields in cpupower-monitor
After the commit 0014f65e3df0 ("pm: cpupower: remove hard-coded
topology depth values"), "cpupower monitor" output ceased to print the
CORE and the CPU fields on a multi-socket platform.
The reason for this is that the patch changed the behaviour to break
out of the switch-case after printing the PKG details, while prior to
the patch, the CORE and the CPU details would also get printed since
the "if" condition check would pass for any level whose topology depth
was lesser than that of a package.
Fix this ensuring all the details below a desired topology depth are
printed in the cpupower monitor output.
Link: https://lore.kernel.org/r/[email protected]
Fixes: 0014f65e3df0 ("pm: cpupower: remove hard-coded topology depth values")
Signed-off-by: Gautham R. Shenoy <[email protected]>
Signed-off-by: Shuah Khan <[email protected]>
Diffstat (limited to 'fs/proc/namespaces.c')
0 files changed, 0 insertions, 0 deletions
