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

Issue 1620783002: tracing: fix edge case when dumping while trace being disabled (Closed)

Created:
4 years, 11 months ago by Primiano Tucci (use gerrit)
Modified:
4 years, 11 months ago
Reviewers:
ssid
CC:
chromium-reviews, tracing+reviews_chromium.org, wfh+watch_chromium.org, vmpstr+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

tracing: fix edge case when dumping while trace being disabled A recent failure unveiled an edge case in memory-infra which causes a crash if tracing is disabled between a RequestGlobalDump() and a ContinueAsyncProcessDump(). This CL fixes the edge case and adds a test. BUG=580295 Committed: https://crrev.com/5e13f78e61de954049966773407d2255087dc8a5 Cr-Commit-Position: refs/heads/master@{#371264}

Patch Set 1 #

Total comments: 2

Patch Set 2 : final_check #

Patch Set 3 : fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -9 lines) Patch
M base/trace_event/memory_dump_manager.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M base/trace_event/memory_dump_manager.cc View 1 2 6 chunks +23 lines, -6 lines 0 comments Download
M base/trace_event/memory_dump_manager_unittest.cc View 1 2 2 chunks +27 lines, -3 lines 0 comments Download

Messages

Total messages: 15 (7 generated)
Primiano Tucci (use gerrit)
4 years, 11 months ago (2016-01-22 13:18:42 UTC) #2
ssid
lgtm. Thanks https://codereview.chromium.org/1620783002/diff/1/base/trace_event/memory_dump_manager.cc File base/trace_event/memory_dump_manager.cc (left): https://codereview.chromium.org/1620783002/diff/1/base/trace_event/memory_dump_manager.cc#oldcode483 base/trace_event/memory_dump_manager.cc:483: pmd_async_state->callback.Run(dump_guid, true /* success */); This used ...
4 years, 11 months ago (2016-01-22 15:31:14 UTC) #3
Primiano Tucci (use gerrit)
https://codereview.chromium.org/1620783002/diff/1/base/trace_event/memory_dump_manager.cc File base/trace_event/memory_dump_manager.cc (left): https://codereview.chromium.org/1620783002/diff/1/base/trace_event/memory_dump_manager.cc#oldcode483 base/trace_event/memory_dump_manager.cc:483: pmd_async_state->callback.Run(dump_guid, true /* success */); On 2016/01/22 15:31:14, ssid ...
4 years, 11 months ago (2016-01-25 16:29:39 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1620783002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1620783002/20001
4 years, 11 months ago (2016-01-25 16:30:06 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: ios_rel_device_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_rel_device_ninja/builds/162883)
4 years, 11 months ago (2016-01-25 16:35:44 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1620783002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1620783002/40001
4 years, 11 months ago (2016-01-25 16:46:20 UTC) #12
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 11 months ago (2016-01-25 18:10:45 UTC) #13
commit-bot: I haz the power
4 years, 11 months ago (2016-01-25 18:13:25 UTC) #15
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/5e13f78e61de954049966773407d2255087dc8a5
Cr-Commit-Position: refs/heads/master@{#371264}

Powered by Google App Engine
This is Rietveld 408576698