aboutsummaryrefslogtreecommitdiff
path: root/deps/v8/include/libplatform
diff options
context:
space:
mode:
authorAli Ijaz Sheikh <ofrobots@google.com>2018-01-16 16:49:14 -0800
committerAli Ijaz Sheikh <ofrobots@google.com>2018-01-24 09:58:16 -0800
commit51054dac541cdefabe54a076f009ebf4c3c5d144 (patch)
treefad392485c17f74b165d56628d48f5357ec87d7a /deps/v8/include/libplatform
parent7d7a549219baeecadbbd6e2b9b29b57fd80897f7 (diff)
downloadandroid-node-v8-51054dac541cdefabe54a076f009ebf4c3c5d144.tar.gz
android-node-v8-51054dac541cdefabe54a076f009ebf4c3c5d144.tar.bz2
android-node-v8-51054dac541cdefabe54a076f009ebf4c3c5d144.zip
deps: cherry-pick c3bb73f from upstream V8
Original commit message: [tracing] implement TRACE_EVENT_ADD_WITH_TIMESTAMP Bug: Cq-Include-Trybots: master.tryserver.chromium.linux:linux_chromium_rel_ng Change-Id: Icb3cf7b7f96704e1eaa4c5fbf773b94b70cddc85 Reviewed-on: https://chromium-review.googlesource.com/861302 Reviewed-by: Fadi Meawad <fmeawad@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org> Commit-Queue: Ali Ijaz Sheikh <ofrobots@google.com> Cr-Commit-Position: refs/heads/master@{#50549} Refs: https://github.com/v8/v8/commit/c3bb73f6b95c280cee3a4d6b03c87fce93d617c7 Refs: https://github.com/nodejs/node/issues/17349 PR-URL: https://github.com/nodejs/node/pull/18196 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Andreas Madsen <amwebdk@gmail.com>
Diffstat (limited to 'deps/v8/include/libplatform')
-rw-r--r--deps/v8/include/libplatform/v8-tracing.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/deps/v8/include/libplatform/v8-tracing.h b/deps/v8/include/libplatform/v8-tracing.h
index 55189b4837..9dcf3d7bca 100644
--- a/deps/v8/include/libplatform/v8-tracing.h
+++ b/deps/v8/include/libplatform/v8-tracing.h
@@ -247,6 +247,13 @@ class V8_PLATFORM_EXPORT TracingController
const uint64_t* arg_values,
std::unique_ptr<v8::ConvertableToTraceFormat>* arg_convertables,
unsigned int flags) override;
+ uint64_t AddTraceEventWithTimestamp(
+ char phase, const uint8_t* category_enabled_flag, const char* name,
+ const char* scope, uint64_t id, uint64_t bind_id, int32_t num_args,
+ const char** arg_names, const uint8_t* arg_types,
+ const uint64_t* arg_values,
+ std::unique_ptr<v8::ConvertableToTraceFormat>* arg_convertables,
+ unsigned int flags, int64_t timestamp) override;
void UpdateTraceEventDuration(const uint8_t* category_enabled_flag,
const char* name, uint64_t handle) override;
void AddTraceStateObserver(