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

Issue 1427873003: Background tracing: Added trace_chance (Closed)

Created:
5 years, 1 month ago by oystein (OOO til 10th of July)
Modified:
5 years, 1 month ago
Reviewers:
shatch
CC:
chromium-reviews, tracing+reviews_chromium.org, darin-cc_chromium.org, jam, wfh+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Background tracing: Added trace_chance This allows trigger rules to be configured to only successfully trigger a certain percentage of the time. R=shatch BUG=546193 Committed: https://crrev.com/b6461a2c4357e6a47f525e1926d35149fbbaf3fa Cr-Commit-Position: refs/heads/master@{#357204}

Patch Set 1 #

Total comments: 10

Patch Set 2 : Review fixes #

Total comments: 2

Patch Set 3 : Nit fix #

Patch Set 4 : Oops #

Unified diffs Side-by-side diffs Delta from patch set Stats (+186 lines, -11 lines) Patch
M content/browser/tracing/background_tracing_config_unittest.cc View 1 2 chunks +32 lines, -0 lines 0 comments Download
M content/browser/tracing/background_tracing_manager_browsertest.cc View 1 1 chunk +104 lines, -0 lines 0 comments Download
M content/browser/tracing/background_tracing_manager_impl.cc View 1 2 3 2 chunks +8 lines, -0 lines 0 comments Download
M content/browser/tracing/background_tracing_rule.h View 1 3 chunks +7 lines, -1 line 0 comments Download
M content/browser/tracing/background_tracing_rule.cc View 1 9 chunks +35 lines, -10 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 24 (11 generated)
oystein (OOO til 10th of July)
ptal!
5 years, 1 month ago (2015-10-29 21:21:19 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1427873003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1427873003/1
5 years, 1 month ago (2015-10-29 21:29:44 UTC) #5
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 1 month ago (2015-10-29 22:50:18 UTC) #7
shatch
https://codereview.chromium.org/1427873003/diff/1/content/browser/tracing/background_tracing_manager_browsertest.cc File content/browser/tracing/background_tracing_manager_browsertest.cc (right): https://codereview.chromium.org/1427873003/diff/1/content/browser/tracing/background_tracing_manager_browsertest.cc#newcode630 content/browser/tracing/background_tracing_manager_browsertest.cc:630: // This tests that no preemptive trace is triggered ...
5 years, 1 month ago (2015-10-30 15:50:29 UTC) #8
oystein (OOO til 10th of July)
Thanks! https://codereview.chromium.org/1427873003/diff/1/content/browser/tracing/background_tracing_manager_browsertest.cc File content/browser/tracing/background_tracing_manager_browsertest.cc (right): https://codereview.chromium.org/1427873003/diff/1/content/browser/tracing/background_tracing_manager_browsertest.cc#newcode630 content/browser/tracing/background_tracing_manager_browsertest.cc:630: // This tests that no preemptive trace is ...
5 years, 1 month ago (2015-10-30 19:11:44 UTC) #9
shatch
lgtm w/ nit https://codereview.chromium.org/1427873003/diff/20001/content/browser/tracing/background_tracing_manager_impl.cc File content/browser/tracing/background_tracing_manager_impl.cc (right): https://codereview.chromium.org/1427873003/diff/20001/content/browser/tracing/background_tracing_manager_impl.cc#newcode319 content/browser/tracing/background_tracing_manager_impl.cc:319: if (trigger_chance < 1.0f && base::RandDouble() ...
5 years, 1 month ago (2015-10-30 19:17:06 UTC) #10
oystein (OOO til 10th of July)
https://codereview.chromium.org/1427873003/diff/20001/content/browser/tracing/background_tracing_manager_impl.cc File content/browser/tracing/background_tracing_manager_impl.cc (right): https://codereview.chromium.org/1427873003/diff/20001/content/browser/tracing/background_tracing_manager_impl.cc#newcode319 content/browser/tracing/background_tracing_manager_impl.cc:319: if (trigger_chance < 1.0f && base::RandDouble() > trigger_chance) { ...
5 years, 1 month ago (2015-10-30 19:24:47 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1427873003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1427873003/40001
5 years, 1 month ago (2015-10-30 19:26:12 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1427873003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1427873003/60001
5 years, 1 month ago (2015-10-30 20:36:06 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/72548)
5 years, 1 month ago (2015-10-30 21:50:43 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1427873003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1427873003/60001
5 years, 1 month ago (2015-10-30 21:56:57 UTC) #22
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 1 month ago (2015-10-30 22:36:01 UTC) #23
commit-bot: I haz the power
5 years, 1 month ago (2015-10-30 22:37:23 UTC) #24
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/b6461a2c4357e6a47f525e1926d35149fbbaf3fa
Cr-Commit-Position: refs/heads/master@{#357204}

Powered by Google App Engine
This is Rietveld 408576698