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

Issue 1306753005: [tracing] Add memory dump config to TraceConfig (Closed)

Created:
5 years, 4 months ago by ssid
Modified:
5 years, 3 months ago
CC:
chromium-reviews, tracing+reviews_chromium.org, wfh+watch_chromium.org, Zhen Wang
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[tracing] Add memory dump config to TraceConfig Currently memory-infra creates dump at fixed rate. The rate and level of detail should be configurable for telemetry and slow-reports. This CL introduces memory dump config in TraceConfig, to be able to control the periodic interval and dump type. See design doc https://goo.gl/5Hj3o0. BUG=513692 TBR=dsinclair@chromium.org, jhawkins@chromium.org Committed: https://crrev.com/00d111c262fc3bc3b0354ef747bb714c109634fa Cr-Commit-Position: refs/heads/master@{#345651}

Patch Set 1 #

Patch Set 2 : Nits. #

Patch Set 3 : Nits. #

Patch Set 4 : Nits. #

Patch Set 5 : Nits. #

Total comments: 30

Patch Set 6 : Renames. #

Total comments: 2

Patch Set 7 : Adding note about category. #

Total comments: 18

Patch Set 8 : Fixes. #

Patch Set 9 : Changes after discussion again. #

Patch Set 10 : Nits. #

Patch Set 11 : Build fix. #

