Home
last modified time | relevance | path

Searched refs:RDMSR_PATH (Results 1 – 1 of 1) sorted by relevance

/external/chromium-trace/catapult/telemetry/build/
Dlinux_setup_msr.py20 RDMSR_PATH = '/usr/sbin/rdmsr' variable
60 if not os.access(RDMSR_PATH, os.X_OK):
61 print 'Error: %s missing or not executable.' % RDMSR_PATH
64 proc = subprocess.Popen(['/sbin/getcap', RDMSR_PATH], stdout=subprocess.PIPE)
107 if not os.access(RDMSR_PATH, os.F_OK):
114 print 'Running setcap on %s.' % RDMSR_PATH
115 ret = subprocess.call(['/sbin/setcap', 'cap_sys_rawio+ep', RDMSR_PATH])