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

Issue 2696923002: Update logic for emitting region information from dyld. (Closed)

Created:
3 years, 10 months ago by erikchen
Modified:
3 years, 10 months ago
CC:
chromium-reviews, tracing+reviews_chromium.org, wfh+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Update logic for emitting region information from dyld. 1. Use the slide to compute the segment load addresses. 2. Update the logic for combining regions from dyld and mach_vm_region_recurse. 2a. Allow a vm region to be fully contained with a dyld region. 2b. Skip vm regions that intersect dyld regions in the dyld shared cache. BUG=677302 Review-Url: https://codereview.chromium.org/2696923002 Cr-Commit-Position: refs/heads/master@{#450757} Committed: https://chromium.googlesource.com/chromium/src/+/99b21cc6a775c54d8df60f785356da3b21f054e2

Patch Set 1 #

Total comments: 2

Patch Set 2 : Emit linkedit region exactly once. #

Total comments: 2

Patch Set 3 : Allow memory regions to be subsets of dyld regions. #

Total comments: 2

Patch Set 4 : comments from primiano. #

Patch Set 5 : Fix comparison operator. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+85 lines, -34 lines) Patch
M components/tracing/common/process_metrics_memory_dump_provider.h View 1 chunk +2 lines, -0 lines 0 comments Download
M components/tracing/common/process_metrics_memory_dump_provider.cc View 1 2 3 4 7 chunks +59 lines, -34 lines 0 comments Download
M components/tracing/common/process_metrics_memory_dump_provider_unittest.cc View 1 chunk +24 lines, -0 lines 0 comments Download

Messages

Total messages: 33 (19 generated)
erikchen
mark: Please review.
3 years, 10 months ago (2017-02-14 21:59:52 UTC) #2
Mark Mentovai
LGTM https://codereview.chromium.org/2696923002/diff/1/components/tracing/common/process_metrics_memory_dump_provider.cc File components/tracing/common/process_metrics_memory_dump_provider.cc (right): https://codereview.chromium.org/2696923002/diff/1/components/tracing/common/process_metrics_memory_dump_provider.cc#newcode294 components/tracing/common/process_metrics_memory_dump_provider.cc:294: // Avoid emitting LINKEDIT regions in the dyld ...
3 years, 10 months ago (2017-02-14 22:18:58 UTC) #5
erikchen
https://codereview.chromium.org/2696923002/diff/1/components/tracing/common/process_metrics_memory_dump_provider.cc File components/tracing/common/process_metrics_memory_dump_provider.cc (right): https://codereview.chromium.org/2696923002/diff/1/components/tracing/common/process_metrics_memory_dump_provider.cc#newcode294 components/tracing/common/process_metrics_memory_dump_provider.cc:294: // Avoid emitting LINKEDIT regions in the dyld shared ...
3 years, 10 months ago (2017-02-14 22:33:47 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2696923002/20001
3 years, 10 months ago (2017-02-14 22:34:27 UTC) #9
Mark Mentovai
but LGTM either way https://codereview.chromium.org/2696923002/diff/20001/components/tracing/common/process_metrics_memory_dump_provider.cc File components/tracing/common/process_metrics_memory_dump_provider.cc (right): https://codereview.chromium.org/2696923002/diff/20001/components/tracing/common/process_metrics_memory_dump_provider.cc#newcode303 components/tracing/common/process_metrics_memory_dump_provider.cc:303: image_name = "LinkEditDyldSharedCache"; It’d be ...
3 years, 10 months ago (2017-02-14 22:45:06 UTC) #11
erikchen
mark: I updated the combining logic to allow a vm region to be fully contained ...
3 years, 10 months ago (2017-02-14 23:31:58 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2696923002/40001
3 years, 10 months ago (2017-02-15 03:39:09 UTC) #20
Mark Mentovai
That’s cool then. LGTM.
3 years, 10 months ago (2017-02-15 03:46:42 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/364644)
3 years, 10 months ago (2017-02-15 04:38:12 UTC) #23
erikchen
primiano: Please review.
3 years, 10 months ago (2017-02-15 05:01:20 UTC) #25
Primiano Tucci (use gerrit)
LGTM https://codereview.chromium.org/2696923002/diff/40001/components/tracing/common/process_metrics_memory_dump_provider.cc File components/tracing/common/process_metrics_memory_dump_provider.cc (right): https://codereview.chromium.org/2696923002/diff/40001/components/tracing/common/process_metrics_memory_dump_provider.cc#newcode259 components/tracing/common/process_metrics_memory_dump_provider.cc:259: uint64_t b_end_address = b.start_address + b.size_in_bytes; You can ...
3 years, 10 months ago (2017-02-15 09:54:32 UTC) #26
erikchen
https://codereview.chromium.org/2696923002/diff/40001/components/tracing/common/process_metrics_memory_dump_provider.cc File components/tracing/common/process_metrics_memory_dump_provider.cc (right): https://codereview.chromium.org/2696923002/diff/40001/components/tracing/common/process_metrics_memory_dump_provider.cc#newcode259 components/tracing/common/process_metrics_memory_dump_provider.cc:259: uint64_t b_end_address = b.start_address + b.size_in_bytes; On 2017/02/15 09:54:31, ...
3 years, 10 months ago (2017-02-15 17:26:21 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2696923002/80001
3 years, 10 months ago (2017-02-15 17:27:25 UTC) #30
commit-bot: I haz the power
3 years, 10 months ago (2017-02-15 19:11:56 UTC) #33
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/99b21cc6a775c54d8df60f785356...

Powered by Google App Engine
This is Rietveld 408576698