Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(104)

Issue 186163002: Add support for allowing an embedder to get the V8 profile timer event logs. (Closed)

Created:
6 years, 9 months ago by fmeawad
Modified:
6 years, 9 months ago
Reviewers:
Sven Panne, Yang
CC:
v8-dev, Paweł Hajdan Jr.
Visibility:
Public.

Description

Add support for allowing an embedder to get the V8 profile timer event logs. Contributed by fmeawad@chromium.org R=yangguo@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=19745

Patch Set 1 #

Patch Set 2 : Resolving a failed upload #

Patch Set 3 : Add unit test #

Patch Set 4 : Renamings #

Total comments: 10

Patch Set 5 : Remove Macro, move SetEventLogger to V8::Isolate #

Patch Set 6 : Make the current internal event logs the default callback in case its flag was set #

Patch Set 7 : #

Total comments: 4

Patch Set 8 : Move callbacks to log.h, move setting default callback to Isolate::Init #

Patch Set 9 : #

Total comments: 1

Patch Set 10 : #

Patch Set 11 : Remove check for an existing event_logger, as at this point, none might have already been set #

Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -9 lines) Patch
M include/v8.h View 1 2 3 4 2 chunks +8 lines, -0 lines 0 comments Download
src/api.cc View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
M src/counters.cc View 1 2 3 4 5 2 chunks +2 lines, -6 lines 0 comments Download
M src/isolate.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M src/isolate.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +6 lines, -0 lines 0 comments Download
M src/log.h View 1 2 3 4 5 6 7 8 9 1 chunk +5 lines, -2 lines 0 comments Download
M src/log.cc View 1 2 3 4 5 6 7 1 chunk +7 lines, -1 line 0 comments Download
M test/cctest/test-api.cc View 1 2 3 4 1 chunk +24 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
fmeawad
To enhance the embedder profiling information, I have created a callback that reports most of ...
6 years, 9 months ago (2014-03-04 21:05:35 UTC) #1
Sven Panne
Quick DBCs... https://codereview.chromium.org/186163002/diff/60001/src/api.cc File src/api.cc (right): https://codereview.chromium.org/186163002/diff/60001/src/api.cc#newcode406 src/api.cc:406: isolate->set_event_logger(that); This line is a *very* strong ...
6 years, 9 months ago (2014-03-05 07:47:28 UTC) #2
Yang
Idea: if we assume that we are never going to log both to V8 and ...
6 years, 9 months ago (2014-03-05 08:18:31 UTC) #3
Yang
On 2014/03/05 08:18:31, Yang wrote: > Idea: if we assume that we are never going ...
6 years, 9 months ago (2014-03-05 08:30:29 UTC) #4
fmeawad
Thank you for your prompt review. I have addressed the issues you mentioned. Up to ...
6 years, 9 months ago (2014-03-06 00:24:46 UTC) #5
Yang
Looking good. Almost there. https://codereview.chromium.org/186163002/diff/120001/src/v8.cc File src/v8.cc (right): https://codereview.chromium.org/186163002/diff/120001/src/v8.cc#newcode54 src/v8.cc:54: static void empty_log_internal_events(const char* name, ...
6 years, 9 months ago (2014-03-06 12:05:33 UTC) #6
fmeawad
Issues addressed. PTAL. https://codereview.chromium.org/186163002/diff/120001/src/v8.cc File src/v8.cc (right): https://codereview.chromium.org/186163002/diff/120001/src/v8.cc#newcode54 src/v8.cc:54: static void empty_log_internal_events(const char* name, int ...
6 years, 9 months ago (2014-03-06 19:23:03 UTC) #7
Yang
LGTM with one more comment. https://codereview.chromium.org/186163002/diff/160001/src/isolate.cc File src/isolate.cc (right): https://codereview.chromium.org/186163002/diff/160001/src/isolate.cc#newcode2019 src/isolate.cc:2019: if (!event_logger_ && FLAG_log_internal_timer_events) ...
6 years, 9 months ago (2014-03-07 08:48:42 UTC) #8
fmeawad
The CQ bit was checked by fmeawad@chromium.org
6 years, 9 months ago (2014-03-07 18:24:46 UTC) #9
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-07 18:24:48 UTC) #10
commit-bot: I haz the power
No LGTM from a valid reviewer yet. Only full committers are accepted. Even if an ...
6 years, 9 months ago (2014-03-07 18:24:48 UTC) #11
fmeawad
The CQ bit was checked by fmeawad@chromium.org
6 years, 9 months ago (2014-03-07 18:33:43 UTC) #12
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-07 18:33:48 UTC) #13
commit-bot: I haz the power
No LGTM from a valid reviewer yet. Only full committers are accepted. Even if an ...
6 years, 9 months ago (2014-03-07 18:33:49 UTC) #14
fmeawad
On 2014/03/07 18:33:49, I haz the power (commit-bot) wrote: > No LGTM from a valid ...
6 years, 9 months ago (2014-03-07 18:40:00 UTC) #15
Yang
On 2014/03/07 18:40:00, fmeawad-cr wrote: > On 2014/03/07 18:33:49, I haz the power (commit-bot) wrote: ...
6 years, 9 months ago (2014-03-08 03:08:05 UTC) #16
Yang
On 2014/03/08 03:08:05, Yang wrote: > On 2014/03/07 18:40:00, fmeawad-cr wrote: > > On 2014/03/07 ...
6 years, 9 months ago (2014-03-08 03:09:05 UTC) #17
Yang
6 years, 9 months ago (2014-03-10 08:56:57 UTC) #18
Message was sent while issue was closed.
Committed patchset #11 manually as r19745 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698