PC Sampling - blit kernels handling (#878)

* correlation id 0 for blit kernels' samples

* rocprofiler_pc_sampling_snapshot_v1_t docs update (for future use)

* ROCPROFILER_CORRELATION_ID_VALUE_NONE introduced

* Simplifying ROCPROFILER_CORRELATION_ID_VALUE_NONE

* Apply suggestions from code review

Co-authored-by: Vladimir Indic <139573562+vlaindic@users.noreply.github.com>

---------

Co-authored-by: Jonathan R. Madsen <jrmadsen@users.noreply.github.com>
This commit is contained in:
Vladimir IndiceJonathan R. Madsen authored and GitHub committed 2024-05-29 12:55:47 +02:00
1 parent dc054eea76
commit c45bf712d1
4 files changed
+19 -9

No files matched your search

@@ -176,8 +176,7 @@ data_ready_callback(void* client_callback_data,
if(pcs_parser_status != PCSAMPLE_STATUS_SUCCESS)
{
// TODO: should we end program here or somehow report an error to the user and continue?
throw std::runtime_error("Error while parsing PC samples");
ROCP_INFO << "PCS Parser encountered samples from a blit kernel.\n";
}
});
}