From 9f30432dd7e5eddbeb37d81e6ed417620aeef45b Mon Sep 17 00:00:00 2001 From: Youssef Aly Date: Wed, 6 Dec 2023 00:47:05 +0000 Subject: [PATCH] SWDEV-411647: enabling kernel trace flag with sys-trace option To allow results_.csv to be regenerated as it contains extra information not present in hcc_ops_trace, hip_api_trace, hsa_api_trace CSV files. The extra information is Dispatch_ID,GPU_ID,Queue_ID,PID,TID,Grid_Size,Workgroup_Size,LDS_Per_Workgroup,Scratch_Per_Workitem,Arch_VGPR,Accum_VGPR,SGPR,Wave_Size. Change-Id: Ief371b41aa41d77397c00e6b4281568e494b26dc --- bin/rocprofv2 | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/rocprofv2 b/bin/rocprofv2 index d0445e70c9..b8779bed44 100755 --- a/bin/rocprofv2 +++ b/bin/rocprofv2 @@ -156,6 +156,7 @@ while [ 1 ]; do export ROCPROFILER_KERNEL_TRACE=1 shift elif [ "$1" == "--sys-trace" ]; then + export ROCPROFILER_KERNEL_TRACE=1 export ROCPROFILER_HIP_API_TRACE=1 export ROCPROFILER_HIP_ACTIVITY_TRACE=1 export ROCPROFILER_HSA_API_TRACE=1