Use rocprofiler-SDK for OMPT tracing (#702)

Switch to using SDK for OMPT tracing and remove older OMPT code path
This commit is contained in:
Kian Cossettini authored and GitHub committed 2025-08-26 16:54:01 -04:00
1 parent 5f4e0dc889
commit 07a7b9b845
16 files changed
+294 -682

No files matched your search

@@ -56,7 +56,6 @@
#include "library/components/pthread_gotcha.hpp"
#include "library/components/vaapi_gotcha.hpp"
#include "library/coverage.hpp"
#include "library/ompt.hpp"
#include "library/process_sampler.hpp"
#include "library/ptl.hpp"
#include "library/rocprofiler-sdk.hpp"
@@ -85,6 +84,7 @@
#if ROCPROFSYS_USE_ROCM > 0
# include <rocprofiler-sdk/agent.h>
# include <rocprofiler-sdk/registration.h>
#endif
#include <atomic>
@@ -602,12 +602,6 @@ rocprofsys_init_tooling_hidden(void)
}
}
if(get_use_ompt())
{
ROCPROFSYS_VERBOSE_F(1, "Setting up OMPT...\n");
ompt::setup();
}
if(get_use_perfetto())
{
ROCPROFSYS_VERBOSE_F(1, "Starting Perfetto...\n");
@@ -853,12 +847,6 @@ rocprofsys_finalize_hidden(void)
component::vaapi_gotcha::shutdown();
}
if(get_use_ompt())
{
ROCPROFSYS_VERBOSE_F(1, "Shutting down OMPT...\n");
ompt::shutdown();
}
#if defined(ROCPROFSYS_USE_ROCM) && ROCPROFSYS_USE_ROCM > 0
if(get_use_rocm())
{