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

Issue 12221047: Support JellyBean MR2 style of systrace (Closed)

Created:
7 years, 10 months ago by Xianzhu
Modified:
7 years, 10 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, erikwright+watch_chromium.org, jam, klobag.chromium, nduca
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Support JellyBean MR2 style of systrace JB MR2 systrace.py combined the steps of trace tags settings and trace collection into one step, so we need to react to the change of trace tags settings to enable/disable atrace in chrome. The change also benefit pre-JB-MR2 systems that we don't need to restart chrome after changing the trace tags settings in Developer options. However, we still need "adb shell stop; adb shell start" if we set the trace tags using pre-JB-MR2 systrace.py. BUG=173954 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=182739

Patch Set 1 #

Total comments: 4

Patch Set 2 : Fix nits #

Total comments: 2

Patch Set 3 : For landing #

Unified diffs Side-by-side diffs Delta from patch set Stats (+69 lines, -15 lines) Patch
M base/debug/trace_event_android.cc View 2 chunks +17 lines, -6 lines 0 comments Download
M base/debug/trace_event_impl.h View 1 chunk +2 lines, -1 line 0 comments Download
M content/common/android/trace_event_binding.cc View 1 chunk +6 lines, -2 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/common/TraceEvent.java View 1 2 3 chunks +44 lines, -6 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
Xianzhu
7 years, 10 months ago (2013-02-06 19:24:03 UTC) #1
klobag.chromium
"adb shell stop/start" will restart the android runtime. Can we avoid it? e.g. keep the ...
7 years, 10 months ago (2013-02-08 02:31:32 UTC) #2
Xianzhu
On 2013/02/08 02:31:32, klobag.chromium wrote: > "adb shell stop/start" will restart the android runtime. Can ...
7 years, 10 months ago (2013-02-08 02:41:11 UTC) #3
Xianzhu
Jay & Grace, does this patch lgty?
7 years, 10 months ago (2013-02-12 21:58:44 UTC) #4
Jay Civelli
https://codereview.chromium.org/12221047/diff/1/content/public/android/java/src/org/chromium/content/common/TraceEvent.java File content/public/android/java/src/org/chromium/content/common/TraceEvent.java (right): https://codereview.chromium.org/12221047/diff/1/content/public/android/java/src/org/chromium/content/common/TraceEvent.java#newcode77 content/public/android/java/src/org/chromium/content/common/TraceEvent.java:77: String propertyTraceTagEnableFlags = (String)traceClass.getField( Nit: missing space after (String) ...
7 years, 10 months ago (2013-02-13 18:24:02 UTC) #5
Xianzhu
Add jar@ for base/debug/. https://codereview.chromium.org/12221047/diff/1/content/public/android/java/src/org/chromium/content/common/TraceEvent.java File content/public/android/java/src/org/chromium/content/common/TraceEvent.java (right): https://codereview.chromium.org/12221047/diff/1/content/public/android/java/src/org/chromium/content/common/TraceEvent.java#newcode77 content/public/android/java/src/org/chromium/content/common/TraceEvent.java:77: String propertyTraceTagEnableFlags = (String)traceClass.getField( On ...
7 years, 10 months ago (2013-02-13 21:50:17 UTC) #6
Xianzhu
ping...
7 years, 10 months ago (2013-02-14 17:26:58 UTC) #7
jar (doing other things)
patch set 2, base LGTM
7 years, 10 months ago (2013-02-14 17:39:43 UTC) #8
Jay Civelli
LGTM https://chromiumcodereview.appspot.com/12221047/diff/7001/content/public/android/java/src/org/chromium/content/common/TraceEvent.java File content/public/android/java/src/org/chromium/content/common/TraceEvent.java (right): https://chromiumcodereview.appspot.com/12221047/diff/7001/content/public/android/java/src/org/chromium/content/common/TraceEvent.java#newcode81 content/public/android/java/src/org/chromium/content/common/TraceEvent.java:81: Method systemPropertiesGetIntMethod = systemPropertiesClass.getDeclaredMethod( Nit: rename systemPropertiesGetLongMethod
7 years, 10 months ago (2013-02-14 17:56:28 UTC) #9
Xianzhu
https://chromiumcodereview.appspot.com/12221047/diff/7001/content/public/android/java/src/org/chromium/content/common/TraceEvent.java File content/public/android/java/src/org/chromium/content/common/TraceEvent.java (right): https://chromiumcodereview.appspot.com/12221047/diff/7001/content/public/android/java/src/org/chromium/content/common/TraceEvent.java#newcode81 content/public/android/java/src/org/chromium/content/common/TraceEvent.java:81: Method systemPropertiesGetIntMethod = systemPropertiesClass.getDeclaredMethod( On 2013/02/14 17:56:28, Jay Civelli ...
7 years, 10 months ago (2013-02-14 18:00:55 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wangxianzhu@chromium.org/12221047/10003
7 years, 10 months ago (2013-02-14 18:02:54 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wangxianzhu@chromium.org/12221047/10003
7 years, 10 months ago (2013-02-14 22:19:18 UTC) #12
commit-bot: I haz the power
Retried try job too often on win7_aura for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win7_aura&number=11132
7 years, 10 months ago (2013-02-15 11:28:11 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wangxianzhu@chromium.org/12221047/10003
7 years, 10 months ago (2013-02-15 17:05:38 UTC) #14
commit-bot: I haz the power
7 years, 10 months ago (2013-02-15 17:24:45 UTC) #15
Message was sent while issue was closed.
Change committed as 182739

Powered by Google App Engine
This is Rietveld 408576698