PC Sampling: fix potential_end_offset (#792)

* fix potential_end_offset

* format code: unrelated

[ROCm/rocprofiler-compute commit: 1b7445faa4]
This commit is contained in:
Fei Zheng
2025-07-08 06:52:01 -06:00
committed by GitHub
parent c867eaa9cd
commit 09ec955554
2 changed files with 2 additions and 1 deletions
@@ -1196,7 +1196,7 @@ def load_pc_sampling_data_per_kernel(
next_index = i + 1
if next_index < len(filtered_sorted_list): # Ensure the next item exists
next_item = filtered_sorted_list[next_index]
kernel_info["potential_end_offset"] = item[
kernel_info["potential_end_offset"] = next_item[
"kernel_code_entry_byte_offset"
]
else: