How to correlate range profiling metrics with a certain kernel?

Hi, I’m using the latest range profiling apis to get profiling metrics such as nvlrx_bytes.avg, nvlrx_bytes_data_user.avg. And I choose auto range & kernel replay, which regard one kernel as one range.

After profiling, I found that every range name is an index number(can see the image below), which may contains the order information of the kernels. But how can I know which kernels the ranges are correlating to?

p.s. I’ve tried using activity apis at the same time, but there are still no accurate correlations with kernels and ranges. My CUPTI project is used by ptrace and can not ensure activity apis enabled at the accurately same time with range profiling apis.