https://github.com/python/cpython/commit/e01e5829020e517eb68a47da4dd65926a9d144de commit: e01e5829020e517eb68a47da4dd65926a9d144de branch: main author: Pablo Galindo Salgado <pablog...@gmail.com> committer: ambv <luk...@langa.pl> date: 2025-04-18T14:26:59+02:00 summary:
gh-132553: Build the perf tool without buildid cache (GH-132663) files: M Lib/test/test_perf_profiler.py diff --git a/Lib/test/test_perf_profiler.py b/Lib/test/test_perf_profiler.py index 1922d8e0bab216..c176e505155b90 100644 --- a/Lib/test/test_perf_profiler.py +++ b/Lib/test/test_perf_profiler.py @@ -260,6 +260,8 @@ def perf_command_works(): cmd = ( "perf", "record", + "--no-buildid", + "--no-buildid-cache", "-g", "--call-graph=fp", "-o", @@ -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", _______________________________________________ Python-checkins mailing list -- python-checkins@python.org To unsubscribe send an email to python-checkins-le...@python.org https://mail.python.org/mailman3/lists/python-checkins.python.org/ Member address: arch...@mail-archive.com