Home
last modified time | relevance | path

Searched hist:a21d38c846fce05ef55ab240f18fb19755bed16a (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/tools/power/x86/turbostat/
H A Dturbostat.cdiff a21d38c846fce05ef55ab240f18fb19755bed16a Tue Mar 24 15:37:35 CDT 2015 Len Brown <len.brown@intel.com> tools/power turbostat: modprobe msr, if needed

Some distros (Ubuntu) ship the msr driver as a module.
If turbosat is run as root on those systems, and discovers
that there is no /dev/cpu/cpu0/msr, it will now "modprobe msr"
for the user.

If not root, the modprobe attempt will fail, and turbostat will exit as before:

turbostat: no /dev/cpu/0/msr, Try "# modprobe msr" : No such file or directory

Signed-off-by: Len Brown <len.brown@intel.com>