Jiri Olsa dbc4ca339c tools cpupower: Override CFLAGS assignments 7 years ago
..
bench 9de9aa45e9 tools/power/cpupower: fix compilation with STATIC=true 6 years ago
debug 4bf3bd0f15 tools cpupower debug: Allow to use outside build flags 6 years ago
lib 9de9aa45e9 tools/power/cpupower: fix compilation with STATIC=true 6 years ago
man 938bb850d5 Fix cpupower manpages "NAME" section 9 years ago
po 3723c63247 treewide: convert ISO_8859-1 text comments to utf-8 7 years ago
utils fec98069fb Merge branch 'x86-cpu-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 7 years ago
.gitignore 69b6f8a9b7 tools/power/cpupower: add libcpupower.so.0.0.1 to .gitignore 7 years ago
Makefile dbc4ca339c tools cpupower: Override CFLAGS assignments 6 years ago
README db262ea415 cpupower: Remove dead link to homepage, and update the targets built. 11 years ago
ToDo db262ea415 cpupower: Remove dead link to homepage, and update the targets built. 11 years ago

README

The cpupower package consists of the following elements:

requirements
------------

On x86 pciutils is needed at runtime (-lpci).
For compilation pciutils-devel (pci/pci.h) and a gcc version
providing cpuid.h is needed.
For both it's not explicitly checked for (yet).


libcpupower
----------

"libcpupower" is a library which offers a unified access method for userspace
tools and programs to the cpufreq core and drivers in the Linux kernel. This
allows for code reduction in userspace tools, a clean implementation of
the interaction to the cpufreq core, and support for both the sysfs and proc
interfaces [depending on configuration, see below].


compilation and installation
----------------------------

make
su
make install

should suffice on most systems. It builds libcpupower to put in
/usr/lib; cpupower, cpufreq-bench_plot.sh to put in /usr/bin; and
cpufreq-bench to put in /usr/sbin. If you want to set up the paths
differently and/or want to configure the package to your specific
needs, you need to open "Makefile" with an editor of your choice and
edit the block marked CONFIGURATION.


THANKS
------
Many thanks to Mattia Dongili who wrote the autotoolization and
libtoolization, the manpages and the italian language file for cpupower;
to Dave Jones for his feedback and his dump_psb tool; to Bruno Ducrot for his
powernow-k8-decode and intel_gsic tools as well as the french language file;
and to various others commenting on the previous (pre-)releases of
cpupower.


Dominik Brodowski