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

Issue 2912483002: Change memory dumps to not use periodic dumps by default. (Closed)

Created:
3 years, 7 months ago by erikchen
Modified:
3 years, 6 months ago
CC:
chromium-reviews, vmpstr+watch_chromium.org, wfh+watch_chromium.org, jam, darin-cc_chromium.org, tracing+reviews_chromium.org, danakj+watch_chromium.org, ssid
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Change memory dumps to not use periodic dumps by default. The only consumer that requires periodic dumps [and doesn't specify an explicit dump config] is Chrome tracing, so explicitly specify a periodic dump config there. Remove by default the periodic dump config. BUG=726393 Review-Url: https://codereview.chromium.org/2912483002 Cr-Commit-Position: refs/heads/master@{#475608} Committed: https://chromium.googlesource.com/chromium/src/+/0529413d84c06f3720bf4a56b28bb2c7358cefd1

Patch Set 1 #

Total comments: 6

Patch Set 2 : comments from primiano. #

Total comments: 2

Patch Set 3 : Comments from ssid. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -12 lines) Patch
M base/trace_event/memory_dump_manager_unittest.cc View 1 1 chunk +5 lines, -5 lines 0 comments Download
M base/trace_event/trace_config.cc View 2 chunks +0 lines, -6 lines 0 comments Download
M base/trace_event/trace_config_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/tracing/tracing_ui.cc View 1 2 1 chunk +18 lines, -0 lines 0 comments Download

Messages

Total messages: 26 (16 generated)
erikchen
primiano: Please review. Note that this temporarily breaks trace-on-tap, which relies on the existence of ...
3 years, 7 months ago (2017-05-26 18:32:55 UTC) #4
Primiano Tucci (use gerrit)
+ssid can you give another pair of eyes? I quickly glanced to this from a ...
3 years, 7 months ago (2017-05-26 19:12:34 UTC) #8
erikchen
https://codereview.chromium.org/2912483002/diff/1/content/browser/tracing/tracing_ui.cc File content/browser/tracing/tracing_ui.cc (right): https://codereview.chromium.org/2912483002/diff/1/content/browser/tracing/tracing_ui.cc#newcode95 content/browser/tracing/tracing_ui.cc:95: base::trace_event::MemoryDumpManager::kTraceCategory) != On 2017/05/26 19:12:33, Primiano Tucci wrote: > ...
3 years, 7 months ago (2017-05-26 20:31:13 UTC) #9
ssid
lgtm % the category check https://codereview.chromium.org/2912483002/diff/1/content/browser/tracing/tracing_ui.cc File content/browser/tracing/tracing_ui.cc (right): https://codereview.chromium.org/2912483002/diff/1/content/browser/tracing/tracing_ui.cc#newcode104 content/browser/tracing/tracing_ui.cc:104: base::trace_event::MemoryDumpLevelOfDetail::DETAILED); On 2017/05/26 20:31:13, ...
3 years, 7 months ago (2017-05-26 21:56:07 UTC) #12
erikchen
https://codereview.chromium.org/2912483002/diff/1/content/browser/tracing/tracing_ui.cc File content/browser/tracing/tracing_ui.cc (right): https://codereview.chromium.org/2912483002/diff/1/content/browser/tracing/tracing_ui.cc#newcode104 content/browser/tracing/tracing_ui.cc:104: base::trace_event::MemoryDumpLevelOfDetail::DETAILED); On 2017/05/26 21:56:07, ssid wrote: > On 2017/05/26 ...
3 years, 7 months ago (2017-05-27 00:51:03 UTC) #15
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/2912483002/40001
3 years, 7 months ago (2017-05-27 00:51:25 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/394650)
3 years, 7 months ago (2017-05-27 01:27:43 UTC) #20
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/2912483002/40001
3 years, 6 months ago (2017-05-30 16:59:14 UTC) #22
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://chromium.googlesource.com/chromium/src/+/0529413d84c06f3720bf4a56b28bb2c7358cefd1
3 years, 6 months ago (2017-05-30 18:37:45 UTC) #25
erikchen
3 years, 6 months ago (2017-06-20 18:30:36 UTC) #26
Message was sent while issue was closed.
A revert of this CL (patchset #3 id:40001) has been created in
https://codereview.chromium.org/2952693002/ by erikchen@chromium.org.

The reason for reverting is: This breaks periodic dumping on Android.
Reverting..

Powered by Google App Engine
This is Rietveld 408576698