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

Issue 1614063005: Adds a callback to TracingAgent::StartAgentTracing() (Closed)

Created:
4 years, 11 months ago by charliea (OOO until 10-5)
Modified:
4 years, 10 months ago
CC:
chromium-reviews, hashimoto+watch_chromium.org, vmpstr+watch_chromium.org, wfh+watch_chromium.org, jam, darin-cc_chromium.org, oshima+watch_chromium.org, tracing+reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Adds a callback to TracingAgent::StartAgentTracing() This allows us to use tracing agents that require more time to start. The first use case of this will be the BattOr tracing agent, which requires several round trips over USB before it can know whether StartTracing was successful. Committed: https://crrev.com/c1b44047e693b68a9a441a1d9f464e3c9e16ed89 Cr-Commit-Position: refs/heads/master@{#371637}

Patch Set 1 : #

Total comments: 8

Patch Set 2 : Code review #

Total comments: 2

Patch Set 3 : #

Total comments: 12

Patch Set 4 : Code review #

Patch Set 5 : Synced to head #

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+177 lines, -64 lines) Patch
M base/trace_event/tracing_agent.h View 1 2 3 4 2 chunks +4 lines, -1 line 0 comments Download
M chromeos/dbus/debug_daemon_client.cc View 1 2 3 3 chunks +7 lines, -3 lines 0 comments Download
M chromeos/dbus/fake_debug_daemon_client.h View 1 chunk +2 lines, -2 lines 0 comments Download
M chromeos/dbus/fake_debug_daemon_client.cc View 1 2 3 1 chunk +6 lines, -3 lines 0 comments Download
M content/browser/tracing/etw_system_event_consumer_win.h View 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/tracing/etw_system_event_consumer_win.cc View 1 2 3 3 chunks +13 lines, -5 lines 0 comments Download
M content/browser/tracing/power_tracing_agent.h View 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/tracing/power_tracing_agent.cc View 1 2 3 2 chunks +13 lines, -6 lines 0 comments Download
M content/browser/tracing/tracing_controller_impl.h View 5 chunks +15 lines, -5 lines 0 comments Download
M content/browser/tracing/tracing_controller_impl.cc View 1 2 3 4 5 8 chunks +113 lines, -35 lines 0 comments Download

Messages

