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

Issue 2400163003: arc: enable Android tracing in verified-boot mode (Closed)

Created:
4 years, 2 months ago by shunhsingou
Modified:
3 years, 7 months ago
CC:
Aaron Boodman, abarth-chromium, chromium-reviews, darin (slow to review), darin-cc_chromium.org, davemoore+watch_chromium.org, elijahtaylor+arcwatch_chromium.org, hidehiko+watch_chromium.org, jam, lhchavez+watch_chromium.org, oshima+watch_chromium.org, qsr+mojo_chromium.org, tracing+reviews_chromium.org, viettrungluu+watch_chromium.org, wfh+watch_chromium.org, yusukes+watch_chromium.org, yzshen+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

arc: enable Android tracing in verified-boot mode In verified-boot mode, ftrace trace_marker is not allowed for writting due to security concern. As an altenative, we use a socket for processes in Android to write trace events, and send back the trace data via Mojo handle. All change set includes: - http://crrev.com/2400163003 (Chromium) - http://ag/2028075 (Android system/core) - http://ag/1738271 (Android device/google/cheets2) BUG=653795 TEST=Run chrome://tracing and see events from Android. Review-Url: https://codereview.chromium.org/2400163003 Cr-Commit-Position: refs/heads/master@{#468306} Committed: https://chromium.googlesource.com/chromium/src/+/7092984694bd56fc05488582a93a0fda0c8d7f29

Patch Set 1 #

Patch Set 2 : arc: enable Android framework tracing in chrome://tracing #

Patch Set 3 : arc: enable Android framework tracing in chrome://tracing #

Patch Set 4 : arc: enable Android framework tracing in chrome://tracing #

Total comments: 28

Patch Set 5 : arc: enable Android framework tracing in chrome://tracing #

Patch Set 6 : arc: enable Android framework tracing in chrome://tracing #

Total comments: 4

Patch Set 7 : Use struct instead of pair to save category data and fix lints #

Total comments: 64

Patch Set 8 : Create another pipe instead of ftrace for security #

Patch Set 9 : Fix according to review comments #

Total comments: 58

Patch Set 10 : Fix according to reviewer comment and git cl lint #

Patch Set 11 : add FakeArcTraceAgent for linux and test #

Total comments: 26

Patch Set 12 : Fix according to comments #

Patch Set 13 : Fix according to comments #

Total comments: 35

Patch Set 14 : Move pipe read-end from debugd to ArcTraceService #

Patch Set 15 : Fix some nits #

Total comments: 31

Patch Set 16 : Fix according to comments #

Patch Set 17 : fix nit #

Total comments: 6

Patch Set 18 : Fix nit according to the comments #

Patch Set 19 : Pass a socket handle for tracing and move buffer to the host side #

Patch Set 20 : Fix some nits #

Total comments: 38

Patch Set 21 : Split trigger tracing part into another patch #

Patch Set 22 : Rebase to crrev.com/2699833003 as it is merged #

Total comments: 32

Patch Set 23 : Address reviewer comments #

Patch Set 24 : address reviewer comments #

Patch Set 25 : Update comments #

Total comments: 26

Patch Set 26 : Address comments #

Total comments: 10

Patch Set 27 : Address comments #

Total comments: 12

Patch Set 28 : Address comments #

Patch Set 29 : address comments #

Patch Set 30 : Address comments #

Total comments: 25

Patch Set 31 : Address comments #

Patch Set 32 : Address comments #

Total comments: 17

Patch Set 33 : Address comments #

Patch Set 34 : address comments #

Total comments: 2

Patch Set 35 : address comments #

Patch Set 36 : Only compile arc_tracing_agent.* for CrOS to avoid breaking other builds. #

Patch Set 37 : rebase to tot #

Unified diffs Side-by-side diffs Delta from patch set Stats (+196 lines, -32 lines) Patch
M chrome/browser/chromeos/arc/tracing/arc_tracing_bridge.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/arc/tracing/arc_tracing_bridge.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 4 chunks +6 lines, -2 lines 0 comments Download
M components/arc/common/tracing.mojom View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 2 chunks +6 lines, -3 lines 0 comments Download
M content/browser/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 2 chunks +6 lines, -2 lines 0 comments Download
M content/browser/tracing/arc_tracing_agent.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 2 chunks +2 lines, -0 lines 0 comments Download
M content/browser/tracing/arc_tracing_agent.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 4 chunks +169 lines, -21 lines 0 comments Download
M content/browser/tracing/tracing_controller_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 1 chunk +5 lines, -4 lines 0 comments Download

Messages

