Adding source snapshot and partial serialization (#99)

* Adding source snapshot

* Adding option to serialize only on target kernel

* Fix for tidy

* Formatting

* Testing the new flag

---------

Co-authored-by: Giovanni Baraldi <gbaraldi@amd.com>

[ROCm/rocprofiler-sdk commit: a2fa188e14]
This commit is contained in:
Baraldi, Giovanni
2025-01-11 00:43:06 +01:00
committed by GitHub
parent e226e2a11a
commit 8abb65b166
7 changed files with 85 additions and 26 deletions
@@ -71,6 +71,7 @@ tool_init(rocprofiler_client_finalize_t /* fini_func */, void* tool_data)
"code object tracing service configure");
std::vector<rocprofiler_att_parameter_t> params{};
params.push_back({ROCPROFILER_ATT_PARAMETER_SERIALIZE_ALL, 1});
ROCPROFILER_CALL(
rocprofiler_configure_dispatch_thread_trace_service(client_ctx,