summaryrefslogtreecommitdiff
path: root/node.gyp
diff options
context:
space:
mode:
authorJames M Snell <jasnell@gmail.com>2018-06-22 12:50:01 -0700
committerJames M Snell <jasnell@gmail.com>2018-07-12 10:32:26 -0700
commitd85449dcdf60513dc8bb8d54b22fdb1da5316bad (patch)
tree972f1c715c78baeed913b60edf8a0e5c3f406777 /node.gyp
parentd4164ca559f5d458384b379852972c84ff918ab4 (diff)
downloadandroid-node-v8-d85449dcdf60513dc8bb8d54b22fdb1da5316bad.tar.gz
android-node-v8-d85449dcdf60513dc8bb8d54b22fdb1da5316bad.tar.bz2
android-node-v8-d85449dcdf60513dc8bb8d54b22fdb1da5316bad.zip
trace_events: add traced_value.cc/traced_value.h
Port of the V8 internal v8::tracing::TracedValue that allows structured data to be included in the trace event. The v8 class is not exported in the public API so we cannot use it directly. This is a simplified and slightly modified port. This commit only adds the class, it does not add uses of it. Those will come in separate PRs/commits. PR-URL: https://github.com/nodejs/node/pull/21475 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Diffstat (limited to 'node.gyp')
-rw-r--r--node.gyp3
1 files changed, 3 insertions, 0 deletions
diff --git a/node.gyp b/node.gyp
index 4b6bc4c108..d89296246c 100644
--- a/node.gyp
+++ b/node.gyp
@@ -380,6 +380,7 @@
'src/tracing/node_trace_buffer.cc',
'src/tracing/node_trace_writer.cc',
'src/tracing/trace_event.cc',
+ 'src/tracing/traced_value.cc',
'src/tty_wrap.cc',
'src/udp_wrap.cc',
'src/util.cc',
@@ -440,6 +441,7 @@
'src/tracing/node_trace_buffer.h',
'src/tracing/node_trace_writer.h',
'src/tracing/trace_event.h',
+ 'src/tracing/traced_value.h',
'src/util.h',
'src/util-inl.h',
'deps/http_parser/http_parser.h',
@@ -953,6 +955,7 @@
'test/cctest/test_node_postmortem_metadata.cc',
'test/cctest/test_environment.cc',
'test/cctest/test_platform.cc',
+ 'test/cctest/test_traced_value.cc',
'test/cctest/test_util.cc',
'test/cctest/test_url.cc'
],