summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2015-03-24 23:37:35 +0300
committerLen Brown <len.brown@intel.com>2015-04-18 21:20:51 +0300
commita21d38c846fce05ef55ab240f18fb19755bed16a (patch)
tree994b93a6ba3b49cdd435c2058938f0d3ba6ad0c2 /arch
parentfcd17211bd807533f6d4be20b1a4644e9191bfe2 (diff)
downloadlinux-a21d38c846fce05ef55ab240f18fb19755bed16a.tar.xz
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>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions