From 8fa1ba34465efc46ebb6c7e3b9744997325f6c52 Mon Sep 17 00:00:00 2001 From: "Gubrud, Aaron D" Date: Fri, 21 Aug 2026 16:13:33 -0700 Subject: [PATCH] fix asprof issue --- internal/script/scripts.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/script/scripts.go b/internal/script/scripts.go index c856c524..036819f7 100644 --- a/internal/script/scripts.go +++ b/internal/script/scripts.go @@ -1879,7 +1879,7 @@ stop_profiling() { # stop async-profiler for pid in "${java_pids[@]}"; do # this call is synchronous and will wait until the profile is written to file before returning - async-profiler/bin/asprof stop -o collapsed -f ap_folded_"$pid" "$pid" + async-profiler/bin/asprof stop "${asprof_arguments[@]}" -o collapsed "$pid" | tee ap_folded_"$pid" done # wait for perf processes to finish and exit if [ -n "$perf_fp_pid" ]; then