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

Issue 1885033005: Portable Linux perf map formatting. (Closed)

Created:
4 years, 8 months ago by Stefano Sanfilippo
Modified:
4 years, 8 months ago
Reviewers:
Jarin, JF, rmcilroy
CC:
v8-reviews_googlegroups.com, rmcilroy
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Portable Linux perf map formatting. Linux perf expects hex literals without a leading 0x, while some implementations of printf might prepend one when using the %p format for pointers, leading to wrongly formatted JIT symbols maps. Instead, use V8PRIxPTR format string and cast pointer to uintpr_t, since we have control over the exact output format of integers. LOG=N Committed: https://crrev.com/15defcc424935fdde4d4690d19a6045fdac273ca Cr-Commit-Position: refs/heads/master@{#35571}

Patch Set 1 #

Patch Set 2 : Mac OS X fix (cinttypes is in tr1 there). #

Total comments: 2

Patch Set 3 : Use V8PRIxPTR. #

Patch Set 4 : Comment added. #

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

Messages

Total messages: 47 (24 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1885033005/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1885033005/1
4 years, 8 months ago (2016-04-14 10:15:36 UTC) #5
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_mac_rel_ng on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_mac_rel_ng/builds/123)
4 years, 8 months ago (2016-04-14 10:19:27 UTC) #11
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1885033005/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1885033005/20001
4 years, 8 months ago (2016-04-14 10:46:46 UTC) #13
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-14 11:12:07 UTC) #15
Stefano Sanfilippo
Since a couple days ago, d8 started emitting wrongly formatted perf JITted symbols maps, in ...
4 years, 8 months ago (2016-04-14 11:16:01 UTC) #17
Jarin
https://codereview.chromium.org/1885033005/diff/20001/src/log.cc File src/log.cc (right): https://codereview.chromium.org/1885033005/diff/20001/src/log.cc#newcode288 src/log.cc:288: base::OS::FPrint(perf_output_handle_, "%" PRIxPTR " %x %.*s\n", Couldn't you use ...
4 years, 8 months ago (2016-04-14 12:16:54 UTC) #21
rmcilroy
Adding JFB who made the change to %p in https://codereview.chromium.org/1872203005.
4 years, 8 months ago (2016-04-14 12:21:40 UTC) #23
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1885033005/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1885033005/40001
4 years, 8 months ago (2016-04-14 12:31:10 UTC) #25
Stefano Sanfilippo
https://codereview.chromium.org/1885033005/diff/20001/src/log.cc File src/log.cc (right): https://codereview.chromium.org/1885033005/diff/20001/src/log.cc#newcode288 src/log.cc:288: base::OS::FPrint(perf_output_handle_, "%" PRIxPTR " %x %.*s\n", On 2016/04/14 12:16:53, ...
4 years, 8 months ago (2016-04-14 12:31:54 UTC) #26
Jarin
lgtm
4 years, 8 months ago (2016-04-14 12:46:03 UTC) #28
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-14 12:51:22 UTC) #30
Stefano Sanfilippo
On 2016/04/14 12:46:03, Jarin wrote: > lgtm Great, thanks. I'll wait until this evening to ...
4 years, 8 months ago (2016-04-14 13:33:45 UTC) #31
Stefano Sanfilippo
On 2016/04/14 13:33:45, Stefano Sanfilippo wrote: > On 2016/04/14 12:46:03, Jarin wrote: > > lgtm ...
4 years, 8 months ago (2016-04-14 13:40:31 UTC) #32
Stefano Sanfilippo
On 2016/04/14 13:40:31, Stefano Sanfilippo wrote: > On 2016/04/14 13:33:45, Stefano Sanfilippo wrote: > > ...
4 years, 8 months ago (2016-04-14 13:58:23 UTC) #33
Jarin
still lgtm. Thanks.
4 years, 8 months ago (2016-04-14 14:04:02 UTC) #34
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1885033005/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1885033005/60001
4 years, 8 months ago (2016-04-14 14:14:07 UTC) #36
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-14 14:34:27 UTC) #38
JF
On 2016/04/14 12:21:40, rmcilroy wrote: > Adding JFB who made the change to %p in ...
4 years, 8 months ago (2016-04-14 20:55:48 UTC) #39
Jarin
On 2016/04/14 20:55:48, JF wrote: > On 2016/04/14 12:21:40, rmcilroy wrote: > > Adding JFB ...
4 years, 8 months ago (2016-04-18 10:01:00 UTC) #40
Stefano Sanfilippo
On 2016/04/18 10:01:00, Jarin wrote: > On 2016/04/14 20:55:48, JF wrote: > > On 2016/04/14 ...
4 years, 8 months ago (2016-04-18 10:22:26 UTC) #41
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1885033005/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1885033005/60001
4 years, 8 months ago (2016-04-18 10:34:37 UTC) #43
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 8 months ago (2016-04-18 10:56:55 UTC) #45
commit-bot: I haz the power
4 years, 8 months ago (2016-04-18 10:58:02 UTC) #47
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/15defcc424935fdde4d4690d19a6045fdac273ca
Cr-Commit-Position: refs/heads/master@{#35571}

Powered by Google App Engine
This is Rietveld 408576698