File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -237,11 +237,11 @@ def is_safe_file(fname, substr):
237237 eventfile = "bdx.txt"
238238 elif arch == "skylake" :
239239 eventfile = "skx.txt"
240- if args .cloud in ("aws" ,"AWS" ) and args .cloudtype in ("VM" ,"vm" ):
240+ if args .cloud in ("aws" , "AWS" ) and args .cloudtype in ("VM" , "vm" ):
241241 eventfile = "skx_aws.txt"
242242 elif arch == "cascadelake" :
243243 eventfile = "clx.txt"
244- if args .cloud in ("aws" ,"AWS" ) and args .cloudtype in ("VM" , "vm" ):
244+ if args .cloud in ("aws" , "AWS" ) and args .cloudtype in ("VM" , "vm" ):
245245 eventfile = "clx_aws.txt"
246246 elif arch == "icelake" :
247247 eventfile = "icx.txt"
@@ -454,7 +454,9 @@ def is_safe_file(fname, substr):
454454 try :
455455 print ("Collecting perf stat for events in : %s" % eventfilename )
456456 if args .cloud :
457- print ("Consider using cloudtype flag to set instance type -> VM/BM; Default is VM" )
457+ print (
458+ "Consider using cloudtype flag to set instance type -> VM/BM; Default is VM"
459+ )
458460 subprocess .call (perfargs ) # nosec
459461 print ("Collection complete! Calculating TSC frequency now" )
460462 except KeyboardInterrupt :
You can’t perform that action at this time.
0 commit comments