diff options
Diffstat (limited to 'pgo_tools/benchmark_pgo_profiles.py')
-rwxr-xr-x | pgo_tools/benchmark_pgo_profiles.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pgo_tools/benchmark_pgo_profiles.py b/pgo_tools/benchmark_pgo_profiles.py index d6fb4945..121fb774 100755 --- a/pgo_tools/benchmark_pgo_profiles.py +++ b/pgo_tools/benchmark_pgo_profiles.py @@ -118,8 +118,8 @@ def construct_hyperfine_cmd( else: raise ValueError(f"Unknown profile type: {type(profile)}") - quickpkg_restore = " ".join( - shlex.quote(str(x)) + quickpkg_restore = shlex.join( + str(x) for x in pgo_tools.generate_quickpkg_restoration_command(llvm_binpkg) ) @@ -231,7 +231,7 @@ def run_benchmark( logging.info( "Profile %r: Running %s", str(profile), - " ".join(shlex.quote(str(x)) for x in cmd), + shlex.join(str(x) for x in cmd), ) pgo_tools.run(cmd) |