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

Issue 1553183002: [telemetry] Add support for composable process dumps in memory-infra (Closed)

Created:
4 years, 11 months ago by ssid
Modified:
4 years, 11 months ago
CC:
chromium-reviews, tfarina, telemetry-reviews_chromium.org, perezju
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[telemetry] Add support for composable process dumps in memory-infra The memory-infra process dumps can be split across multiple process memory dump events in a trace. Telemetry should support merging of them. BUG=461788 Committed: https://crrev.com/e08757506faee7da1bcb7f9b6f8f1d6a8540f038 Cr-Commit-Position: refs/heads/master@{#369428}

Patch Set 1 #

Total comments: 3

Patch Set 2 : aggregating events in ProcessDump. #

Total comments: 32

Patch Set 3 : adding test #

Total comments: 31

Patch Set 4 : Fix style + unittest #

Patch Set 5 : Nits. #

Total comments: 31

Patch Set 6 : Fixes. #

Patch Set 7 : Nits. #

Patch Set 8 : Nits. #

Total comments: 27

Patch Set 9 : Fixes. #

Total comments: 11

Patch Set 10 : Fixes. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+168 lines, -69 lines) Patch
M tools/telemetry/telemetry/timeline/memory_dump_event.py View 1 2 3 4 5 6 7 8 9 4 chunks +35 lines, -21 lines 0 comments Download
M tools/telemetry/telemetry/timeline/memory_dump_event_unittest.py View 1 2 3 4 5 6 7 8 9 5 chunks +101 lines, -39 lines 0 comments Download
M tools/telemetry/telemetry/timeline/trace_event_importer.py View 1 2 3 4 5 6 7 8 9 2 chunks +19 lines, -6 lines 0 comments Download
M tools/telemetry/telemetry/timeline/trace_event_importer_unittest.py View 1 2 3 4 5 6 7 8 1 chunk +12 lines, -3 lines 0 comments Download
M tools/telemetry/telemetry/web_perf/metrics/memory_timeline_unittest.py View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 33 (10 generated)
ssid
PTAL, Thanks.
4 years, 11 months ago (2016-01-04 17:40:48 UTC) #2
Primiano Tucci (use gerrit)
Petr, can you take this review? Thanks!
4 years, 11 months ago (2016-01-05 10:43:28 UTC) #4
petrcermak
Here are a few comments. Please add tests for the new functionality (feel free to ...
4 years, 11 months ago (2016-01-05 12:06:29 UTC) #5
petrcermak
A few title/description nits: * We use the term "composable dumps" (rather than "split dumps") ...
4 years, 11 months ago (2016-01-05 12:10:16 UTC) #6
ssid
I haven't added test yet. What do you think about this patch? I can't just ...
4 years, 11 months ago (2016-01-05 22:02:57 UTC) #9
ssid
https://codereview.chromium.org/1553183002/diff/40001/tools/telemetry/telemetry/timeline/memory_dump_event.py File tools/telemetry/telemetry/timeline/memory_dump_event.py (right): https://codereview.chromium.org/1553183002/diff/40001/tools/telemetry/telemetry/timeline/memory_dump_event.py#newcode285 tools/telemetry/telemetry/timeline/memory_dump_event.py:285: if result: This is made so that desktop doesn't ...
4 years, 11 months ago (2016-01-05 22:05:22 UTC) #10
petrcermak
Looks good overall. Here are a few more comments. perezju@: Since you wrote the initial ...
4 years, 11 months ago (2016-01-06 18:45:52 UTC) #12
ssid
I have added tests. could you please take another look? Thanks https://codereview.chromium.org/1553183002/diff/40001/tools/telemetry/telemetry/timeline/memory_dump_event.py File tools/telemetry/telemetry/timeline/memory_dump_event.py (right): ...
4 years, 11 months ago (2016-01-07 17:42:07 UTC) #14
petrcermak
A few more (mostly style) comments. Thanks, Petr https://codereview.chromium.org/1553183002/diff/60001/tools/telemetry/telemetry/timeline/memory_dump_event.py File tools/telemetry/telemetry/timeline/memory_dump_event.py (right): https://codereview.chromium.org/1553183002/diff/60001/tools/telemetry/telemetry/timeline/memory_dump_event.py#newcode179 tools/telemetry/telemetry/timeline/memory_dump_event.py:179: return ...
4 years, 11 months ago (2016-01-07 18:59:29 UTC) #15
ssid
Hm, I tried to use google python formatter and it turned out this disastrous. Fixed ...
4 years, 11 months ago (2016-01-07 20:46:09 UTC) #16
petrcermak
LGTM with final nits :-) Thanks, Petr https://codereview.chromium.org/1553183002/diff/90001/tools/telemetry/telemetry/timeline/memory_dump_event_unittest.py File tools/telemetry/telemetry/timeline/memory_dump_event_unittest.py (right): https://codereview.chromium.org/1553183002/diff/90001/tools/telemetry/telemetry/timeline/memory_dump_event_unittest.py#newcode20 tools/telemetry/telemetry/timeline/memory_dump_event_unittest.py:20: for k, ...
4 years, 11 months ago (2016-01-08 16:15:57 UTC) #17
perezju
I don't think this is quite ready yet. Also you'll need a telemetry owner to ...
4 years, 11 months ago (2016-01-08 16:19:31 UTC) #18
petrcermak
+1 to perezju's comments. Please address them before contacting an owner. Thanks, Petr
4 years, 11 months ago (2016-01-08 16:22:42 UTC) #19
ssid
I made suggested changes, perezju could you take another look? Thanks https://codereview.chromium.org/1553183002/diff/90001/tools/telemetry/telemetry/timeline/memory_dump_event.py File tools/telemetry/telemetry/timeline/memory_dump_event.py (right): ...
4 years, 11 months ago (2016-01-11 14:29:01 UTC) #20
perezju
Thanks for the changes. The interface to build the objects looks better now. Just a ...
4 years, 11 months ago (2016-01-12 15:53:38 UTC) #21
ssid
Made changes, PTAL, Thanks. https://codereview.chromium.org/1553183002/diff/150001/tools/telemetry/telemetry/timeline/memory_dump_event.py File tools/telemetry/telemetry/timeline/memory_dump_event.py (right): https://codereview.chromium.org/1553183002/diff/150001/tools/telemetry/telemetry/timeline/memory_dump_event.py#newcode141 tools/telemetry/telemetry/timeline/memory_dump_event.py:141: timing correlated with that of ...
4 years, 11 months ago (2016-01-12 17:13:18 UTC) #22
perezju
Sweet, looking really good now. Probably time to seek for telemetry owners to review. Ned ...
4 years, 11 months ago (2016-01-13 16:30:34 UTC) #23
nednguyen
On 2016/01/13 16:30:34, perezju wrote: > Sweet, looking really good now. Probably time to seek ...
4 years, 11 months ago (2016-01-13 23:22:33 UTC) #24
ssid
Thanks. made suggested changes. https://codereview.chromium.org/1553183002/diff/170001/tools/telemetry/telemetry/timeline/memory_dump_event.py File tools/telemetry/telemetry/timeline/memory_dump_event.py (right): https://codereview.chromium.org/1553183002/diff/170001/tools/telemetry/telemetry/timeline/memory_dump_event.py#newcode144 tools/telemetry/telemetry/timeline/memory_dump_event.py:144: process: The process associated with ...
4 years, 11 months ago (2016-01-14 14:26:21 UTC) #25
perezju
lgtm thanks! https://codereview.chromium.org/1553183002/diff/170001/tools/telemetry/telemetry/timeline/memory_dump_event.py File tools/telemetry/telemetry/timeline/memory_dump_event.py (right): https://codereview.chromium.org/1553183002/diff/170001/tools/telemetry/telemetry/timeline/memory_dump_event.py#newcode145 tools/telemetry/telemetry/timeline/memory_dump_event.py:145: dump_events: A list of dump events of ...
4 years, 11 months ago (2016-01-14 15:33:08 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1553183002/190001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1553183002/190001
4 years, 11 months ago (2016-01-14 16:19:32 UTC) #29
commit-bot: I haz the power
Committed patchset #10 (id:190001)
4 years, 11 months ago (2016-01-14 16:30:17 UTC) #31
commit-bot: I haz the power
4 years, 11 months ago (2016-01-14 16:31:48 UTC) #33
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/e08757506faee7da1bcb7f9b6f8f1d6a8540f038
Cr-Commit-Position: refs/heads/master@{#369428}

Powered by Google App Engine
This is Rietveld 408576698