SWDEV-465520: RHEL9 toolchain doesnt seem to support experimental filesystem

Change-Id: I6b1e7f42c49b1c7af412c0b68851724861c9970a


[ROCm/rocprofiler commit: 1e69b3e2f6]
这个提交包含在:
gobhardw
2024-06-04 15:02:51 +05:30
提交者 Ammar Elwazir
父节点 607cfb9ee1
当前提交 a67f4fdd93
修改 26 个文件,包含 125 行新增63 行删除
@@ -25,7 +25,6 @@
#include <condition_variable>
#include <cstdint>
#include <cstdlib>
#include <experimental/filesystem>
#include <fstream>
#include <memory>
#include <optional>
@@ -49,10 +48,12 @@
#include "rocprofiler_plugin.h"
#include "../utils.h"
#include "src/utils/filesystem.hpp"
#define STREAM_CONSTANT 98736677
#define QUEUE_CONSTANT 18746479
namespace fs = std::experimental::filesystem;
namespace fs = rocprofiler::common::filesystem;
PERFETTO_DEFINE_CATEGORIES(
perfetto::Category("GENERIC").SetDescription("GENERAL_CATEGORY"),
@@ -515,7 +516,7 @@ class perfetto_plugin_t {
if (kernel_name_it == kernel_names_map.end())
{
kernel_name_it = kernel_names_map.emplace(tracer_record.name,
rocprofiler::truncate_name(rocprofiler::cxx_demangle(tracer_record.name))).first;
rocprofiler::truncate_name(rocprofiler::cxx_demangle(tracer_record.name))).first;
}
TRACE_EVENT_BEGIN(
"HIP_OPS", perfetto::DynamicString(kernel_name_it->second.c_str()),