Skip to content

Commit 9e47f8a

Browse files
committed
tools/power turbostat: update turbostat(8)
Clarify how to get the latest version. Signed-off-by: Len Brown <len.brown@intel.com>
1 parent 6b47ed2 commit 9e47f8a

File tree

1 file changed

+27
-1
lines changed

1 file changed

+27
-1
lines changed

tools/power/x86/turbostat/turbostat.8

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -516,14 +516,40 @@ that they count at TSC rate, which is true on all processors tested to date.
516516
Volume 3B: System Programming Guide"
517517
https://www.intel.com/products/processor/manuals/
518518

519+
.SH RUN THE LATEST VERSION
520+
If turbostat complains that it doesn't recognize your processor,
521+
please try the latest version.
522+
523+
The latest version of turbostat does not require the latest version of the Linux kernel.
524+
However, some features, such as perf(1) counters, do require kernel support.
525+
526+
The latest turbostat release is available in the upstream Linux Kernel source tree.
527+
eg. "git pull https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git"
528+
and run make in tools/power/x86/turbostat/.
529+
530+
n.b. "make install" will update your system manually, but a distro update may subsequently downgrade your turbostat to an older version.
531+
For this reason, manually installing to /usr/local/bin may be what you want.
532+
533+
Note that turbostat/Makefile has a "make snapshot" target, which will create a tar file
534+
that can build without a local kernel source tree.
535+
536+
If the upstream version isn't new enough, the development tree can be found here:
537+
"git pull https://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux.git turbostat"
538+
539+
If the development tree doesn't work, please contact the author via chat,
540+
or via email with the word "turbostat" on the Subject line.
541+
519542
.SH FILES
520543
.ta
521544
.nf
545+
/sys/bus/event_source/devices/
522546
/dev/cpu/*/msr
547+
/sys/class/intel_pmt/
548+
/sys/devices/system/cpu/
523549
.fi
524550

525551
.SH "SEE ALSO"
526-
msr(4), vmstat(8)
552+
perf(1), msr(4), vmstat(8)
527553
.PP
528554
.SH AUTHOR
529555
.nf

0 commit comments

Comments
 (0)