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

Issue 947103003: [tracing] Improve the memory maps dumper generation format. (Closed)

Created:
5 years, 10 months ago by Primiano Tucci (use gerrit)
Modified:
5 years, 9 months ago
Reviewers:
dsinclair, nduca
CC:
chromium-reviews, erikwright+watch_chromium.org, petrcermak, Sami, tracing+reviews_chromium.org, wfh+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[tracing] Improve the memory maps dumper generation format. This CL reworks the trace generation format for the memory maps dumper according to latest discussion in the design doc "Memory Dumping: Mmap and Smap data dumping details" (http://goo.gl/e6WRnQ). Furthermore this CL changes the output format of the total dumper to dump a hex string rather than a float, in order to be consistent with the mmaps dumper. See http://pastebin.com/EHdNDMXN for an example of the generated JSON. BUG=460884 Committed: https://crrev.com/165d819227077a11933773b7d2dfd3c538b24a5e Cr-Commit-Position: refs/heads/master@{#321570}

Patch Set 1 : #

Patch Set 2 : #

Total comments: 1

Patch Set 3 : Switch to compact dictionary #

Patch Set 4 : #

Total comments: 10

Patch Set 5 : Address Petr's comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+66 lines, -41 lines) Patch
M base/trace_event/process_memory_maps.h View 1 2 3 1 chunk +7 lines, -3 lines 0 comments Download
M base/trace_event/process_memory_maps.cc View 1 2 3 2 chunks +17 lines, -9 lines 0 comments Download
M base/trace_event/process_memory_maps_dump_provider.cc View 1 2 3 4 4 chunks +19 lines, -9 lines 0 comments Download
M base/trace_event/process_memory_maps_dump_provider_unittest.cc View 1 2 3 4 chunks +15 lines, -15 lines 0 comments Download
M base/trace_event/process_memory_totals.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M base/trace_event/process_memory_totals.cc View 1 chunk +4 lines, -1 line 0 comments Download
M base/trace_event/process_memory_totals_dump_provider_unittest.cc View 1 2 3 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 19 (6 generated)
Primiano Tucci (use gerrit)
5 years, 10 months ago (2015-02-26 17:50:54 UTC) #3
Primiano Tucci (use gerrit)
5 years, 10 months ago (2015-02-26 17:55:05 UTC) #4
dsinclair
Not really a fan of this dump format over the old one. Do you have ...
5 years, 10 months ago (2015-02-26 18:00:01 UTC) #5
Primiano Tucci (use gerrit)
On 2015/02/26 18:00:01, dsinclair wrote: > Not really a fan of this dump format over ...
5 years, 9 months ago (2015-03-01 12:10:27 UTC) #6
dsinclair
On 2015/03/01 at 12:10:27, primiano wrote: > On 2015/02/26 18:00:01, dsinclair wrote: > > Not ...
5 years, 9 months ago (2015-03-02 14:35:46 UTC) #7
Primiano Tucci (use gerrit)
On 2015/03/02 14:35:46, dsinclair wrote: > On 2015/03/01 at 12:10:27, primiano wrote: > > On ...
5 years, 9 months ago (2015-03-02 19:09:00 UTC) #8
Primiano Tucci (use gerrit)
On 2015/03/02 19:09:00, Primiano Tucci wrote: > On 2015/03/02 14:35:46, dsinclair wrote: > > On ...
5 years, 9 months ago (2015-03-02 19:11:06 UTC) #9
dsinclair
Doh, sorry for the delay, lost this in my review queue. LGTM.
5 years, 9 months ago (2015-03-16 15:28:10 UTC) #10
petrcermak
Just a couple of comments :-) Petr https://codereview.chromium.org/947103003/diff/80001/base/trace_event/process_memory_maps.cc File base/trace_event/process_memory_maps.cc (right): https://codereview.chromium.org/947103003/diff/80001/base/trace_event/process_memory_maps.cc#newcode26 base/trace_event/process_memory_maps.cc:26: static const ...
5 years, 9 months ago (2015-03-20 11:23:35 UTC) #12
Primiano Tucci (use gerrit)
https://codereview.chromium.org/947103003/diff/80001/base/trace_event/process_memory_maps.cc File base/trace_event/process_memory_maps.cc (right): https://codereview.chromium.org/947103003/diff/80001/base/trace_event/process_memory_maps.cc#newcode26 base/trace_event/process_memory_maps.cc:26: static const char kHexFmt[] = "%" PRIx64; On 2015/03/20 ...
5 years, 9 months ago (2015-03-20 13:59:14 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/947103003/100001
5 years, 9 months ago (2015-03-20 14:01:35 UTC) #17
commit-bot: I haz the power
Committed patchset #5 (id:100001)
5 years, 9 months ago (2015-03-20 15:20:44 UTC) #18
commit-bot: I haz the power
5 years, 9 months ago (2015-03-20 15:21:24 UTC) #19
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/165d819227077a11933773b7d2dfd3c538b24a5e
Cr-Commit-Position: refs/heads/master@{#321570}

Powered by Google App Engine
This is Rietveld 408576698