From 58cbdb09278e93f80bb5fffb5f41e7e0eb558cd5 Mon Sep 17 00:00:00 2001 From: advanaik Date: Thu, 18 Jun 2026 12:24:08 -0700 Subject: [PATCH] temporary comment dtrace API for refactor Signed-off-by: advanaik --- src/cpp/dtrace/dtrace.cpp | 2 ++ src/cpp/dtrace/dtrace.h | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/cpp/dtrace/dtrace.cpp b/src/cpp/dtrace/dtrace.cpp index 73403ce3..6fd7e3d6 100644 --- a/src/cpp/dtrace/dtrace.cpp +++ b/src/cpp/dtrace/dtrace.cpp @@ -286,6 +286,7 @@ get_dtrace_result_file(dtrace_handle_t dtrace_handle, const std::string& result_ } } +/* void update_dtrace_result_buffer(dtrace_handle_t dtrace_handle, const std::string& result_key, nlohmann::ordered_json& result_buffer) @@ -356,6 +357,7 @@ update_dtrace_result_buffer(dtrace_handle_t dtrace_handle, const std::string& re std::cerr << e.what(); } } +*/ void destroy_dtrace_handle(dtrace_handle_t dtrace_handle) diff --git a/src/cpp/dtrace/dtrace.h b/src/cpp/dtrace/dtrace.h index 20a51214..f8b206c9 100644 --- a/src/cpp/dtrace/dtrace.h +++ b/src/cpp/dtrace/dtrace.h @@ -5,7 +5,7 @@ #define TRACE_H // This header file contains the public APIs for creating control buffer, memory buffer, and result file -#include "json/nlohmann/json.hpp" +// #include "json/nlohmann/json.hpp" #include "utils.h" #include @@ -108,10 +108,12 @@ get_dtrace_result_file(dtrace_handle_t dtrace_handle, const std::string& result_ * This function extracts results from the device buffer (same as get_dtrace_result_file) * but serializes into the provided JSON object under result_key instead of writing to a file. */ +/* DTRACE_EXPORT void update_dtrace_result_buffer(dtrace_handle_t dtrace_handle, const std::string& result_key, nlohmann::ordered_json& result_buffer); +*/ /*! * destroy_dtrace_handle() - Destroys a dynamic tracing context.