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

Issue 2184783002: Add tracing/bin/strip_memory_infra_trace (Closed)

Created:
4 years, 4 months ago by Primiano Tucci (use gerrit)
Modified:
4 years, 4 months ago
Reviewers:
perezju
CC:
catapult-reviews_chromium.org, tracing-review_chromium.org, petrcermak
Base URL:
https://github.com/catapult-project/catapult.git@master
Target Ref:
refs/heads/master
Project:
catapult
Visibility:
Public.

Description

Add tracing/bin/strip_memory_infra_trace We are running frequently in cases where traces w/ memory-infra are too big and fail to load, as their uncompressed size > 256M. While this is going to be fixed by bit.ly/TracingV2 we need a short term solution to open those traces, to deal with cases like crbug.com/623945. This script strips a trace with memory-infra keeping only the last two global dumps. It still guarantees that all processes for a dump are seen, and tries to maintain the detailed dumps, if any. BUG=chromium:630965 Committed: https://chromium.googlesource.com/external/github.com/catapult-project/catapult/+/cbd0aa3300c54a918c9c18d3340e4630cda24b81

Patch Set 1 #

Total comments: 15

Patch Set 2 : Juan review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+102 lines, -2 lines) Patch
A + tracing/bin/strip_memory_infra_trace View 1 chunk +2 lines, -2 lines 0 comments Download
A tracing/tracing_build/strip_memory_infra_trace.py View 1 1 chunk +100 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (3 generated)
Primiano Tucci (use gerrit)
Juan can I ask you a small review? Petr is out this week. Nothing too ...
4 years, 4 months ago (2016-07-26 15:36:37 UTC) #2
perezju
Just a few comments here and there https://codereview.chromium.org/2184783002/diff/1/tracing/tracing_build/strip_memory_infra_trace.py File tracing/tracing_build/strip_memory_infra_trace.py (right): https://codereview.chromium.org/2184783002/diff/1/tracing/tracing_build/strip_memory_infra_trace.py#newcode16 tracing/tracing_build/strip_memory_infra_trace.py:16: units = ...
4 years, 4 months ago (2016-07-27 10:28:14 UTC) #3
Primiano Tucci (use gerrit)
Thanks Juan https://codereview.chromium.org/2184783002/diff/1/tracing/tracing_build/strip_memory_infra_trace.py File tracing/tracing_build/strip_memory_infra_trace.py (right): https://codereview.chromium.org/2184783002/diff/1/tracing/tracing_build/strip_memory_infra_trace.py#newcode16 tracing/tracing_build/strip_memory_infra_trace.py:16: units = units[1:] On 2016/07/27 10:28:14, perezju ...
4 years, 4 months ago (2016-07-27 10:38:03 UTC) #4
perezju
lgtm, thanks! https://codereview.chromium.org/2184783002/diff/1/tracing/tracing_build/strip_memory_infra_trace.py File tracing/tracing_build/strip_memory_infra_trace.py (right): https://codereview.chromium.org/2184783002/diff/1/tracing/tracing_build/strip_memory_infra_trace.py#newcode70 tracing/tracing_build/strip_memory_infra_trace.py:70: ndumps = 2 On 2016/07/27 10:38:03, Primiano ...
4 years, 4 months ago (2016-07-27 11:02:23 UTC) #5
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/2184783002/20001
4 years, 4 months ago (2016-07-27 12:13:34 UTC) #7
commit-bot: I haz the power
4 years, 4 months ago (2016-07-27 12:38:14 UTC) #9
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/external/github.com/catapult-project/catapu...

Powered by Google App Engine
This is Rietveld 408576698