Searched refs:MSR_DEV_FILE_PATH (Results 1 – 1 of 1) sorted by relevance
19 MSR_DEV_FILE_PATH = '/dev/cpu/0/msr' variable47 if not os.path.exists(MSR_DEV_FILE_PATH):48 print 'Error: %s does not exist.' % MSR_DEV_FILE_PATH51 if not os.access(MSR_DEV_FILE_PATH, os.R_OK):52 print 'Error: Cannot read from %s' % MSR_DEV_FILE_PATH101 print 'Running chmod on %s.' % MSR_DEV_FILE_PATH102 ret = subprocess.call(['/bin/chmod', 'a+r', MSR_DEV_FILE_PATH])104 print 'Error: Cannot chmod %s.' % MSR_DEV_FILE_PATH