summaryrefslogtreecommitdiff
path: root/src/node_report_utils.cc
diff options
context:
space:
mode:
authorAnna Henningsen <anna@addaleax.net>2019-02-03 15:10:19 +0100
committerAnna Henningsen <anna@addaleax.net>2019-02-06 15:36:24 +0100
commit91adbe14b4490483785e1cd094c1130278cd25f3 (patch)
tree5718fe59de72de50e1b067076803256f7bb5a3fc /src/node_report_utils.cc
parentb1f82e4342f8a630b1ef83cd33781a725428f569 (diff)
downloadnode-new-91adbe14b4490483785e1cd094c1130278cd25f3.tar.gz
report: include information about event loop itself
PR-URL: https://github.com/nodejs/node/pull/25906 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'src/node_report_utils.cc')
-rw-r--r--src/node_report_utils.cc9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/node_report_utils.cc b/src/node_report_utils.cc
index d013eb9167..2a454fc371 100644
--- a/src/node_report_utils.cc
+++ b/src/node_report_utils.cc
@@ -214,15 +214,6 @@ void WalkHandle(uv_handle_t* h, void* arg) {
writer->json_end();
}
-template <typename T>
-std::string ValueToHexString(T value) {
- std::stringstream hex;
-
- hex << "0x" << std::setfill('0') << std::setw(sizeof(T) * 2) << std::hex <<
- value;
- return hex.str();
-}
-
std::string EscapeJsonChars(const std::string& str) {
const std::string control_symbols[0x20] = {
"\\u0000", "\\u0001", "\\u0002", "\\u0003", "\\u0004", "\\u0005",