xref: /openbmc/linux/tools/power/cpupower/README (revision 3a83e4e6)
1The cpupower package consists of the following elements:
2
3requirements
4------------
5
6On x86 pciutils is needed at runtime (-lpci).
7For compilation pciutils-devel (pci/pci.h) and a gcc version
8providing cpuid.h is needed.
9For both it's not explicitly checked for (yet).
10
11
12libcpupower
13----------
14
15"libcpupower" is a library which offers a unified access method for userspace
16tools and programs to the cpufreq core and drivers in the Linux kernel. This
17allows for code reduction in userspace tools, a clean implementation of
18the interaction to the cpufreq core, and support for both the sysfs and proc
19interfaces [depending on configuration, see below].
20
21
22compilation and installation
23----------------------------
24
25make
26su
27make install
28
29should suffice on most systems. It builds libcpupower to put in
30/usr/lib; cpupower, cpufreq-bench_plot.sh to put in /usr/bin; and
31cpufreq-bench to put in /usr/sbin. If you want to set up the paths
32differently and/or want to configure the package to your specific
33needs, you need to open "Makefile" with an editor of your choice and
34edit the block marked CONFIGURATION.
35
36
37THANKS
38------
39Many thanks to Mattia Dongili who wrote the autotoolization and
40libtoolization, the manpages and the italian language file for cpupower;
41to Dave Jones for his feedback and his dump_psb tool; to Bruno Ducrot for his
42powernow-k8-decode and intel_gsic tools as well as the french language file;
43and to various others commenting on the previous (pre-)releases of
44cpupower.
45
46
47        Dominik Brodowski
48