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

Issue 1315683007: Profiler: resolve top of stack address to a function (Closed)

Created:
5 years, 3 months ago by yurys
Modified:
5 years, 3 months ago
Reviewers:
alph, Jakob Kummerow
CC:
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

Profiler: resolve top of stack address to a function When we cannot map top frame's pc to a code object and top frame is JS frame we now assume that it was a frameless invocation of a native function (e.g. __fmod) and try to resolve address on top of the stack into a JS function. BUG=chromium:529931 LOG=Y Committed: https://crrev.com/aee75623aad0af2d43135b8dbbfe948168ce2a24 Cr-Commit-Position: refs/heads/master@{#30688}

Patch Set 1 #

Total comments: 2

Patch Set 2 : moved tos analysis before line number resolution #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -0 lines) Patch
M src/profile-generator.cc View 1 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (10 generated)
yurys
5 years, 3 months ago (2015-09-10 01:33:52 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1315683007/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1315683007/1
5 years, 3 months ago (2015-09-10 01:37:34 UTC) #6
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_presubmit on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_presubmit/builds/5662)
5 years, 3 months ago (2015-09-10 01:40:24 UTC) #8
yurys
5 years, 3 months ago (2015-09-10 01:45:04 UTC) #10
alph
lgtm https://codereview.chromium.org/1315683007/diff/1/src/profile-generator.cc File src/profile-generator.cc (right): https://codereview.chromium.org/1315683007/diff/1/src/profile-generator.cc#newcode645 src/profile-generator.cc:645: *entry++ = code_map_.FindEntry(sample.tos, &start); You can omit the ...
5 years, 3 months ago (2015-09-10 06:20:36 UTC) #11
Jakob Kummerow
What happens if sample.tos is not a valid pc? For example, we might be in ...
5 years, 3 months ago (2015-09-10 10:51:06 UTC) #12
yurys
On 2015/09/10 10:51:06, Jakob wrote: > What happens if sample.tos is not a valid pc? ...
5 years, 3 months ago (2015-09-10 15:58:49 UTC) #13
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1315683007/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1315683007/20001
5 years, 3 months ago (2015-09-10 16:01:17 UTC) #15
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 3 months ago (2015-09-10 16:50:08 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1315683007/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1315683007/20001
5 years, 3 months ago (2015-09-10 17:43:31 UTC) #20
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 3 months ago (2015-09-10 17:45:45 UTC) #21
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/aee75623aad0af2d43135b8dbbfe948168ce2a24 Cr-Commit-Position: refs/heads/master@{#30688}
5 years, 3 months ago (2015-09-10 17:46:01 UTC) #22
Michael Achenbach
5 years, 3 months ago (2015-09-21 14:01:12 UTC) #23
Message was sent while issue was closed.
We're getting a new msan flake once in a while since this change. See e.g.:
http://build.chromium.org/p/client.v8/builders/V8%20Linux%20-%20arm64%20-%20s...
http://build.chromium.org/p/client.v8/builders/V8%20Linux%20-%20arm64%20-%20s...

Could you take a look if there's a connection?

Powered by Google App Engine
This is Rietveld 408576698