Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion Lib/test/test_perf_profiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,8 @@ def perf_command_works():
cmd = (
"perf",
"record",
"--no-buildid",
"--no-buildid-cache",
"-g",
"--call-graph=fp",
"-o",
Expand Down Expand Up @@ -289,11 +291,22 @@ def run_perf(cwd, *args, use_jit=False, **env_vars):
env["PYTHON_JIT"] = "0"
output_file = cwd + "/perf_output.perf"
if not use_jit:
base_cmd = ("perf", "record", "-g", "--call-graph=fp", "-o", output_file, "--")
base_cmd = (
"perf",
"record",
"--no-buildid",
"--no-buildid-cache",
"-g",
"--call-graph=fp",
"-o", output_file,
"--"
)
else:
base_cmd = (
"perf",
"record",
"--no-buildid",
"--no-buildid-cache",
"-g",
"--call-graph=dwarf,65528",
"-F99",
Expand Down
Loading