Total messages: 67 (34 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1614063005/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1614063005/40001
4 years, 11 months ago (2016-01-22 20:52:00 UTC) #2
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: cast_shell_linux on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linux/builds/105912)
4 years, 11 months ago (2016-01-22 21:26:15 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1614063005/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1614063005/80001
4 years, 11 months ago (2016-01-25 16:52:02 UTC) #9
charliea (OOO until 10-5)
4 years, 11 months ago (2016-01-25 20:01:23 UTC) #15
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1614063005/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1614063005/100001
4 years, 11 months ago (2016-01-25 20:04:57 UTC) #16
Zhen Wang
https://codereview.chromium.org/1614063005/diff/100001/content/browser/tracing/power_tracing_agent.cc File content/browser/tracing/power_tracing_agent.cc (right): https://codereview.chromium.org/1614063005/diff/100001/content/browser/tracing/power_tracing_agent.cc#newcode50 content/browser/tracing/power_tracing_agent.cc:50: if (!battor_trace_provider_->IsConnected()) { This is still a sync call ...
4 years, 11 months ago (2016-01-25 20:35:32 UTC) #17
charliea (OOO until 10-5)
https://codereview.chromium.org/1614063005/diff/100001/content/browser/tracing/power_tracing_agent.cc File content/browser/tracing/power_tracing_agent.cc (right): https://codereview.chromium.org/1614063005/diff/100001/content/browser/tracing/power_tracing_agent.cc#newcode50 content/browser/tracing/power_tracing_agent.cc:50: if (!battor_trace_provider_->IsConnected()) { On 2016/01/25 20:35:32, Zhen Wang wrote: ...
4 years, 11 months ago (2016-01-25 21:15:24 UTC) #19
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1614063005/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1614063005/120001
4 years, 11 months ago (2016-01-25 21:19:06 UTC) #21
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/13175)
4 years, 11 months ago (2016-01-25 21:32:04 UTC) #23
oystein (OOO til 10th of July)
https://codereview.chromium.org/1614063005/diff/120001/content/browser/tracing/tracing_controller_impl.cc File content/browser/tracing/tracing_controller_impl.cc (right): https://codereview.chromium.org/1614063005/diff/120001/content/browser/tracing/tracing_controller_impl.cc#newcode690 content/browser/tracing/tracing_controller_impl.cc:690: void TracingControllerImpl::OnStartAgentTracingAcked( What happens if StopTracing() gets called before ...
4 years, 11 months ago (2016-01-25 22:19:41 UTC) #24
charliea (OOO until 10-5)
https://codereview.chromium.org/1614063005/diff/120001/content/browser/tracing/tracing_controller_impl.cc File content/browser/tracing/tracing_controller_impl.cc (right): https://codereview.chromium.org/1614063005/diff/120001/content/browser/tracing/tracing_controller_impl.cc#newcode690 content/browser/tracing/tracing_controller_impl.cc:690: void TracingControllerImpl::OnStartAgentTracingAcked( On 2016/01/25 22:19:41, Oystein wrote: > What ...
4 years, 11 months ago (2016-01-26 00:30:09 UTC) #25
oystein (OOO til 10th of July)
On 2016/01/26 00:30:09, charliea wrote: > https://codereview.chromium.org/1614063005/diff/120001/content/browser/tracing/tracing_controller_impl.cc > File content/browser/tracing/tracing_controller_impl.cc (right): > > https://codereview.chromium.org/1614063005/diff/120001/content/browser/tracing/tracing_controller_impl.cc#newcode690 > ...
4 years, 11 months ago (2016-01-26 01:06:52 UTC) #26
charliea (OOO until 10-5)
On 2016/01/26 01:06:52, Oystein wrote: > On 2016/01/26 00:30:09, charliea wrote: > > > https://codereview.chromium.org/1614063005/diff/120001/content/browser/tracing/tracing_controller_impl.cc ...
4 years, 11 months ago (2016-01-26 01:27:39 UTC) #27
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1614063005/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1614063005/140001
4 years, 11 months ago (2016-01-26 02:03:33 UTC) #29
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 11 months ago (2016-01-26 03:26:23 UTC) #31
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1614063005/150001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1614063005/150001
4 years, 10 months ago (2016-01-26 14:42:46 UTC) #34
charliea (OOO until 10-5)
PTAL
4 years, 10 months ago (2016-01-26 14:45:40 UTC) #35
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1614063005/170001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1614063005/170001
4 years, 10 months ago (2016-01-26 14:49:26 UTC) #38
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: cast_shell_linux on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linux/builds/106970)
4 years, 10 months ago (2016-01-26 14:58:30 UTC) #40
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1614063005/190001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1614063005/190001
4 years, 10 months ago (2016-01-26 15:57:52 UTC) #43
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2016-01-26 17:34:21 UTC) #45
oystein (OOO til 10th of July)
Looks good, lgtm!
4 years, 10 months ago (2016-01-26 18:24:28 UTC) #46
charliea (OOO until 10-5)
+stevenjb for chromeos OWNERS
4 years, 10 months ago (2016-01-26 19:54:29 UTC) #48
stevenjb
https://codereview.chromium.org/1614063005/diff/190001/chromeos/dbus/debug_daemon_client.cc File chromeos/dbus/debug_daemon_client.cc (right): https://codereview.chromium.org/1614063005/diff/190001/chromeos/dbus/debug_daemon_client.cc#newcode226 chromeos/dbus/debug_daemon_client.cc:226: FROM_HERE, base::Bind(callback, GetTracingAgentName(), true)); Document |success|, i.e: true /* ...
4 years, 10 months ago (2016-01-26 20:11:20 UTC) #49
charliea (OOO until 10-5)
https://codereview.chromium.org/1614063005/diff/190001/chromeos/dbus/debug_daemon_client.cc File chromeos/dbus/debug_daemon_client.cc (right): https://codereview.chromium.org/1614063005/diff/190001/chromeos/dbus/debug_daemon_client.cc#newcode226 chromeos/dbus/debug_daemon_client.cc:226: FROM_HERE, base::Bind(callback, GetTracingAgentName(), true)); On 2016/01/26 20:11:19, stevenjb wrote: ...
4 years, 10 months ago (2016-01-26 20:29:56 UTC) #50
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1614063005/210001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1614063005/210001
4 years, 10 months ago (2016-01-26 20:33:17 UTC) #52
stevenjb
lgtm
4 years, 10 months ago (2016-01-26 20:52:19 UTC) #53
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/13780)
4 years, 10 months ago (2016-01-26 20:57:33 UTC) #55
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1614063005/230001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1614063005/230001
4 years, 10 months ago (2016-01-26 21:13:22 UTC) #58
commit-bot: I haz the power
Try jobs failed on following builders: chromeos_amd64-generic_chromium_compile_only_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_amd64-generic_chromium_compile_only_ng/builds/84570) chromeos_daisy_chromium_compile_only_ng on tryserver.chromium.linux (JOB_FAILED, ...
4 years, 10 months ago (2016-01-26 21:25:08 UTC) #60
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1614063005/270001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1614063005/270001
4 years, 10 months ago (2016-01-26 21:54:25 UTC) #64
commit-bot: I haz the power
Committed patchset #6 (id:270001)
4 years, 10 months ago (2016-01-26 23:42:57 UTC) #65
commit-bot: I haz the power
4 years, 10 months ago (2016-01-26 23:44:14 UTC) #67
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/c1b44047e693b68a9a441a1d9f464e3c9e16ed89
Cr-Commit-Position: refs/heads/master@{#371637}

Powered by Google App Engine
This is Rietveld 408576698