Reviewers: Yang,
Message:
PTAL.
Description:
Implement tracing interface for v8
This is based on the Skia Implementation.
More on the project can be found here:
https://docs.google.com/a/chromium.org/document/d/1_4LAnInOB8tM_DLjptWiszRwa4qwiSsDzMkO4tU-Qes/edit#heading=h.p97rw6yt8o2j
The V8 Tracing platform will replace the isolate->event_logger().
But since the current embedders (namely chromium) currently use the
isolate->event_logger, I made the default implementation (event-tracer) call
into isolate->event_logger if an event_logger was set.
Once the embedders properly implement the interface (for example in
chromium it
would look like this: https://codereview.chromium.org/707273005/), the
default
implementation will be doing nothing.
Once the embedders side is fixed, we will change how V8 uses the tracing
framework beyond the call from Logger:CallEventLogger. (which would also
include
a d8 implementation)
BUG=446513
Please review this at https://codereview.chromium.org/988893003/
Base URL: https://chromium.googlesource.com/v8/v8.git@master
Affected files (+1420, -1 lines):
M BUILD.gn
A include/v8-tracing.h
M src/log-inl.h
A src/tracing/event-tracer.cc
A src/tracing/trace-event.h
M tools/gyp/v8.gyp
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.