Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/cpp/dtrace/dtrace.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down
4 changes: 3 additions & 1 deletion src/cpp/dtrace/dtrace.h
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Comment thread
AdvaitNaik marked this conversation as resolved.

#include <cstdint>
Expand Down Expand Up @@ -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.
Expand Down
Loading