70 lines
2.2 KiB
Diff
70 lines
2.2 KiB
Diff
From af363337240fb6e4976004900b610317ba459165 Mon Sep 17 00:00:00 2001
|
|
From: Robin Voetter <rvoetter@amd.com>
|
|
Date: Sat, 4 Apr 2026 21:01:33 +0000
|
|
Subject: [PATCH] [rocprofiler-sdk] add missing stl headers
|
|
|
|
These missing includes became apparent when building with
|
|
ROCPROFILER_BUILD_GHC_FS=OFF.
|
|
---
|
|
source/lib/att-tool/att_lib_wrapper.hpp | 2 ++
|
|
source/lib/rocprofiler-sdk-rocpd/sql.cpp | 1 +
|
|
source/lib/rocprofiler-sdk/counters/metrics.cpp | 1 +
|
|
source/lib/rocprofiler-sdk/tests/status.cpp | 1 +
|
|
4 files changed, 5 insertions(+)
|
|
|
|
diff --git a/source/lib/att-tool/att_lib_wrapper.hpp b/source/lib/att-tool/att_lib_wrapper.hpp
|
|
index e7e58c5991..7dcd000a43 100644
|
|
--- a/source/lib/att-tool/att_lib_wrapper.hpp
|
|
+++ b/source/lib/att-tool/att_lib_wrapper.hpp
|
|
@@ -28,9 +28,11 @@
|
|
#include <rocprofiler-sdk/experimental/thread-trace/trace_decoder.h>
|
|
|
|
#include <algorithm>
|
|
+#include <array>
|
|
#include <fstream>
|
|
#include <iostream>
|
|
#include <map>
|
|
+#include <memory>
|
|
#include <vector>
|
|
|
|
namespace rocprofiler
|
|
diff --git a/source/lib/rocprofiler-sdk-rocpd/sql.cpp b/source/lib/rocprofiler-sdk-rocpd/sql.cpp
|
|
index b052ec51c3..7e8742686e 100644
|
|
--- a/source/lib/rocprofiler-sdk-rocpd/sql.cpp
|
|
+++ b/source/lib/rocprofiler-sdk-rocpd/sql.cpp
|
|
@@ -39,6 +39,7 @@
|
|
#include <fmt/ranges.h>
|
|
|
|
#include <dlfcn.h>
|
|
+#include <fstream>
|
|
#include <initializer_list>
|
|
#include <unordered_map>
|
|
|
|
diff --git a/source/lib/rocprofiler-sdk/counters/metrics.cpp b/source/lib/rocprofiler-sdk/counters/metrics.cpp
|
|
index 8adcf0f991..ee3391e904 100644
|
|
--- a/source/lib/rocprofiler-sdk/counters/metrics.cpp
|
|
+++ b/source/lib/rocprofiler-sdk/counters/metrics.cpp
|
|
@@ -46,6 +46,7 @@
|
|
#include <dlfcn.h> // for dladdr
|
|
#include <cstdint>
|
|
#include <cstdlib>
|
|
+#include <fstream>
|
|
#include <memory>
|
|
#include <system_error>
|
|
#include <vector>
|
|
diff --git a/source/lib/rocprofiler-sdk/tests/status.cpp b/source/lib/rocprofiler-sdk/tests/status.cpp
|
|
index a5a492101d..b01f511b99 100644
|
|
--- a/source/lib/rocprofiler-sdk/tests/status.cpp
|
|
+++ b/source/lib/rocprofiler-sdk/tests/status.cpp
|
|
@@ -25,6 +25,7 @@
|
|
|
|
#include <gtest/gtest.h>
|
|
|
|
+#include <iomanip>
|
|
#include <string_view>
|
|
|
|
TEST(rocprofiler_lib, error_string)
|
|
--
|
|
2.43.0
|
|
|