2019-07-16 17:23:04 +00:00
|
|
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
|
|
From: Nitish Sakhawalkar <nitsakh@icloud.com>
|
|
|
|
Date: Tue, 26 Mar 2019 11:28:05 -0700
|
|
|
|
Subject: fixme: Comment trace event macro
|
|
|
|
|
2019-12-13 17:18:45 +00:00
|
|
|
This broke the build at some point. Does it still? We should probably remove
|
|
|
|
this patch and find out!
|
2019-07-16 17:23:04 +00:00
|
|
|
|
|
|
|
diff --git a/src/node_internals.h b/src/node_internals.h
|
2020-12-16 20:02:36 +00:00
|
|
|
index aa7180e18544cab4004a0ef87ba230bd2e732d28..0a01dcd8ed194b205d7fe510451315610e5a60be 100644
|
2019-07-16 17:23:04 +00:00
|
|
|
--- a/src/node_internals.h
|
|
|
|
+++ b/src/node_internals.h
|
2020-10-19 20:28:28 +00:00
|
|
|
@@ -368,10 +368,11 @@ class TraceEventScope {
|
2019-07-16 17:23:04 +00:00
|
|
|
TraceEventScope(const char* category,
|
|
|
|
const char* name,
|
|
|
|
void* id) : category_(category), name_(name), id_(id) {
|
|
|
|
- TRACE_EVENT_NESTABLE_ASYNC_BEGIN0(category_, name_, id_);
|
|
|
|
+ // TRACE_EVENT_NESTABLE_ASYNC_BEGIN0(category_, name_, id_);
|
|
|
|
+ (void) category_; (void)name_; (void)id_;
|
|
|
|
}
|
|
|
|
~TraceEventScope() {
|
|
|
|
- TRACE_EVENT_NESTABLE_ASYNC_END0(category_, name_, id_);
|
|
|
|
+ // TRACE_EVENT_NESTABLE_ASYNC_END0(category_, name_, id_);
|
|
|
|
}
|
|
|
|
|
|
|
|
private:
|