Lines Matching refs:subprocess
36 import subprocess
58 check_perf_presence = subprocess.run(["which", "perf"],
59 stdout=subprocess.DEVNULL)
64 check_perf_executability = subprocess.run(["perf", "stat", "ls", "/"],
65 stdout=subprocess.DEVNULL,
66 stderr=subprocess.DEVNULL)
92 perf_record = subprocess.run((["perf", "record", "--output=/tmp/perf.data"] +
94 stdout=subprocess.DEVNULL,
95 stderr=subprocess.PIPE)
102 perf_report = subprocess.run(
105 stderr=subprocess.PIPE)