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

Issue 1631043002: Add CollectSample API function to CpuProfiler (Closed)

Created:
4 years, 11 months ago by alph
Modified:
4 years, 11 months ago
CC:
Paweł Hajdan Jr., v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Add CollectSample API function to CpuProfiler It allows embedder to inject a stack sample on demand. BUG=chromium:579191 LOG=N Committed: https://crrev.com/7068caf5fd614bab588b200d264c0eb3564690af Cr-Commit-Position: refs/heads/master@{#33527}

Patch Set 1 #

Patch Set 2 : Make explicit samples not contributing to the stats. #

Patch Set 3 : Updating the API function comment. #

Patch Set 4 : Fix tests. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+98 lines, -34 lines) Patch
M include/v8-profiler.h View 1 2 1 chunk +7 lines, -0 lines 0 comments Download
M src/api.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M src/profiler/cpu-profiler.h View 1 2 3 3 chunks +3 lines, -3 lines 0 comments Download
M src/profiler/cpu-profiler.cc View 1 2 3 3 chunks +9 lines, -4 lines 0 comments Download
M src/profiler/profile-generator.h View 1 2 3 3 chunks +5 lines, -3 lines 0 comments Download
M src/profiler/profile-generator.cc View 1 5 chunks +15 lines, -12 lines 0 comments Download
M src/profiler/sampler.h View 1 2 chunks +3 lines, -1 line 0 comments Download
M src/profiler/sampler.cc View 1 2 chunks +4 lines, -2 lines 0 comments Download
M test/cctest/test-cpu-profiler.cc View 1 2 3 3 chunks +48 lines, -8 lines 0 comments Download
M test/cctest/trace-extension.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 23 (10 generated)
alph
ptal
4 years, 11 months ago (2016-01-25 22:08:38 UTC) #2
alph
4 years, 11 months ago (2016-01-25 22:16:06 UTC) #4
yurys
lgtm
4 years, 11 months ago (2016-01-25 23:40:24 UTC) #5
ofrobots
On 2016/01/25 23:40:24, yurys wrote: > lgtm Just curious about the motivation here. Injecting too ...
4 years, 11 months ago (2016-01-26 02:08:38 UTC) #6
alph
On 2016/01/26 02:08:38, ofrobots wrote: > On 2016/01/25 23:40:24, yurys wrote: > > lgtm > ...
4 years, 11 months ago (2016-01-26 02:21:04 UTC) #7
alph
On 2016/01/26 02:21:04, alph wrote: > On 2016/01/26 02:08:38, ofrobots wrote: > > On 2016/01/25 ...
4 years, 11 months ago (2016-01-26 02:24:09 UTC) #8
Benedikt Meurer
Adding jochen for API change. As far as I can tell this is LGTM from ...
4 years, 11 months ago (2016-01-26 10:03:26 UTC) #11
jochen (gone - plz use gerrit)
lgtm
4 years, 11 months ago (2016-01-26 10:14:36 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1631043002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1631043002/40001
4 years, 11 months ago (2016-01-26 19:46:46 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux_arm_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_arm_rel/builds/12878) v8_linux_mips64el_compile_rel on tryserver.v8 (JOB_FAILED, ...
4 years, 11 months ago (2016-01-26 19:50:13 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1631043002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1631043002/60001
4 years, 11 months ago (2016-01-26 20:16:30 UTC) #20
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 11 months ago (2016-01-26 20:47:29 UTC) #21
commit-bot: I haz the power
4 years, 11 months ago (2016-01-26 20:48:47 UTC) #23
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/7068caf5fd614bab588b200d264c0eb3564690af
Cr-Commit-Position: refs/heads/master@{#33527}

Powered by Google App Engine
This is Rietveld 408576698