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

Issue 2777093009: [Memory UMA] Return a memory summary struct with the ack message (Closed)

Created:
3 years, 8 months ago by fmeawad
Modified:
3 years, 8 months ago
CC:
chiniforooshan, chrome-grc-reviews_chromium.org, danakj+watch_chromium.org, jam, qsr+mojo_chromium.org, tracing+reviews_chromium.org, viettrungluu+watch_chromium.org, vmpstr+watch_chromium.org, wfh+watch_chromium.org, yzshen+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[Memory UMA] Return a memory summary struck with the ack message This CL updates the returned mojo message to include the MemoryDumpCallbackResult. That struct will be used to create a memory summary that can be sent through UMA and used for other purposes. A follow up CL will add the extra_processes_dump map. BUG=703184 Review-Url: https://codereview.chromium.org/2777093009 Cr-Commit-Position: refs/heads/master@{#464083} Committed: https://chromium.googlesource.com/chromium/src/+/bd1f17f86efd1346e16628622ddde56d560d4a4b

Patch Set 1 #

Patch Set 2 : Fix the tests #

Patch Set 3 : Rebase, cleanup and fix tests #

Patch Set 4 : Readd the extra_process_dump map #

Total comments: 16

Patch Set 5 : Address reviewers comments #

Patch Set 6 : Rebase #

Patch Set 7 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+213 lines, -63 lines) Patch
M base/trace_event/memory_dump_manager.h View 1 2 3 4 5 6 5 chunks +8 lines, -7 lines 0 comments Download
M base/trace_event/memory_dump_manager.cc View 1 2 3 4 5 6 11 chunks +14 lines, -10 lines 0 comments Download
M base/trace_event/memory_dump_manager_unittest.cc View 1 2 3 4 5 6 9 chunks +48 lines, -27 lines 0 comments Download
M base/trace_event/memory_dump_request_args.h View 1 2 3 4 5 3 chunks +10 lines, -2 lines 0 comments Download
M base/trace_event/memory_dump_request_args.cc View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M content/browser/tracing/memory_tracing_browsertest.cc View 1 2 3 4 5 2 chunks +5 lines, -4 lines 0 comments Download
M services/resource_coordinator/memory/coordinator/coordinator_impl.h View 1 chunk +3 lines, -1 line 0 comments Download
M services/resource_coordinator/memory/coordinator/coordinator_impl.cc View 3 chunks +7 lines, -5 lines 0 comments Download
M services/resource_coordinator/memory/coordinator/coordinator_impl_unittest.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M services/resource_coordinator/public/cpp/memory/memory_dump_manager_delegate_impl.h View 2 chunks +2 lines, -2 lines 0 comments Download
M services/resource_coordinator/public/cpp/memory/memory_dump_manager_delegate_impl.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M services/resource_coordinator/public/cpp/memory/memory_instrumentation.typemap View 1 chunk +3 lines, -0 lines 0 comments Download
M services/resource_coordinator/public/cpp/memory/memory_instrumentation_struct_traits.h View 1 chunk +53 lines, -0 lines 0 comments Download
M services/resource_coordinator/public/cpp/memory/memory_instrumentation_struct_traits.cc View 1 chunk +34 lines, -0 lines 0 comments Download
M services/resource_coordinator/public/interfaces/memory/memory_instrumentation.mojom View 1 chunk +19 lines, -2 lines 0 comments Download

Messages

Total messages: 42 (28 generated)
Primiano Tucci (use gerrit)
Just looked into this with hector, makes lot of sense. The only thing that seems ...
3 years, 8 months ago (2017-03-30 15:04:17 UTC) #2
fmeawad
I think this might be ready for an official review, can you do a first ...
3 years, 8 months ago (2017-04-06 04:55:06 UTC) #8
hjd
Seems good to me, the mojo boilerplate seems sad but I guess that is just ...
3 years, 8 months ago (2017-04-06 11:18:45 UTC) #9
Primiano Tucci (use gerrit)
Thanks! glad to see all this coming together. LGTM with minor comment addressed. I think ...
3 years, 8 months ago (2017-04-07 15:31:37 UTC) #15
fmeawad
https://codereview.chromium.org/2777093009/diff/60001/base/trace_event/memory_dump_manager.cc File base/trace_event/memory_dump_manager.cc (right): https://codereview.chromium.org/2777093009/diff/60001/base/trace_event/memory_dump_manager.cc#newcode766 base/trace_event/memory_dump_manager.cc:766: base::Optional<MemoryDumpCallbackResult> result_opt; On 2017/04/07 15:31:36, Primiano Tucci wrote: > ...
3 years, 8 months ago (2017-04-10 20:20:19 UTC) #20
hjd
lgtm
3 years, 8 months ago (2017-04-11 09:39:42 UTC) #25
fmeawad
Adding more owners
3 years, 8 months ago (2017-04-11 15:43:52 UTC) #27
Ken Rockot(use gerrit already)
lgtm
3 years, 8 months ago (2017-04-11 17:39:24 UTC) #28
fmeawad
+ mkwst for IPC review
3 years, 8 months ago (2017-04-11 20:35:01 UTC) #30
Mike West
mojom lgtm
3 years, 8 months ago (2017-04-12 06:33:43 UTC) #31
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/2777093009/100001
3 years, 8 months ago (2017-04-12 14:35:48 UTC) #34
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/189362) ios-device-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, ...
3 years, 8 months ago (2017-04-12 14:38:22 UTC) #36
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/2777093009/120001
3 years, 8 months ago (2017-04-12 15:57:51 UTC) #39
commit-bot: I haz the power
3 years, 8 months ago (2017-04-12 18:06:24 UTC) #42
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://chromium.googlesource.com/chromium/src/+/bd1f17f86efd1346e16628622ddd...

Powered by Google App Engine
This is Rietveld 408576698