[SDK] Add Stack IDs (#269)

* Add Stack IDs

* Add memcpy test

* Add async corr id record

* Async events use `rocprofiler_async_correlation_id_t`
* Sync events use `rocprofiler_correlation_id_t`

* Update ATT to use asnyc IDs

* Review comments
This commit is contained in:
Kuricheti, Mythreya
2025-03-20 22:52:48 -07:00
zatwierdzone przez GitHub
rodzic ae0db8cee5
commit f27f76716e
36 zmienionych plików z 341 dodań i 67 usunięć
@@ -188,6 +188,7 @@ rocjpeg_api_impl<TableIdx, OpIdx>::functor(Args... args)
auto tracer_data = common::init_public_api_struct(callback_api_data_t{});
auto* corr_id = tracing::correlation_service::construct(ref_count);
auto internal_corr_id = corr_id->internal;
auto ancestor_corr_id = corr_id->ancestor;
tracing::populate_external_correlation_ids(external_corr_ids,
thr_id,
@@ -204,6 +205,7 @@ rocjpeg_api_impl<TableIdx, OpIdx>::functor(Args... args)
thr_id,
internal_corr_id,
external_corr_ids,
ancestor_corr_id,
info_type::callback_domain_idx,
info_type::operation_idx,
tracer_data);
@@ -247,6 +249,7 @@ rocjpeg_api_impl<TableIdx, OpIdx>::functor(Args... args)
thr_id,
internal_corr_id,
external_corr_ids,
ancestor_corr_id,
info_type::buffered_domain_idx,
info_type::operation_idx,
buffer_record);