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

Issue 792903003: V8 Sampling Profiler: Collect V8 JitCodeEvents in tracing (Closed)

Created:
5 years, 11 months ago by alph
Modified:
5 years, 10 months ago
CC:
aandrey+blink_chromium.org, chromium-reviews, darin-cc_chromium.org, devtools-reviews_chromium.org, dsinclair+watch_chromium.org, erikwright+watch_chromium.org, jam, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org, paulirish+reviews_chromium.org, pfeldman, wfh+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

V8 Sampling Profiler: Collect V8 JitCodeEvents in tracing BUG=406277 Committed: https://crrev.com/c8094f8f44f4ad509c3fe003dfcee210beb77216 Cr-Commit-Position: refs/heads/master@{#318025}

Patch Set 1 #

Total comments: 18

Patch Set 2 : Addressing comments #

Patch Set 3 : Do not enable profiling in continuous record mode. #

Patch Set 4 : Rebaseline. #

Total comments: 6

Patch Set 5 : Addressing comments. #

Patch Set 6 : Fix quotes. #

Patch Set 7 : Rename category v8_cpu_profile -> v8.cpu_profile #

Patch Set 8 : Get rid of CurrentThreadHandle #

Patch Set 9 : Fix the test under Debug mode. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+311 lines, -19 lines) Patch
M content/renderer/devtools/v8_sampling_profiler.h View 1 2 3 4 5 6 7 8 2 chunks +6 lines, -2 lines 0 comments Download
M content/renderer/devtools/v8_sampling_profiler.cc View 1 2 3 4 5 6 7 8 3 chunks +203 lines, -13 lines 0 comments Download
M content/renderer/devtools/v8_sampling_profiler_browsertest.cc View 1 2 3 4 5 6 7 8 1 chunk +102 lines, -4 lines 0 comments Download

Messages

