diff options
author | Eugene Ostroukhov <eostroukhov@google.com> | 2018-05-16 09:43:17 -0700 |
---|---|---|
committer | Myles Borins <mylesborins@google.com> | 2018-06-01 09:59:11 +0200 |
commit | 1fb0b2cb92bdfb0b73cd4d333436794775d4630d (patch) | |
tree | 80b1e74261f9789dcbedb191e1acf5a3cd68bd5f /deps/v8/include | |
parent | ff06cdba1b9d496b14d621f5f60dd84ae522b699 (diff) | |
download | android-node-v8-1fb0b2cb92bdfb0b73cd4d333436794775d4630d.tar.gz android-node-v8-1fb0b2cb92bdfb0b73cd4d333436794775d4630d.tar.bz2 android-node-v8-1fb0b2cb92bdfb0b73cd4d333436794775d4630d.zip |
deps: cherry-pick 23652c5f from upstream V8
Original commit message:
Custom tag for the traceEvents array
This API will be used by Node.js to provide output compatible with
Chrome devtools.
Cq-Include-Trybots: luci.chromium.try:linux_chromium_rel_ng
Change-Id: I265495f8af39bfc78d7fdbe43ac308f0920e817d
Reviewed-on: https://chromium-review.googlesource.com/1044491
Reviewed-by: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org>
Reviewed-by: Ulan Degenbaev <ulan@chromium.org>
Commit-Queue: Eugene Ostroukhov <eostroukhov@chromium.org>
Cr-Commit-Position: refs/heads/master@{#53041}
PR-URL: https://github.com/nodejs/node/pull/20608
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Diffstat (limited to 'deps/v8/include')
-rw-r--r-- | deps/v8/include/libplatform/v8-tracing.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/deps/v8/include/libplatform/v8-tracing.h b/deps/v8/include/libplatform/v8-tracing.h index 9dcf3d7bca..e430e7c350 100644 --- a/deps/v8/include/libplatform/v8-tracing.h +++ b/deps/v8/include/libplatform/v8-tracing.h @@ -112,6 +112,8 @@ class V8_PLATFORM_EXPORT TraceWriter { virtual void Flush() = 0; static TraceWriter* CreateJSONTraceWriter(std::ostream& stream); + static TraceWriter* CreateJSONTraceWriter(std::ostream& stream, + const std::string& tag); private: // Disallow copy and assign |