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

Issue 2930533003: Minor fixes to Mojo MemoryDumpProvider. (Closed)

Created:
3 years, 6 months ago by erikchen
Modified:
3 years, 6 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

Minor fixes to Mojo MemoryDumpProvider. * Allow values from Mojo MemoryDumpProviders to be captured by slow reports by whitelisting them for background traces. * Add a unit test. * Fix destructor to correctly unregister the MemoryDumpProvider. BUG=705785 Review-Url: https://codereview.chromium.org/2930533003 Cr-Commit-Position: refs/heads/master@{#478327} Committed: https://chromium.googlesource.com/chromium/src/+/337e9da889a1982924a7d730ca3e8d6b0bc073d7

Patch Set 1 #

Patch Set 2 : Comments from sid. #

Total comments: 10

Patch Set 3 : comments from ssid, fix unittest. #

Total comments: 1

Patch Set 4 : comments from ssid. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+134 lines, -40 lines) Patch
M base/trace_event/memory_infra_background_whitelist.cc View 1 2 2 chunks +9 lines, -0 lines 0 comments Download
M mojo/edk/system/BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download
M mojo/edk/system/core.h View 1 1 chunk +1 line, -1 line 0 comments Download
M mojo/edk/system/core.cc View 1 16 chunks +40 lines, -31 lines 0 comments Download
M mojo/edk/system/handle_table.h View 1 2 chunks +6 lines, -1 line 0 comments Download
M mojo/edk/system/handle_table.cc View 1 2 3 2 chunks +1 line, -7 lines 0 comments Download
A mojo/edk/system/handle_table_unittest.cc View 1 2 1 chunk +76 lines, -0 lines 0 comments Download

Messages

Total messages: 38 (18 generated)
erikchen
dskiba: Please review.
3 years, 6 months ago (2017-06-07 00:05:39 UTC) #2
DmitrySkiba
LGTM +ssid to double-check.
3 years, 6 months ago (2017-06-07 00:10:02 UTC) #4
ssid
On 2017/06/07 00:10:02, DmitrySkiba wrote: > LGTM > > +ssid to double-check. Added some comments ...
3 years, 6 months ago (2017-06-07 00:31:24 UTC) #5
erikchen
ssid: PTAL
3 years, 6 months ago (2017-06-07 02:58:32 UTC) #9
erikchen
On 2017/06/07 02:58:32, erikchen wrote: > ssid: PTAL ssdi: PTAL
3 years, 6 months ago (2017-06-08 04:36:48 UTC) #13
Primiano Tucci (use gerrit)
RS-LGTM for base/trace_event/memory_infra_background_whitelist.cc once ssid is happy. I wish I could help more but you ...
3 years, 6 months ago (2017-06-08 12:55:19 UTC) #14
ssid
Thanks for fixing the provider. The provider does not seem to add size at all. ...
3 years, 6 months ago (2017-06-08 18:12:37 UTC) #15
erikchen
https://codereview.chromium.org/2930533003/diff/20001/base/trace_event/memory_infra_background_whitelist.cc File base/trace_event/memory_infra_background_whitelist.cc (right): https://codereview.chromium.org/2930533003/diff/20001/base/trace_event/memory_infra_background_whitelist.cc#newcode40 base/trace_event/memory_infra_background_whitelist.cc:40: "MojoHandleTable", On 2017/06/08 18:12:36, ssid wrote: > nit: please ...
3 years, 6 months ago (2017-06-09 00:18:12 UTC) #16
ssid
thanks https://codereview.chromium.org/2930533003/diff/20001/mojo/edk/system/core.cc File mojo/edk/system/core.cc (right): https://codereview.chromium.org/2930533003/diff/20001/mojo/edk/system/core.cc#newcode148 mojo/edk/system/core.cc:148: ->UnregisterAndDeleteDumpProviderSoon(std::move(handles_)); On 2017/06/09 00:18:12, erikchen wrote: > On ...
3 years, 6 months ago (2017-06-09 00:38:28 UTC) #19
ssid
On 2017/06/08 12:55:19, Primiano Tucci wrote: > RS-LGTM for base/trace_event/memory_infra_background_whitelist.cc once ssid is > happy. ...
3 years, 6 months ago (2017-06-09 00:40:25 UTC) #20
ssid
@Eric: The provider does not seem to add size at all. Is it just the ...
3 years, 6 months ago (2017-06-09 00:42:02 UTC) #21
erikchen
On 2017/06/09 00:42:02, ssid wrote: > @Eric: > The provider does not seem to add ...
3 years, 6 months ago (2017-06-09 02:06:15 UTC) #24
erikchen
https://codereview.chromium.org/2930533003/diff/20001/mojo/edk/system/core.cc File mojo/edk/system/core.cc (right): https://codereview.chromium.org/2930533003/diff/20001/mojo/edk/system/core.cc#newcode148 mojo/edk/system/core.cc:148: ->UnregisterAndDeleteDumpProviderSoon(std::move(handles_)); > The comment on the api says "The ...
3 years, 6 months ago (2017-06-09 02:06:25 UTC) #25
ssid
On 2017/06/09 02:06:25, erikchen wrote: > https://codereview.chromium.org/2930533003/diff/20001/mojo/edk/system/core.cc > File mojo/edk/system/core.cc (right): > > https://codereview.chromium.org/2930533003/diff/20001/mojo/edk/system/core.cc#newcode148 > ...
3 years, 6 months ago (2017-06-09 07:17:20 UTC) #26
Primiano Tucci (use gerrit)
https://codereview.chromium.org/2930533003/diff/20001/mojo/edk/system/core.cc File mojo/edk/system/core.cc (right): https://codereview.chromium.org/2930533003/diff/20001/mojo/edk/system/core.cc#newcode148 mojo/edk/system/core.cc:148: ->UnregisterAndDeleteDumpProviderSoon(std::move(handles_)); On 2017/06/09 02:06:25, erikchen wrote: > > > ...
3 years, 6 months ago (2017-06-09 11:29:58 UTC) #28
ssid
On 2017/06/09 11:29:58, Primiano Tucci wrote: > https://codereview.chromium.org/2930533003/diff/20001/mojo/edk/system/core.cc > File mojo/edk/system/core.cc (right): > > https://codereview.chromium.org/2930533003/diff/20001/mojo/edk/system/core.cc#newcode148 ...
3 years, 6 months ago (2017-06-09 14:22:28 UTC) #29
erikchen
rockot: Please review.
3 years, 6 months ago (2017-06-09 14:52:09 UTC) #31
Ken Rockot(use gerrit already)
lgtm
3 years, 6 months ago (2017-06-09 15:11:51 UTC) #32
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/2930533003/60001
3 years, 6 months ago (2017-06-09 16:25:56 UTC) #35
commit-bot: I haz the power
3 years, 6 months ago (2017-06-09 17:50:01 UTC) #38
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/337e9da889a1982924a7d730ca3e...

Powered by Google App Engine
This is Rietveld 408576698