Lines Matching full:perf
3 # Print the top N most executed functions in QEMU using perf.
57 # Insure that perf is installed
58 check_perf_presence = subprocess.run(["which", "perf"],
61 sys.exit("Please install perf before running the script!")
63 # Insure user has previllage to run perf
64 check_perf_executability = subprocess.run(["perf", "stat", "ls", "/"],
91 # Run perf record
92 perf_record = subprocess.run((["perf", "record", "--output=/tmp/perf.data"] +
97 os.unlink('/tmp/perf.data')
100 # Save perf report output to /tmp/perf_report.out
103 ["perf", "report", "--input=/tmp/perf.data", "--stdio"],
107 os.unlink('/tmp/perf.data')
148 os.unlink('/tmp/perf.data')