Patch Set 12 : Fix build. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+238 lines, -34 lines) Patch
M base/trace_event/memory_dump_manager.h View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M base/trace_event/memory_dump_manager.cc View 1 2 3 4 5 6 7 8 9 2 chunks +2 lines, -5 lines 0 comments Download
M base/trace_event/memory_dump_manager_unittest.cc View 1 2 3 4 5 6 7 18 chunks +17 lines, -19 lines 0 comments Download
M base/trace_event/trace_config.h View 1 2 3 4 5 6 7 8 9 7 chunks +34 lines, -1 line 0 comments Download
M base/trace_event/trace_config.cc View 1 2 3 4 5 6 7 8 10 chunks +112 lines, -4 lines 0 comments Download
M base/trace_event/trace_config_unittest.cc View 1 2 3 4 5 6 7 8 3 chunks +68 lines, -0 lines 0 comments Download
M chrome/test/base/tracing_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +3 lines, -3 lines 0 comments Download
M content/browser/tracing/memory_tracing_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 31 (10 generated)
ssid
PTAL, Thanks
5 years, 4 months ago (2015-08-21 11:43:13 UTC) #2
Primiano Tucci (use gerrit)
Makes sense to me with some comments here and there. Once you address them, please ...
5 years, 4 months ago (2015-08-24 11:58:36 UTC) #3
ssid
Thanks, made changes. https://codereview.chromium.org/1306753005/diff/80001/base/trace_event/memory_dump_manager_unittest.cc File base/trace_event/memory_dump_manager_unittest.cc (right): https://codereview.chromium.org/1306753005/diff/80001/base/trace_event/memory_dump_manager_unittest.cc#newcode73 base/trace_event/memory_dump_manager_unittest.cc:73: const char* kTraceCategory = MemoryDumpManager::kTraceCategory; On ...
5 years, 4 months ago (2015-08-24 15:29:31 UTC) #4
ssid
PTAL. Thanks
5 years, 4 months ago (2015-08-24 15:30:04 UTC) #6
Zhen Wang
lgtm for trace_config.h/cc with nits. https://codereview.chromium.org/1306753005/diff/100001/base/trace_event/trace_config.h File base/trace_event/trace_config.h (right): https://codereview.chromium.org/1306753005/diff/100001/base/trace_event/trace_config.h#newcode112 base/trace_event/trace_config.h:112: // "disabled-by-default-memory-infra"], disabled-by-default-memory-infra must ...
5 years, 4 months ago (2015-08-24 18:38:24 UTC) #7
ssid
Made changes. Thanks. primiano@ PTAL. https://codereview.chromium.org/1306753005/diff/100001/base/trace_event/trace_config.h File base/trace_event/trace_config.h (right): https://codereview.chromium.org/1306753005/diff/100001/base/trace_event/trace_config.h#newcode112 base/trace_event/trace_config.h:112: // "disabled-by-default-memory-infra"], On 2015/08/24 ...
5 years, 4 months ago (2015-08-24 19:48:10 UTC) #8
Primiano Tucci (use gerrit)
https://codereview.chromium.org/1306753005/diff/120001/base/trace_event/trace_config.h File base/trace_event/trace_config.h (right): https://codereview.chromium.org/1306753005/diff/120001/base/trace_event/trace_config.h#newcode125 base/trace_event/trace_config.h:125: // Note: memory_dump_config can be specified only if ssid: ...
5 years, 4 months ago (2015-08-24 21:26:47 UTC) #9
ssid
https://codereview.chromium.org/1306753005/diff/120001/base/trace_event/trace_config.h File base/trace_event/trace_config.h (right): https://codereview.chromium.org/1306753005/diff/120001/base/trace_event/trace_config.h#newcode125 base/trace_event/trace_config.h:125: // Note: memory_dump_config can be specified only if On ...
5 years, 4 months ago (2015-08-24 22:46:26 UTC) #10
ssid
https://codereview.chromium.org/1306753005/diff/120001/base/trace_event/trace_config.h File base/trace_event/trace_config.h (right): https://codereview.chromium.org/1306753005/diff/120001/base/trace_event/trace_config.h#newcode125 base/trace_event/trace_config.h:125: // Note: memory_dump_config can be specified only if On ...
5 years, 4 months ago (2015-08-24 22:53:23 UTC) #11
Primiano Tucci (use gerrit)
Had some long offline chat on this, just few minimal changes. thanks https://codereview.chromium.org/1306753005/diff/120001/base/trace_event/memory_dump_manager.cc File base/trace_event/memory_dump_manager.cc ...
5 years, 4 months ago (2015-08-25 18:27:37 UTC) #12
ssid
PTAL, Thanks https://codereview.chromium.org/1306753005/diff/120001/base/trace_event/trace_config.cc File base/trace_event/trace_config.cc (right): https://codereview.chromium.org/1306753005/diff/120001/base/trace_event/trace_config.cc#newcode313 base/trace_event/trace_config.cc:313: On 2015/08/25 18:27:37, Primiano Tucci wrote: > ...
5 years, 3 months ago (2015-08-26 10:19:51 UTC) #13
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1306753005/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1306753005/160001
5 years, 3 months ago (2015-08-26 12:04:53 UTC) #15
Primiano Tucci (use gerrit)
LGTM ship it :) sorry for the long back and forths.
5 years, 3 months ago (2015-08-26 12:44:40 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1306753005/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1306753005/200001
5 years, 3 months ago (2015-08-26 12:44:57 UTC) #19
Primiano Tucci (use gerrit)
TBR-ing dsinclair as the change in content/browser/tracing/memory_tracing_browsertest.cc is just removing a "forTest" string.
5 years, 3 months ago (2015-08-26 12:45:50 UTC) #20
ssid
On 2015/08/26 12:45:50, Primiano Tucci wrote: > TBR-ing dsinclair as the change in > content/browser/tracing/memory_tracing_browsertest.cc ...
5 years, 3 months ago (2015-08-26 14:48:56 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1306753005/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1306753005/220001
5 years, 3 months ago (2015-08-26 14:49:15 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/95847)
5 years, 3 months ago (2015-08-26 16:33:48 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1306753005/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1306753005/220001
5 years, 3 months ago (2015-08-26 20:06:38 UTC) #29
commit-bot: I haz the power
Committed patchset #12 (id:220001)
5 years, 3 months ago (2015-08-26 20:12:46 UTC) #30
commit-bot: I haz the power
5 years, 3 months ago (2015-08-26 20:14:03 UTC) #31
Message was sent while issue was closed.
Patchset 12 (id:??) landed as
https://crrev.com/00d111c262fc3bc3b0354ef747bb714c109634fa
Cr-Commit-Position: refs/heads/master@{#345651}

Powered by Google App Engine
This is Rietveld 408576698