Total messages: 48 (11 generated)
alph
Please take a look. Thanks!
5 years, 11 months ago (2015-01-14 09:55:18 UTC) #2
jochen (gone - plz use gerrit)
lgtm
5 years, 11 months ago (2015-01-14 13:31:34 UTC) #3
yurys
https://codereview.chromium.org/792903003/diff/1/base/debug/trace_event.h File base/debug/trace_event.h (right): https://codereview.chromium.org/792903003/diff/1/base/debug/trace_event.h#newcode355 base/debug/trace_event.h:355: TRACE_EVENT_FLAG_NONE | TRACE_EVENT_SCOPE_THREAD) TRACE_EVENT_SCOPE_THREAD here and below? https://codereview.chromium.org/792903003/diff/1/content/renderer/devtools/v8_sampling_profiler.cc File ...
5 years, 11 months ago (2015-01-14 13:41:37 UTC) #5
dsinclair
+skyostil who, I believe, added the stack frame code.
5 years, 11 months ago (2015-01-14 14:22:00 UTC) #7
alph
https://codereview.chromium.org/792903003/diff/1/base/debug/trace_event.h File base/debug/trace_event.h (right): https://codereview.chromium.org/792903003/diff/1/base/debug/trace_event.h#newcode355 base/debug/trace_event.h:355: TRACE_EVENT_FLAG_NONE | TRACE_EVENT_SCOPE_THREAD) On 2015/01/14 13:41:36, yurys wrote: > ...
5 years, 11 months ago (2015-01-14 14:31:11 UTC) #8
Sami
On 2015/01/14 14:22:00, dsinclair wrote: > +skyostil who, I believe, added the stack frame code. ...
5 years, 11 months ago (2015-01-14 15:14:10 UTC) #10
alph
On 2015/01/14 15:14:10, Sami wrote: > On 2015/01/14 14:22:00, dsinclair wrote: > > +skyostil who, ...
5 years, 11 months ago (2015-01-14 15:15:33 UTC) #11
dsinclair
On 2015/01/14 at 15:15:33, alph wrote: > On 2015/01/14 15:14:10, Sami wrote: > > On ...
5 years, 11 months ago (2015-01-14 15:17:57 UTC) #12
Sami
On 2015/01/14 15:15:33, alph wrote: > On 2015/01/14 15:14:10, Sami wrote: > > On 2015/01/14 ...
5 years, 11 months ago (2015-01-14 15:27:23 UTC) #13
Sami
That said, it would be nice if the format of the sample itself would be ...
5 years, 11 months ago (2015-01-14 15:32:45 UTC) #14
alph
On 2015/01/14 15:32:45, Sami wrote: > That said, it would be nice if the format ...
5 years, 11 months ago (2015-01-14 15:49:09 UTC) #15
Sami
On 2015/01/14 15:49:09, alph wrote: > On 2015/01/14 15:32:45, Sami wrote: > > That said, ...
5 years, 11 months ago (2015-01-14 16:02:37 UTC) #16
alph
On 2015/01/14 16:02:37, Sami wrote: > On 2015/01/14 15:49:09, alph wrote: > > On 2015/01/14 ...
5 years, 11 months ago (2015-01-15 15:43:14 UTC) #17
yurys
On 2015/01/15 15:43:14, alph wrote: > On 2015/01/14 16:02:37, Sami wrote: > > On 2015/01/14 ...
5 years, 11 months ago (2015-01-15 16:03:09 UTC) #18
alph
On 2015/01/15 16:03:09, yurys wrote: > On 2015/01/15 15:43:14, alph wrote: > > On 2015/01/14 ...
5 years, 11 months ago (2015-01-15 16:41:24 UTC) #19
nduca
talked offline with yurys --- i think it seems logical to postprocess offline. that would ...
5 years, 11 months ago (2015-01-15 18:49:24 UTC) #20
fmeawad
> - someone agrees to implement an importer for this new format in trace-viewer at ...
5 years, 11 months ago (2015-01-15 22:49:16 UTC) #21
alph
On 2015/01/15 18:49:24, nduca wrote: > talked offline with yurys --- i think it seems ...
5 years, 11 months ago (2015-01-16 17:43:40 UTC) #22
dsinclair
On 2015/01/16 at 17:43:40, alph wrote: > > - the sample events have pc samples ...
5 years, 11 months ago (2015-01-16 17:51:43 UTC) #23
yurys
On 2015/01/16 17:43:40, alph wrote: > On 2015/01/15 18:49:24, nduca wrote: > > talked offline ...
5 years, 11 months ago (2015-01-19 06:17:59 UTC) #24
alph
On 2015/01/19 06:17:59, yurys wrote: > On 2015/01/16 17:43:40, alph wrote: > > On 2015/01/15 ...
5 years, 11 months ago (2015-01-19 09:14:14 UTC) #25
alph
On 2015/01/15 18:49:24, nduca wrote: > talked offline with yurys --- i think it seems ...
5 years, 11 months ago (2015-01-19 17:22:01 UTC) #26
alph
It conforms to the variant A of https://docs.google.com/document/d/1DDS8UJySywkYZDpmgocGBAmB7jVZJyMvN22f_6wxqjE/edit#bookmark=id.pevpds12s6iv ptal
5 years, 10 months ago (2015-02-24 10:47:23 UTC) #27
yurys
lgtm https://codereview.chromium.org/792903003/diff/60001/content/renderer/devtools/v8_sampling_profiler.cc File content/renderer/devtools/v8_sampling_profiler.cc (right): https://codereview.chromium.org/792903003/diff/60001/content/renderer/devtools/v8_sampling_profiler.cc#newcode25 content/renderer/devtools/v8_sampling_profiler.cc:25: base::snprintf(buffer, sizeof(buffer), "%p", value); It might make sense ...
5 years, 10 months ago (2015-02-24 13:45:47 UTC) #28
dsinclair
https://codereview.chromium.org/792903003/diff/60001/content/renderer/devtools/v8_sampling_profiler.cc File content/renderer/devtools/v8_sampling_profiler.cc (right): https://codereview.chromium.org/792903003/diff/60001/content/renderer/devtools/v8_sampling_profiler.cc#newcode91 content/renderer/devtools/v8_sampling_profiler.cc:91: TRACE_EVENT_INSTANT1(TRACE_DISABLED_BY_DEFAULT("v8_cpu_profile"), Using dots seems to be more common then ...
5 years, 10 months ago (2015-02-24 14:40:17 UTC) #29
alph
https://codereview.chromium.org/792903003/diff/60001/content/renderer/devtools/v8_sampling_profiler.cc File content/renderer/devtools/v8_sampling_profiler.cc (right): https://codereview.chromium.org/792903003/diff/60001/content/renderer/devtools/v8_sampling_profiler.cc#newcode25 content/renderer/devtools/v8_sampling_profiler.cc:25: base::snprintf(buffer, sizeof(buffer), "%p", value); On 2015/02/24 13:45:47, yurys wrote: ...
5 years, 10 months ago (2015-02-24 15:28:16 UTC) #30
dsinclair
On 2015/02/24 at 15:28:16, alph wrote: > https://codereview.chromium.org/792903003/diff/60001/content/renderer/devtools/v8_sampling_profiler.cc#newcode91 > content/renderer/devtools/v8_sampling_profiler.cc:91: TRACE_EVENT_INSTANT1(TRACE_DISABLED_BY_DEFAULT("v8_cpu_profile"), > On 2015/02/24 14:40:17, ...
5 years, 10 months ago (2015-02-24 15:29:31 UTC) #31
alph
On 2015/02/24 15:29:31, dsinclair wrote: > On 2015/02/24 at 15:28:16, alph wrote: > > > ...
5 years, 10 months ago (2015-02-24 15:35:30 UTC) #32
dsinclair
On 2015/02/24 at 15:35:30, alph wrote: > On 2015/02/24 15:29:31, dsinclair wrote: > > On ...
5 years, 10 months ago (2015-02-24 15:37:24 UTC) #33
alph
On 2015/02/24 15:37:24, dsinclair wrote: > On 2015/02/24 at 15:35:30, alph wrote: > > On ...
5 years, 10 months ago (2015-02-24 15:46:26 UTC) #34
dsinclair
lgtm. thanks.
5 years, 10 months ago (2015-02-24 15:49:00 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/792903003/120001
5 years, 10 months ago (2015-02-24 21:41:31 UTC) #38
commit-bot: I haz the power
Try jobs failed on following builders: win8_chromium_rel on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win8_chromium_rel/builds/57915)
5 years, 10 months ago (2015-02-25 00:55:44 UTC) #40
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/792903003/140001
5 years, 10 months ago (2015-02-25 08:27:12 UTC) #43
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/792903003/160001
5 years, 10 months ago (2015-02-25 09:39:30 UTC) #46
commit-bot: I haz the power
Committed patchset #9 (id:160001)
5 years, 10 months ago (2015-02-25 11:24:24 UTC) #47
commit-bot: I haz the power
5 years, 10 months ago (2015-02-25 11:25:01 UTC) #48
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/c8094f8f44f4ad509c3fe003dfcee210beb77216
Cr-Commit-Position: refs/heads/master@{#318025}

Powered by Google App Engine
This is Rietveld 408576698