diff options
author | Jacob Tanenbaum <jtanenba@redhat.com> | 2015-12-01 17:14:16 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2015-12-03 02:30:30 +0100 |
commit | 562e5f1a352977f45d0d0ed3279b556d3e41e1ba (patch) | |
tree | 7470d0a4682165c07afc048bd34659a61fa07725 /certs | |
parent | cpupower: Do not analyse offlined cpus (diff) | |
download | linux-562e5f1a352977f45d0d0ed3279b556d3e41e1ba.tar.xz linux-562e5f1a352977f45d0d0ed3279b556d3e41e1ba.zip |
cpupower: rework the "cpupower frequency-info" command
this patch makes two changes to the way that "cpupower
frequancy-info" operates
1. make it so that querying individual values always returns a
message to the user
currently cpupower frequency info doesn't return anything to the user when
querying an individual value cannot be returned
[root@amd-dinar-09 cpupower]# cpupower -c 4 frequency-info -d
analyzing CPU 4:
[root@amd-dinar-09 cpupower]#
I added messages so that each query prints a message to the terminal
[root@amd-dinar-09 cpupower]# ./cpupower -c 4 frequency-info -d
analyzing CPU 4:
no or unknown cpufreq driver is active on this CPU
[root@amd-dinar-09 cpupower]#
(this is just one example)
2. change debug_output_one() to use the functions already provided
by cpufreq-info.c to query individual values of interest.
Signed-off-by: Jacob Tanenbaum <jtanenba@redhat.com>
Signed-off-by: Thomas Renninger <trenn@suse.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'certs')
0 files changed, 0 insertions, 0 deletions