diff --git a/projects/rocprofiler-compute/src/rocprof_compute_profile/profiler_rocprof_v3.py b/projects/rocprofiler-compute/src/rocprof_compute_profile/profiler_rocprof_v3.py index b81e424537..b257d75ae9 100644 --- a/projects/rocprofiler-compute/src/rocprof_compute_profile/profiler_rocprof_v3.py +++ b/projects/rocprofiler-compute/src/rocprof_compute_profile/profiler_rocprof_v3.py @@ -48,10 +48,10 @@ class rocprof_v3_profiler(RocProfCompute_Base): if self.get_args().format_rocprof_output == "csv": rocprof_out_format = "csv" - if self.get_args().hip_trace: - trace_option += " " + "--hip-trace" if self.get_args().kokkos_trace: - trace_option += " " + "--kokkos-trace" + trace_option = "--kokkos-trace" + if self.get_args().hip_trace: + trace_option = "--hip-trace" args = [ "-E",