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

Issue 2876543002: memory-infra: Don't invoke all dump providers in SUMMARY_ONLY mode (Closed)

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

Description

memory-infra: Don't invoke all dump providers in SUMMARY_ONLY mode The SUMMARY_ONLY dump type only uses the numbers that are in the summary struct. All the other numbers are ignored currently. So add a separate whietlist for this mode. BUG=720169 Review-Url: https://codereview.chromium.org/2876543002 Cr-Commit-Position: refs/heads/master@{#471743} Committed: https://chromium.googlesource.com/chromium/src/+/25b5cfb04820b353cc759e635b321a2cecf102bf

Patch Set 1 #

Total comments: 3

Patch Set 2 : fix comment #

Total comments: 8

Patch Set 3 : rebase #

Patch Set 4 : address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+92 lines, -12 lines) Patch
M base/trace_event/memory_dump_manager.cc View 1 2 3 2 chunks +19 lines, -3 lines 0 comments Download
M base/trace_event/memory_dump_manager_unittest.cc View 1 2 3 2 chunks +30 lines, -1 line 0 comments Download
M base/trace_event/memory_dump_provider_info.h View 2 chunks +5 lines, -1 line 0 comments Download
M base/trace_event/memory_dump_provider_info.cc View 1 chunk +3 lines, -1 line 0 comments Download
M base/trace_event/memory_infra_background_whitelist.h View 1 2 chunks +6 lines, -0 lines 0 comments Download
M base/trace_event/memory_infra_background_whitelist.cc View 3 chunks +26 lines, -5 lines 0 comments Download
M base/trace_event/memory_peak_detector_unittest.cc View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 11 (5 generated)
hjd
ptal, thanks! https://codereview.chromium.org/2876543002/diff/1/base/trace_event/memory_dump_manager.cc File base/trace_event/memory_dump_manager.cc (right): https://codereview.chromium.org/2876543002/diff/1/base/trace_event/memory_dump_manager.cc#newcode316 base/trace_event/memory_dump_manager.cc:316: bool whitelisted_for_background_mode = IsMemoryDumpProviderWhitelisted(name); Shall I rename ...
3 years, 7 months ago (2017-05-10 13:48:08 UTC) #2
Primiano Tucci (use gerrit)
awesome! lgtm with some minor comments https://codereview.chromium.org/2876543002/diff/1/base/trace_event/memory_dump_manager.cc File base/trace_event/memory_dump_manager.cc (right): https://codereview.chromium.org/2876543002/diff/1/base/trace_event/memory_dump_manager.cc#newcode316 base/trace_event/memory_dump_manager.cc:316: bool whitelisted_for_background_mode = ...
3 years, 7 months ago (2017-05-10 16:18:59 UTC) #3
ssid
lgtm and please git cl format. https://codereview.chromium.org/2876543002/diff/20001/base/trace_event/memory_infra_background_whitelist.cc File base/trace_event/memory_infra_background_whitelist.cc (right): https://codereview.chromium.org/2876543002/diff/20001/base/trace_event/memory_infra_background_whitelist.cc#newcode43 base/trace_event/memory_infra_background_whitelist.cc:43: // The names ...
3 years, 7 months ago (2017-05-10 17:43:09 UTC) #4
hjd
https://codereview.chromium.org/2876543002/diff/1/base/trace_event/memory_dump_manager.cc File base/trace_event/memory_dump_manager.cc (right): https://codereview.chromium.org/2876543002/diff/1/base/trace_event/memory_dump_manager.cc#newcode316 base/trace_event/memory_dump_manager.cc:316: bool whitelisted_for_background_mode = IsMemoryDumpProviderWhitelisted(name); On 2017/05/10 16:18:58, Primiano Tucci ...
3 years, 7 months ago (2017-05-15 12:02:27 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/2876543002/60001
3 years, 7 months ago (2017-05-15 12:03:15 UTC) #8
commit-bot: I haz the power
3 years, 7 months ago (2017-05-15 13:11:35 UTC) #11
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/25b5cfb04820b353cc759e635b32...

Powered by Google App Engine
This is Rietveld 408576698