linux/tools/power/cpupower/utils/idle_monitor
Roman Storozhenko 3e1f12c266 cpupower: Change the var type of the 'monitor' subcommand display mode
There is a type 'enum operation_mode_e' contains the display modes of
the 'monitor' subcommand. This type isn't used though, instead the
variable 'mode' is of a simple 'int' type.
Change 'mode' variable type from 'int' to 'enum operation_mode_e' in
order to improve compiler type checking.
Built and tested this with different monitor cmdline params. Everything
works as expected, that is nothing changed and no regressions encountered.

Signed-off-by: Roman Storozhenko <romeusmeister@gmail.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
2024-06-20 10:08:08 -06:00
..
amd_fam14h_idle.c
cpuidle_sysfs.c
cpupower-monitor.c cpupower: Change the var type of the 'monitor' subcommand display mode 2024-06-20 10:08:08 -06:00
cpupower-monitor.h
hsw_ext_idle.c
idle_monitors.def
idle_monitors.h
mperf_monitor.c cpupower: Make TSC read per CPU for Mperf monitor 2023-05-08 10:46:49 -06:00
nhm_idle.c
rapl_monitor.c
snb_idle.c