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

Issue 1406213005: [tracing] Add names to memory-infra dumpers for debugging (Closed)

Created:
5 years, 1 month ago by Primiano Tucci (use gerrit)
Modified:
5 years, 1 month ago
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, feature-media-reviews_chromium.org, oilpan-reviews, Mads Ager (chromium), vmpstr+watch_chromium.org, wfh+watch_chromium.org, blink-reviews, jam, haraken, mkwst+moarreviews-renderer_chromium.org, dglazkov+blink, darin-cc_chromium.org, tracing+reviews_chromium.org, piman+watch_chromium.org, cc-bugs_chromium.org, kouhei+heap_chromium.org, blink-reviews-api_chromium.org, ericrk
Base URL:
https://chromium.googlesource.com/chromium/src.git@memory-infra-runtime
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[tracing] Add names to memory-infra dumpers for debugging Follow-up CL to crrev.com/1425793002. Adds an extra |name| argument to the memory-infra RegisterDumpProvider methods. This allow to see the names of the dump providers in the trace and diagnose dump providers getting stuck or taking more time than usual. No further behavioral change is introduced by this CL. BUG=547764 TBR=xhwang@chromium.org,simonhatch@chromium.org,jochen@chromium.org,shess@chromium.org,piman@chromium.org CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/186d6bfe41254d6e453a82bed9c8714b70b2af67 Cr-Commit-Position: refs/heads/master@{#357089}

Patch Set 1 #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : WebCache -> MemoryCache #

Patch Set 4 : Rebase #

Patch Set 5 : Ah, tests #

Patch Set 6 : Rebase + fix android #

Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -60 lines) Patch
M base/trace_event/memory_dump_manager.h View 1 2 3 1 chunk +0 lines, -7 lines 0 comments Download
M base/trace_event/memory_dump_manager.cc View 1 2 3 2 chunks +8 lines, -15 lines 0 comments Download
M base/trace_event/memory_dump_manager_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M base/trace_event/trace_log.cc View 1 2 3 2 chunks +3 lines, -2 lines 0 comments Download
M cc/output/output_surface.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/raster/one_copy_tile_task_worker_pool.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/resources/resource_pool.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M cc/resources/resource_provider.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M components/tracing/child_trace_message_filter_browsertest.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M content/browser/browser_main_loop.cc View 1 2 3 2 chunks +7 lines, -5 lines 0 comments Download
M content/browser/tracing/memory_tracing_browsertest.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M content/child/blink_platform_impl.h View 1 chunk +2 lines, -1 line 0 comments Download
M content/child/blink_platform_impl.cc View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M content/child/child_discardable_shared_memory_manager.cc View 1 chunk +2 lines, -1 line 0 comments Download
M content/common/host_discardable_shared_memory_manager.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M content/gpu/gpu_main.cc View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M content/renderer/render_thread_impl.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M gin/v8_isolate_memory_dump_provider.cc View 1 chunk +1 line, -1 line 0 comments Download
M gpu/command_buffer/client/cmd_buffer_helper.cc View 1 chunk +1 line, -1 line 0 comments Download
M gpu/command_buffer/client/gles2_implementation.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M gpu/command_buffer/client/mapped_memory.cc View 1 chunk +1 line, -1 line 0 comments Download
M gpu/command_buffer/service/buffer_manager.cc View 1 chunk +1 line, -1 line 0 comments Download
M gpu/command_buffer/service/renderbuffer_manager.cc View 1 chunk +1 line, -1 line 0 comments Download
M gpu/command_buffer/service/texture_manager.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M gpu/command_buffer/service/transfer_buffer_manager.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M media/filters/vpx_video_decoder.cc View 1 chunk +1 line, -1 line 0 comments Download
M media/video/gpu_memory_buffer_video_frame_pool.cc View 1 chunk +1 line, -1 line 0 comments Download
M sql/connection.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/exported/Platform.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/heap/Heap.cpp View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/web/WebKit.cpp View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/public/platform/Platform.h View 1 2 3 1 chunk +3 lines, -2 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 20 (8 generated)
Primiano Tucci (use gerrit)
+rbyers for the change to third_party/WebKit/public/platform/Platform.h +petrcermak for a general review I'll TBR all the ...
5 years, 1 month ago (2015-10-27 16:49:56 UTC) #2
Rick Byers
WebKit/public/platform LGTM
5 years, 1 month ago (2015-10-27 16:57:19 UTC) #3
haraken
Source/* LGTM https://codereview.chromium.org/1406213005/diff/20001/third_party/WebKit/Source/web/WebKit.cpp File third_party/WebKit/Source/web/WebKit.cpp (right): https://codereview.chromium.org/1406213005/diff/20001/third_party/WebKit/Source/web/WebKit.cpp#newcode127 third_party/WebKit/Source/web/WebKit.cpp:127: platform->registerMemoryDumpProvider(WebCacheMemoryDumpProvider::instance(), "WebCache"); "WebCache" => "MemoryCache"
5 years, 1 month ago (2015-10-27 17:00:06 UTC) #5
Primiano Tucci (use gerrit)
+ericrk FYI (just realised that half of the dumpers are yours here :) ) https://codereview.chromium.org/1406213005/diff/20001/third_party/WebKit/Source/web/WebKit.cpp ...
5 years, 1 month ago (2015-10-27 17:03:19 UTC) #6
petrcermak
My only comment is that the names (e.g. "TraceLog") don't fully match the names of ...
5 years, 1 month ago (2015-10-27 18:06:15 UTC) #7
Primiano Tucci (use gerrit)
On 2015/10/27 18:06:15, petrcermak wrote: > My only comment is that the names (e.g. "TraceLog") ...
5 years, 1 month ago (2015-10-29 10:44:39 UTC) #8
Primiano Tucci (use gerrit)
TBR due to the mechanical nature of the change wang: for media/ simonhatch: for tracing ...
5 years, 1 month ago (2015-10-29 15:38:26 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1406213005/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1406213005/80001
5 years, 1 month ago (2015-10-29 15:39:43 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_dbg on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_chromium_gn_compile_dbg/builds/133815)
5 years, 1 month ago (2015-10-29 15:45:38 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1406213005/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1406213005/100001
5 years, 1 month ago (2015-10-30 09:43:53 UTC) #18
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 1 month ago (2015-10-30 13:21:48 UTC) #19
commit-bot: I haz the power
5 years, 1 month ago (2015-10-30 13:22:47 UTC) #20
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/186d6bfe41254d6e453a82bed9c8714b70b2af67
Cr-Commit-Position: refs/heads/master@{#357089}

Powered by Google App Engine
This is Rietveld 408576698