Uh oh!
There was an error while loading. Please reload this page.
deps: cherry-pick 4229ca2 from V8 upstream - #14538
Conversation
Running the profiler processor (--prof-process) with a profiler output file generated on Windows (with --prof) results in "UNKNOWN" code dominating the statistics. This is caused by the processor not correctly parsing the output of the "%p" format specifier on Windows. This commit makes the output format be the same on Windows so it can be correctly parsed by --prof-process. Original commit message: [profiler] Fix logging addresses on Windows. Change-Id: Iff0dcec95d04b85d31a452fed31b1500ad17a9f0 Reviewed-on: https://chromium-review.googlesource.com/591373 Commit-Queue: Jaroslav Sevcik <jarin@chromium.org> Reviewed-by: Camillo Bruni <cbruni@chromium.org> Cr-Commit-Position: refs/heads/master@{nodejs#46976} Fixes: nodejs#8221
tniessen
commented
Jul 29, 2017
cc @addaleax |
addaleax
commented
Jul 29, 2017
@jaimecbernardo Did you open a merge request upstream so that this might get into V8 6.0 upstream? That would be easiest because it would mean we’d pick it up anyway. There’s some info on how to do that in https://github.com/nodejs/node/blob/master/doc/guides/maintaining-V8.md. If not, it might be easiest to rebase this PR on top of #14004 since it seems to have become consensus that we won’t do a release with the version of V8 that’s currently in /cc @nodejs/v8 |
jaimecbernardo
commented
Jul 29, 2017
@addaleax Thank you. Will look into those first. |
jaimecbernardo
commented
Jul 31, 2017
Opened an issue for a backport merge request upstream: https://bugs.chromium.org/p/v8/issues/detail?id=6650 |
bnoordhuis
commented
Aug 17, 2017
It was accepted for back-merge to 6.1 and 6.0. Does that mean this can be closed? |
jaimecbernardo
commented
Aug 17, 2017
Not sure. While approved, it doesn't seem to have been merged. |
targos
commented
Aug 28, 2017
ofrobots
commented
Sep 11, 2017
Apologies for the delay. I've merged to 6.1: https://github.com/v8/v8/commits/889f5cc1e9574a18ee54d44f2643e7db284612bc. Unfortunately, during this time, the 6.0 branch moved from stable to unsupported, and I am not sure if it is going to be possible to merge it to 6.0 upstream. |
BridgeAR
commented
Sep 13, 2017
Closing this as the patch is now on master due to the upstream merge. @jaimecbernardo thanks a lot for your contribution anyway! |
Running the profiler processor (
--prof-process) with a profiler output file generated on Windows (with--prof) results in "UNKNOWN" code dominating the statistics. This is caused by the processor not correctly parsing the output of the "%p" format specifier on Windows.This PR cherry-picks the upstream commit v8/v8@4229ca2 , that makes the output format be the same on Windows so it can be correctly parsed by
--prof-process.Original commit message:
[profiler] Fix logging addresses on Windows.
Change-Id: Iff0dcec95d04b85d31a452fed31b1500ad17a9f0
Reviewed-on: https://chromium-review.googlesource.com/591373
Commit-Queue: Jaroslav Sevcik jarin@chromium.org
Reviewed-by: Camillo Bruni cbruni@chromium.org
Cr-Commit-Position: refs/heads/master@{#46976}
Fixes: #8221
Refs: v8/v8@4229ca2
Refs: #14510
/cc @nodejs/v8
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passesAffected core subsystem(s)
deps,v8,win