Total messages: 126 (46 generated)
bccheng
Nat, Earl is unifying atrace for Android with Chrome on ARC++. Could you review his ...
4 years, 2 months ago (2016-10-11 02:57:35 UTC) #5
Luis Héctor Chávez
drive-by. https://codereview.chromium.org/2400163003/diff/60001/chrome/browser/chromeos/trace/sys_trace_agent.cc File chrome/browser/chromeos/trace/sys_trace_agent.cc (right): https://codereview.chromium.org/2400163003/diff/60001/chrome/browser/chromeos/trace/sys_trace_agent.cc#newcode21 chrome/browser/chromeos/trace/sys_trace_agent.cc:21: const char kCrosTracingAgentName[] = "cros"; nit: constexpr. https://codereview.chromium.org/2400163003/diff/60001/chrome/browser/chromeos/trace/sys_trace_agent.cc#newcode46 ...
4 years, 2 months ago (2016-10-11 03:38:50 UTC) #7
shunhsingou
https://codereview.chromium.org/2400163003/diff/60001/chrome/browser/chromeos/trace/sys_trace_agent.cc File chrome/browser/chromeos/trace/sys_trace_agent.cc (right): https://codereview.chromium.org/2400163003/diff/60001/chrome/browser/chromeos/trace/sys_trace_agent.cc#newcode21 chrome/browser/chromeos/trace/sys_trace_agent.cc:21: const char kCrosTracingAgentName[] = "cros"; On 2016/10/11 03:38:49, Luis ...
4 years, 2 months ago (2016-10-11 07:22:05 UTC) #8
Luis Héctor Chávez
overall comment: every time you git cl upload, write a short comment of what you ...
4 years, 2 months ago (2016-10-11 13:13:03 UTC) #9
shunhsingou
https://codereview.chromium.org/2400163003/diff/100001/components/arc/trace/arc_trace_bridge.cc File components/arc/trace/arc_trace_bridge.cc (right): https://codereview.chromium.org/2400163003/diff/100001/components/arc/trace/arc_trace_bridge.cc#newcode98 components/arc/trace/arc_trace_bridge.cc:98: if (!success) { On 2016/10/11 13:13:03, Luis Héctor Chávez ...
4 years, 2 months ago (2016-10-12 04:24:26 UTC) #10
Yusuke Sato
nice feature! :) I'll probably be using this for tracing ARC container boot. I'm sure ...
4 years, 2 months ago (2016-10-12 05:58:14 UTC) #12
shunhsingou
https://codereview.chromium.org/2400163003/diff/120001/content/browser/tracing/DEPS File content/browser/tracing/DEPS (right): https://codereview.chromium.org/2400163003/diff/120001/content/browser/tracing/DEPS#newcode11 content/browser/tracing/DEPS:11: "+chrome/browser/chromeos", On 2016/10/12 05:58:14, Yusuke Sato wrote: > hmm.. ...
4 years, 2 months ago (2016-10-12 08:03:19 UTC) #13
Yusuke Sato
https://codereview.chromium.org/2400163003/diff/120001/content/browser/tracing/DEPS File content/browser/tracing/DEPS (right): https://codereview.chromium.org/2400163003/diff/120001/content/browser/tracing/DEPS#newcode11 content/browser/tracing/DEPS:11: "+chrome/browser/chromeos", On 2016/10/12 08:03:19, shunhsingou wrote: > On 2016/10/12 ...
4 years, 2 months ago (2016-10-12 17:07:34 UTC) #14
Luis Héctor Chávez
On 2016/10/12 17:07:34, Yusuke Sato wrote: > https://codereview.chromium.org/2400163003/diff/120001/content/browser/tracing/DEPS > File content/browser/tracing/DEPS (right): > > https://codereview.chromium.org/2400163003/diff/120001/content/browser/tracing/DEPS#newcode11 ...
4 years, 2 months ago (2016-10-12 17:09:30 UTC) #15
Luis Héctor Chávez
On 2016/10/12 17:07:34, Yusuke Sato wrote: > https://codereview.chromium.org/2400163003/diff/120001/content/browser/tracing/DEPS > File content/browser/tracing/DEPS (right): > > https://codereview.chromium.org/2400163003/diff/120001/content/browser/tracing/DEPS#newcode11 ...
4 years, 2 months ago (2016-10-12 17:09:30 UTC) #16
Luis Héctor Chávez
https://codereview.chromium.org/2400163003/diff/120001/components/arc/trace/arc_trace_bridge.h File components/arc/trace/arc_trace_bridge.h (right): https://codereview.chromium.org/2400163003/diff/120001/components/arc/trace/arc_trace_bridge.h#newcode50 components/arc/trace/arc_trace_bridge.h:50: Category(const std::string& name, const std::string& full_name) Can you use ...
4 years, 2 months ago (2016-10-12 17:12:40 UTC) #17
Luis Héctor Chávez
https://codereview.chromium.org/2400163003/diff/120001/components/arc/common/trace.mojom File components/arc/common/trace.mojom (right): https://codereview.chromium.org/2400163003/diff/120001/components/arc/common/trace.mojom#newcode11 components/arc/common/trace.mojom:11: StartTracing@0(array<string> categories) => (bool success); Is there any chance ...
4 years, 2 months ago (2016-10-12 20:32:07 UTC) #18
shunhsingou
Add achuith@ (owner of /chromeos) and dsinclair (owner of /content/browser/trace) to see if there is ...
4 years, 2 months ago (2016-10-13 03:44:57 UTC) #20
dsinclair
Adding oysteine@ and primiano@ as they maybe able to help work out the layering requirements.
4 years, 2 months ago (2016-10-13 12:59:08 UTC) #22
Yusuke Sato
shunhsingou, did you get any suggestion? If you haven't, how about this: * Move the ...
4 years, 1 month ago (2016-10-27 04:09:10 UTC) #23
Yusuke Sato
https://codereview.chromium.org/2400163003/diff/120001/components/arc/trace/arc_trace_bridge.h File components/arc/trace/arc_trace_bridge.h (right): https://codereview.chromium.org/2400163003/diff/120001/components/arc/trace/arc_trace_bridge.h#newcode55 components/arc/trace/arc_trace_bridge.h:55: base::WeakPtrFactory<ArcTraceBridge> weak_ptr_factory_; weak_ptr_factory_ must be the last member variable ...
4 years, 1 month ago (2016-10-27 04:11:24 UTC) #24
shunhsingou
On 2016/10/27 04:09:10, Yusuke Sato wrote: > shunhsingou, did you get any suggestion? If you ...
4 years, 1 month ago (2016-10-27 06:18:58 UTC) #25
shunhsingou
On 2016/10/27 06:18:58, shunhsingou wrote: > On 2016/10/27 04:09:10, Yusuke Sato wrote: > > shunhsingou, ...
4 years, 1 month ago (2016-10-27 06:20:45 UTC) #26
Yusuke Sato
On 2016/10/27 06:20:45, shunhsingou wrote: > On 2016/10/27 06:18:58, shunhsingou wrote: > > On 2016/10/27 ...
4 years, 1 month ago (2016-11-02 23:16:58 UTC) #28
shunhsingou
On 2016/11/02 23:16:58, Yusuke Sato wrote: > On 2016/10/27 06:20:45, shunhsingou wrote: > > On ...
4 years, 1 month ago (2016-11-03 02:14:30 UTC) #29
shunhsingou
On 2016/11/03 02:14:30, shunhsingou wrote: > On 2016/11/02 23:16:58, Yusuke Sato wrote: > > On ...
4 years ago (2016-12-21 09:36:48 UTC) #31
shunhsingou
The dependency is fixed as: - Put ArcTraceBridge in chrome/browser/chromeos - Remove SysTraceAgent, and put ...
4 years ago (2016-12-22 04:04:35 UTC) #37
Luis Héctor Chávez
first round https://codereview.chromium.org/2400163003/diff/160001/chrome/browser/chromeos/arc/trace/arc_trace_bridge.cc File chrome/browser/chromeos/arc/trace/arc_trace_bridge.cc (right): https://codereview.chromium.org/2400163003/diff/160001/chrome/browser/chromeos/arc/trace/arc_trace_bridge.cc#newcode24 chrome/browser/chromeos/arc/trace/arc_trace_bridge.cc:24: } // namcespace nit: s/namcespace/namespace/ https://codereview.chromium.org/2400163003/diff/160001/chrome/browser/chromeos/arc/trace/arc_trace_bridge.cc#newcode33 chrome/browser/chromeos/arc/trace/arc_trace_bridge.cc:33: ...
3 years, 11 months ago (2016-12-27 19:16:00 UTC) #39
shunhsingou
https://codereview.chromium.org/2400163003/diff/160001/chrome/browser/chromeos/arc/trace/arc_trace_bridge.cc File chrome/browser/chromeos/arc/trace/arc_trace_bridge.cc (right): https://codereview.chromium.org/2400163003/diff/160001/chrome/browser/chromeos/arc/trace/arc_trace_bridge.cc#newcode24 chrome/browser/chromeos/arc/trace/arc_trace_bridge.cc:24: } // namcespace On 2016/12/27 19:15:58, Luis Héctor Chávez ...
3 years, 11 months ago (2016-12-28 09:15:16 UTC) #40
Luis Héctor Chávez
Second round, will now go through the rest of the changes. https://codereview.chromium.org/2400163003/diff/160001/chromeos/dbus/arc_trace_agent.cc File chromeos/dbus/arc_trace_agent.cc (right): ...
3 years, 11 months ago (2016-12-28 17:21:58 UTC) #41
shunhsingou
https://codereview.chromium.org/2400163003/diff/160001/chromeos/dbus/arc_trace_agent.cc File chromeos/dbus/arc_trace_agent.cc (right): https://codereview.chromium.org/2400163003/diff/160001/chromeos/dbus/arc_trace_agent.cc#newcode85 chromeos/dbus/arc_trace_agent.cc:85: base::ScopedFD pipe_write_end = pipe_reader_->StartIO(); On 2016/12/28 17:21:58, Luis Héctor ...
3 years, 11 months ago (2016-12-29 09:40:30 UTC) #42
Yusuke Sato
Sorry for the delay. Was on vacation. Some cleanup requests below, but overall lg: https://codereview.chromium.org/2400163003/diff/240001/chrome/browser/chromeos/arc/arc_service_launcher.cc ...
3 years, 11 months ago (2017-01-04 23:55:48 UTC) #43
Yusuke Sato
Please also update the URL for the platform/cheets-scripts patch.
3 years, 11 months ago (2017-01-05 00:06:44 UTC) #44
shunhsingou
As discussed in https://docs.google.com/document/d/1VhM-VEdAFi6JS96VEj6-MFVGs4bpWELDpqi0lPlYiwg/edit?disco=AAAAA5VwqC4. I will try to get rid of dbus (debugd) first.
3 years, 11 months ago (2017-01-05 04:17:25 UTC) #45
Earl Ou
Finally done moving the read end from debugd to the native service in Android. https://codereview.chromium.org/2400163003/diff/240001/chrome/browser/chromeos/arc/arc_service_launcher.cc ...
3 years, 11 months ago (2017-01-16 14:05:48 UTC) #48
Luis Héctor Chávez
https://codereview.chromium.org/2400163003/diff/280001/chrome/browser/chromeos/arc/arc_service_launcher.cc File chrome/browser/chromeos/arc/arc_service_launcher.cc (right): https://codereview.chromium.org/2400163003/diff/280001/chrome/browser/chromeos/arc/arc_service_launcher.cc#newcode30 chrome/browser/chromeos/arc/arc_service_launcher.cc:30: #include "chromeos/trace/arc_trace_agent.h" This seems to be unused. https://codereview.chromium.org/2400163003/diff/280001/chrome/browser/chromeos/arc/trace/arc_trace_bridge.h File ...
3 years, 11 months ago (2017-01-17 19:20:32 UTC) #49
Yusuke Sato
https://codereview.chromium.org/2400163003/diff/280001/chrome/browser/chromeos/arc/trace/arc_trace_bridge.cc File chrome/browser/chromeos/arc/trace/arc_trace_bridge.cc (right): https://codereview.chromium.org/2400163003/diff/280001/chrome/browser/chromeos/arc/trace/arc_trace_bridge.cc#newcode29 chrome/browser/chromeos/arc/trace/arc_trace_bridge.cc:29: arc_bridge_service()->trace()->RemoveObserver(this); swap L29 and L30 to do the removal ...
3 years, 11 months ago (2017-01-17 22:17:21 UTC) #50
Earl Ou
https://codereview.chromium.org/2400163003/diff/280001/chrome/browser/chromeos/arc/arc_service_launcher.cc File chrome/browser/chromeos/arc/arc_service_launcher.cc (right): https://codereview.chromium.org/2400163003/diff/280001/chrome/browser/chromeos/arc/arc_service_launcher.cc#newcode30 chrome/browser/chromeos/arc/arc_service_launcher.cc:30: #include "chromeos/trace/arc_trace_agent.h" On 2017/01/17 19:20:32, Luis Héctor Chávez wrote: ...
3 years, 11 months ago (2017-01-18 09:13:21 UTC) #51
Luis Héctor Chávez
https://codereview.chromium.org/2400163003/diff/280001/components/arc/common/trace.mojom File components/arc/common/trace.mojom (right): https://codereview.chromium.org/2400163003/diff/280001/components/arc/common/trace.mojom#newcode17 components/arc/common/trace.mojom:17: StopTracing@2() => (string report); On 2017/01/18 09:13:21, shunhsingou1 wrote: ...
3 years, 11 months ago (2017-01-18 17:31:32 UTC) #53
Yusuke Sato
https://codereview.chromium.org/2400163003/diff/320001/chrome/browser/chromeos/arc/trace/arc_trace_bridge.cc File chrome/browser/chromeos/arc/trace/arc_trace_bridge.cc (right): https://codereview.chromium.org/2400163003/diff/320001/chrome/browser/chromeos/arc/trace/arc_trace_bridge.cc#newcode91 chrome/browser/chromeos/arc/trace/arc_trace_bridge.cc:91: callback.Run(""); So PostTask is not needed here right? Can ...
3 years, 11 months ago (2017-01-19 23:06:19 UTC) #54
Earl Ou
Done fixing nits. Still trying to send FD to through Mojo so we can deal ...
3 years, 11 months ago (2017-01-25 03:50:59 UTC) #56
Luis Héctor Chávez
i'm a bit worried about the fact that we're now parsing stuff in Chrome. That'll ...
3 years, 10 months ago (2017-02-10 17:43:55 UTC) #58
Luis Héctor Chávez
https://codereview.chromium.org/2400163003/diff/380001/chrome/browser/chromeos/arc/trace/arc_trace_reader.cc File chrome/browser/chromeos/arc/trace/arc_trace_reader.cc (right): https://codereview.chromium.org/2400163003/diff/380001/chrome/browser/chromeos/arc/trace/arc_trace_reader.cc#newcode113 chrome/browser/chromeos/arc/trace/arc_trace_reader.cc:113: // TODO(shunshingou): run the following in a separated thread ...
3 years, 10 months ago (2017-02-10 17:48:03 UTC) #59
Luis Héctor Chávez
https://codereview.chromium.org/2400163003/diff/380001/chrome/browser/chromeos/arc/trace/arc_trace_reader.cc File chrome/browser/chromeos/arc/trace/arc_trace_reader.cc (right): https://codereview.chromium.org/2400163003/diff/380001/chrome/browser/chromeos/arc/trace/arc_trace_reader.cc#newcode66 chrome/browser/chromeos/arc/trace/arc_trace_reader.cc:66: ret = TEMP_FAILURE_RETRY(read(input_fd_.get(), buf, sizeof(buf) - 1)); in any ...
3 years, 10 months ago (2017-02-10 23:16:52 UTC) #60
Earl Ou
Move the tracing trigger part to crrev.com/2699833003 so we can work on that first. The ...
3 years, 10 months ago (2017-02-16 08:35:15 UTC) #63
achuithb
Removing self as reviewer as there are plenty of eyes on this
3 years, 10 months ago (2017-02-16 09:07:37 UTC) #64
Earl Ou
https://codereview.chromium.org/2400163003/diff/380001/chrome/browser/chromeos/arc/trace/arc_trace_reader.cc File chrome/browser/chromeos/arc/trace/arc_trace_reader.cc (right): https://codereview.chromium.org/2400163003/diff/380001/chrome/browser/chromeos/arc/trace/arc_trace_reader.cc#newcode113 chrome/browser/chromeos/arc/trace/arc_trace_reader.cc:113: // TODO(shunshingou): run the following in a separated thread ...
3 years, 10 months ago (2017-02-16 09:56:46 UTC) #65
shunhsingou
On 2017/02/16 09:56:46, Earl Ou wrote: > https://codereview.chromium.org/2400163003/diff/380001/chrome/browser/chromeos/arc/trace/arc_trace_reader.cc > File chrome/browser/chromeos/arc/trace/arc_trace_reader.cc (right): > > https://codereview.chromium.org/2400163003/diff/380001/chrome/browser/chromeos/arc/trace/arc_trace_reader.cc#newcode113 ...
3 years, 9 months ago (2017-03-15 14:04:34 UTC) #66
shunhsingou
On 2017/03/15 14:04:34, shunhsingou wrote: > On 2017/02/16 09:56:46, Earl Ou wrote: > > > ...
3 years, 9 months ago (2017-03-15 14:05:22 UTC) #67
shunhsingou
> > Oops. Thanks for catching this. > > > > Uploaded another CL included ...
3 years, 9 months ago (2017-03-15 14:06:59 UTC) #68
Earl Ou
https://codereview.chromium.org/2400163003/diff/380001/chrome/browser/chromeos/BUILD.gn File chrome/browser/chromeos/BUILD.gn (right): https://codereview.chromium.org/2400163003/diff/380001/chrome/browser/chromeos/BUILD.gn#newcode307 chrome/browser/chromeos/BUILD.gn:307: "arc/trace/arc_trace_reader.cc", On 2017/02/10 17:43:54, Luis Héctor Chávez wrote: > ...
3 years, 9 months ago (2017-03-22 11:38:26 UTC) #69
Luis Héctor Chávez
first round https://codereview.chromium.org/2400163003/diff/420001/content/browser/tracing/arc_tracing_agent.cc File content/browser/tracing/arc_tracing_agent.cc (right): https://codereview.chromium.org/2400163003/diff/420001/content/browser/tracing/arc_tracing_agent.cc#newcode34 content/browser/tracing/arc_tracing_agent.cc:34: constexpr int kArcTraceMessageLength = 1024 + 512; ...
3 years, 9 months ago (2017-03-22 17:04:58 UTC) #71
Luis Héctor Chávez
https://codereview.chromium.org/2400163003/diff/420001/content/browser/tracing/arc_tracing_agent.cc File content/browser/tracing/arc_tracing_agent.cc (right): https://codereview.chromium.org/2400163003/diff/420001/content/browser/tracing/arc_tracing_agent.cc#newcode180 content/browser/tracing/arc_tracing_agent.cc:180: close(read_fd_.release()); nit: read_fd_.reset(); https://codereview.chromium.org/2400163003/diff/420001/content/browser/tracing/arc_tracing_agent.cc#newcode182 content/browser/tracing/arc_tracing_agent.cc:182: fd_watcher_.reset(nullptr); nit: fd_watcher_.reset();
3 years, 9 months ago (2017-03-22 18:09:34 UTC) #72
Luis Héctor Chávez
https://codereview.chromium.org/2400163003/diff/420001/content/browser/tracing/arc_tracing_agent.cc File content/browser/tracing/arc_tracing_agent.cc (right): https://codereview.chromium.org/2400163003/diff/420001/content/browser/tracing/arc_tracing_agent.cc#newcode133 content/browser/tracing/arc_tracing_agent.cc:133: memcpy(data, buf, n + 1); You need to add ...
3 years, 9 months ago (2017-03-22 18:23:04 UTC) #73
shunhsingou
https://codereview.chromium.org/2400163003/diff/420001/content/browser/tracing/arc_tracing_agent.cc File content/browser/tracing/arc_tracing_agent.cc (right): https://codereview.chromium.org/2400163003/diff/420001/content/browser/tracing/arc_tracing_agent.cc#newcode34 content/browser/tracing/arc_tracing_agent.cc:34: constexpr int kArcTraceMessageLength = 1024 + 512; On 2017/03/22 ...
3 years, 8 months ago (2017-03-28 13:54:15 UTC) #74
Luis Héctor Chávez
https://codereview.chromium.org/2400163003/diff/480001/content/browser/tracing/arc_tracing_agent.cc File content/browser/tracing/arc_tracing_agent.cc (right): https://codereview.chromium.org/2400163003/diff/480001/content/browser/tracing/arc_tracing_agent.cc#newcode53 content/browser/tracing/arc_tracing_agent.cc:53: void StartTracing(int read_fd) { As mentioned below, make this ...
3 years, 8 months ago (2017-04-04 17:28:35 UTC) #75
shunhsingou
https://codereview.chromium.org/2400163003/diff/480001/content/browser/tracing/arc_tracing_agent.cc File content/browser/tracing/arc_tracing_agent.cc (right): https://codereview.chromium.org/2400163003/diff/480001/content/browser/tracing/arc_tracing_agent.cc#newcode53 content/browser/tracing/arc_tracing_agent.cc:53: void StartTracing(int read_fd) { On 2017/04/04 17:28:35, Luis Héctor ...
3 years, 8 months ago (2017-04-05 03:41:51 UTC) #76
shunhsingou
https://codereview.chromium.org/2400163003/diff/480001/content/browser/tracing/arc_tracing_agent.cc File content/browser/tracing/arc_tracing_agent.cc (right): https://codereview.chromium.org/2400163003/diff/480001/content/browser/tracing/arc_tracing_agent.cc#newcode68 content/browser/tracing/arc_tracing_agent.cc:68: char buf[kArcTraceMessageLength + 1]; On 2017/04/04 17:28:35, Luis Héctor ...
3 years, 8 months ago (2017-04-05 03:42:46 UTC) #77
shunhsingou
+dsinclair for changes in content/browser/tracing/* +dcheng for changes in components/arc/common/tracing.mojom
3 years, 8 months ago (2017-04-05 05:19:02 UTC) #79
dsinclair
I think oystein@ is in a better position to review the tracing bits then myself.
3 years, 8 months ago (2017-04-05 19:50:06 UTC) #80
Luis Héctor Chávez
https://codereview.chromium.org/2400163003/diff/500001/chrome/browser/chromeos/arc/tracing/arc_tracing_bridge.cc File chrome/browser/chromeos/arc/tracing/arc_tracing_bridge.cc (right): https://codereview.chromium.org/2400163003/diff/500001/chrome/browser/chromeos/arc/tracing/arc_tracing_bridge.cc#newcode63 chrome/browser/chromeos/arc/tracing/arc_tracing_bridge.cc:63: categories_.emplace_back(Category({category, kCategoryPrefix + category})); Does categories_.emplace_back({...}) work? Otherwise categories_.emplace_back(Category{...}) ...
3 years, 8 months ago (2017-04-06 00:59:08 UTC) #81
Earl Ou
https://codereview.chromium.org/2400163003/diff/500001/chrome/browser/chromeos/arc/tracing/arc_tracing_bridge.cc File chrome/browser/chromeos/arc/tracing/arc_tracing_bridge.cc (right): https://codereview.chromium.org/2400163003/diff/500001/chrome/browser/chromeos/arc/tracing/arc_tracing_bridge.cc#newcode63 chrome/browser/chromeos/arc/tracing/arc_tracing_bridge.cc:63: categories_.emplace_back(Category({category, kCategoryPrefix + category})); On 2017/04/06 00:59:08, Luis Héctor ...
3 years, 8 months ago (2017-04-06 04:49:20 UTC) #82
dcheng
https://codereview.chromium.org/2400163003/diff/520001/components/arc/common/tracing.mojom File components/arc/common/tracing.mojom (right): https://codereview.chromium.org/2400163003/diff/520001/components/arc/common/tracing.mojom#newcode16 components/arc/common/tracing.mojom:16: StartTracing@1(array<string> categories, handle sock) => (bool success); Nit: sock ...
3 years, 8 months ago (2017-04-06 06:14:14 UTC) #84
shunhsingou
https://codereview.chromium.org/2400163003/diff/520001/components/arc/common/tracing.mojom File components/arc/common/tracing.mojom (right): https://codereview.chromium.org/2400163003/diff/520001/components/arc/common/tracing.mojom#newcode16 components/arc/common/tracing.mojom:16: StartTracing@1(array<string> categories, handle sock) => (bool success); On 2017/04/06 ...
3 years, 8 months ago (2017-04-06 08:42:28 UTC) #85
shunhsingou
The latest patch: 1. Remove the parsing of JSON to avoid security issue. 2. Use ...
3 years, 8 months ago (2017-04-06 10:27:27 UTC) #86
Luis Héctor Chávez
question for dcheng@: I suggested doing the JSON parsing to more or less spot-check that ...
3 years, 8 months ago (2017-04-07 16:17:46 UTC) #87
dcheng
mojo lgtm On 2017/04/07 16:17:46, Luis Héctor Chávez wrote: > question for dcheng@: I suggested ...
3 years, 8 months ago (2017-04-07 17:58:29 UTC) #88
oystein (OOO til 10th of July)
https://codereview.chromium.org/2400163003/diff/580001/content/browser/tracing/arc_tracing_agent.cc File content/browser/tracing/arc_tracing_agent.cc (right): https://codereview.chromium.org/2400163003/diff/580001/content/browser/tracing/arc_tracing_agent.cc#newcode34 content/browser/tracing/arc_tracing_agent.cc:34: constexpr size_t kArcTraceMessageLength = 1024 + 512; Can you ...
3 years, 8 months ago (2017-04-07 18:31:41 UTC) #89
oystein (OOO til 10th of July)
3 years, 8 months ago (2017-04-07 18:31:42 UTC) #90
oystein (OOO til 10th of July)
On 2017/04/07 at 17:58:29, dcheng wrote: > mojo lgtm > > On 2017/04/07 16:17:46, Luis ...
3 years, 8 months ago (2017-04-07 18:35:34 UTC) #91
dcheng
On 2017/04/07 18:35:34, oystein wrote: > On 2017/04/07 at 17:58:29, dcheng wrote: > > mojo ...
3 years, 8 months ago (2017-04-07 18:40:37 UTC) #92
achuithb
3 years, 8 months ago (2017-04-07 23:04:04 UTC) #93
Earl Ou
https://codereview.chromium.org/2400163003/diff/500001/content/browser/tracing/arc_tracing_agent.cc File content/browser/tracing/arc_tracing_agent.cc (right): https://codereview.chromium.org/2400163003/diff/500001/content/browser/tracing/arc_tracing_agent.cc#newcode250 content/browser/tracing/arc_tracing_agent.cc:250: base::Unretained(this), callback)); On 2017/04/07 16:17:46, Luis Héctor Chávez wrote: ...
3 years, 8 months ago (2017-04-08 14:48:18 UTC) #94
Luis Héctor Chávez
https://codereview.chromium.org/2400163003/diff/620001/components/arc/common/tracing.mojom File components/arc/common/tracing.mojom (right): https://codereview.chromium.org/2400163003/diff/620001/components/arc/common/tracing.mojom#newcode5 components/arc/common/tracing.mojom:5: // Next MinVersion: 1 Next MinVersion: 2 https://codereview.chromium.org/2400163003/diff/620001/components/arc/common/tracing.mojom#newcode16 components/arc/common/tracing.mojom:16: ...
3 years, 8 months ago (2017-04-13 21:37:52 UTC) #95
Earl Ou
https://codereview.chromium.org/2400163003/diff/620001/components/arc/common/tracing.mojom File components/arc/common/tracing.mojom (right): https://codereview.chromium.org/2400163003/diff/620001/components/arc/common/tracing.mojom#newcode16 components/arc/common/tracing.mojom:16: StartTracing@1(array<string> categories, handle socket) => (bool success); On 2017/04/13 ...
3 years, 8 months ago (2017-04-14 22:37:38 UTC) #96
Luis Héctor Chávez
https://codereview.chromium.org/2400163003/diff/620001/components/arc/common/tracing.mojom File components/arc/common/tracing.mojom (right): https://codereview.chromium.org/2400163003/diff/620001/components/arc/common/tracing.mojom#newcode16 components/arc/common/tracing.mojom:16: StartTracing@1(array<string> categories, handle socket) => (bool success); On 2017/04/14 ...
3 years, 8 months ago (2017-04-15 05:34:19 UTC) #97
Earl Ou
https://codereview.chromium.org/2400163003/diff/620001/components/arc/common/tracing.mojom File components/arc/common/tracing.mojom (right): https://codereview.chromium.org/2400163003/diff/620001/components/arc/common/tracing.mojom#newcode5 components/arc/common/tracing.mojom:5: // Next MinVersion: 1 On 2017/04/13 21:37:52, Luis Héctor ...
3 years, 8 months ago (2017-04-15 20:05:52 UTC) #98
Luis Héctor Chávez
*/arc/* lgtm thanks for your hard work!
3 years, 8 months ago (2017-04-17 15:37:27 UTC) #99
Earl Ou
On 2017/04/17 15:37:27, Luis Héctor Chávez wrote: > */arc/* lgtm > > thanks for your ...
3 years, 8 months ago (2017-04-17 21:10:46 UTC) #100
oystein (OOO til 10th of July)
Thanks! tracing lgtm w/ a tiny nit :) https://codereview.chromium.org/2400163003/diff/660001/content/browser/tracing/arc_tracing_agent.cc File content/browser/tracing/arc_tracing_agent.cc (right): https://codereview.chromium.org/2400163003/diff/660001/content/browser/tracing/arc_tracing_agent.cc#newcode33 content/browser/tracing/arc_tracing_agent.cc:33: // ...
3 years, 8 months ago (2017-04-17 21:43:39 UTC) #101
Earl Ou
Thanks! https://codereview.chromium.org/2400163003/diff/660001/content/browser/tracing/arc_tracing_agent.cc File content/browser/tracing/arc_tracing_agent.cc (right): https://codereview.chromium.org/2400163003/diff/660001/content/browser/tracing/arc_tracing_agent.cc#newcode33 content/browser/tracing/arc_tracing_agent.cc:33: // have additional data field. On 2017/04/17 21:43:39, ...
3 years, 8 months ago (2017-04-17 22:03:56 UTC) #102
Earl Ou
+clamy for //content Hi Camille, Could you help reviewing the changing of //content/browser/BUILD.gn? Thanks!
3 years, 8 months ago (2017-04-24 20:49:14 UTC) #119
clamy
On 2017/04/24 20:49:14, Earl Ou wrote: > +clamy for //content > > Hi Camille, > ...
3 years, 8 months ago (2017-04-25 12:30:14 UTC) #120
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/2400163003/720001
3 years, 7 months ago (2017-05-01 08:56:51 UTC) #123
commit-bot: I haz the power
3 years, 7 months ago (2017-05-01 10:42:22 UTC) #126
Message was sent while issue was closed.
Committed patchset #37 (id:720001) as
https://chromium.googlesource.com/chromium/src/+/7092984694bd56fc05488582a93a...

Powered by Google App Engine
This is Rietveld 408576698