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

Issue 2838913002: memory-infra: Add SUMMARY_ONLY MemoryDumpType (Closed)

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

Description

memory-infra: Add SUMMARY_ONLY MemoryDumpType Add a new MemoryDumpType: SUMMARY_ONLY which allows RequestGlobalDump callers to specify the dump should not be added to the trace. BUG=703184 Review-Url: https://codereview.chromium.org/2838913002 Cr-Commit-Position: refs/heads/master@{#467327} Committed: https://chromium.googlesource.com/chromium/src/+/09b8b3a25d763b86f0f935edae3a0442188872e6

Patch Set 1 #

Total comments: 1

Patch Set 2 : add mojo #

Patch Set 3 : add test #

Patch Set 4 : return true if summary only not added to trace #

Total comments: 12

Patch Set 5 : update for comments #

Patch Set 6 : rebase #

Patch Set 7 : fix for rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+74 lines, -20 lines) Patch
M base/trace_event/memory_dump_manager.cc View 1 2 3 4 5 1 chunk +9 lines, -4 lines 0 comments Download
M base/trace_event/memory_dump_manager_unittest.cc View 1 2 3 4 5 6 3 chunks +50 lines, -14 lines 0 comments Download
M base/trace_event/memory_dump_request_args.h View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M base/trace_event/memory_dump_request_args.cc View 2 chunks +4 lines, -0 lines 0 comments Download
M base/trace_event/memory_tracing_observer.cc View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M services/resource_coordinator/public/cpp/memory/memory_instrumentation_struct_traits.cc View 1 2 chunks +5 lines, -0 lines 0 comments Download
M services/resource_coordinator/public/interfaces/memory/memory_instrumentation.mojom View 1 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 27 (11 generated)
hjd
ptal, thanks!
3 years, 8 months ago (2017-04-25 15:31:38 UTC) #2
fmeawad
https://codereview.chromium.org/2838913002/diff/1/base/trace_event/memory_dump_request_args.h File base/trace_event/memory_dump_request_args.h (right): https://codereview.chromium.org/2838913002/diff/1/base/trace_event/memory_dump_request_args.h#newcode31 base/trace_event/memory_dump_request_args.h:31: SUMMARY_ONLY, // Calculate just the summary & don't add ...
3 years, 8 months ago (2017-04-25 15:37:18 UTC) #3
fmeawad
Can you also add some testing, maybe in memory_tracing_browsertest.cc
3 years, 8 months ago (2017-04-25 16:01:01 UTC) #4
Primiano Tucci (use gerrit)
On 2017/04/25 16:01:01, fmeawad wrote: > Can you also add some testing, maybe in memory_tracing_browsertest.cc ...
3 years, 8 months ago (2017-04-25 16:09:33 UTC) #5
hjd
On 2017/04/25 16:09:33, Primiano Tucci wrote: > On 2017/04/25 16:01:01, fmeawad wrote: > > Can ...
3 years, 8 months ago (2017-04-25 16:21:08 UTC) #6
hjd
On 2017/04/25 16:21:08, hjd wrote: > On 2017/04/25 16:09:33, Primiano Tucci wrote: > > On ...
3 years, 7 months ago (2017-04-25 17:10:09 UTC) #7
Primiano Tucci (use gerrit)
LGTM with some final comments. +rockot for adding 1 extra enum value to memory_instrumentation.mojom https://codereview.chromium.org/2838913002/diff/60001/base/trace_event/memory_dump_manager.cc ...
3 years, 7 months ago (2017-04-25 18:02:22 UTC) #9
ssid
lgtm https://codereview.chromium.org/2838913002/diff/60001/base/trace_event/memory_dump_request_args.h File base/trace_event/memory_dump_request_args.h (right): https://codereview.chromium.org/2838913002/diff/60001/base/trace_event/memory_dump_request_args.h#newcode32 base/trace_event/memory_dump_request_args.h:32: LAST = SUMMARY_ONLY // For IPC macros. Nit: ...
3 years, 7 months ago (2017-04-25 18:09:51 UTC) #10
Ken Rockot(use gerrit already)
lgtm
3 years, 7 months ago (2017-04-25 18:10:24 UTC) #11
hjd
https://codereview.chromium.org/2838913002/diff/60001/base/trace_event/memory_dump_manager.cc File base/trace_event/memory_dump_manager.cc (right): https://codereview.chromium.org/2838913002/diff/60001/base/trace_event/memory_dump_manager.cc#newcode743 base/trace_event/memory_dump_manager.cc:743: // Some dumps are requested just to cacluate the ...
3 years, 7 months ago (2017-04-26 11:11:58 UTC) #13
hjd
+mkwst ptal at 2 files under services/resource_coordinator/public/ Thanks!
3 years, 7 months ago (2017-04-26 11:19:33 UTC) #15
Mike West
LGTM.
3 years, 7 months ago (2017-04-26 11:34:28 UTC) #16
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/2838913002/80001
3 years, 7 months ago (2017-04-26 13:19:14 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_linux on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linux/builds/355239) ios-simulator-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, ...
3 years, 7 months ago (2017-04-26 13:28:08 UTC) #21
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/2838913002/140001
3 years, 7 months ago (2017-04-26 13:39:35 UTC) #24
commit-bot: I haz the power
3 years, 7 months ago (2017-04-26 15:18:41 UTC) #27
Message was sent while issue was closed.
Committed patchset #7 (id:140001) as
https://chromium.googlesource.com/chromium/src/+/09b8b3a25d763b86f0f935edae3a...

Powered by Google App Engine
This is Rietveld 408576698