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

Issue 257093004: [Android] Add an option to view the tracing record categories when running from python script. (Closed)

Created:
6 years, 7 months ago by r.kasibhatla
Modified:
6 years, 7 months ago
CC:
chromium-reviews, jam, bulach+watch_chromium.org, yfriedman+watch_chromium.org, ilevy-cc_chromium.org, darin-cc_chromium.org, klundberg+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

[Android] Add an option to view the tracing record categories when running from python script. There is no way to see/list the categories present for recording the chrome traces (when running from adb_profile_chrome.py) unlike the UI. Adding the "list" command for --categories option, to keep the usage same as with systrace option. Usage: build/android/adb_profile_chrome --categories list BUG=366679 TESTS=To be added. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=268841

Patch Set 1 #

Patch Set 2 : Minor style cleanup! #

Total comments: 4

Patch Set 3 : Reworked patch! #

Total comments: 14

Patch Set 4 : Rework! #

Unified diffs Side-by-side diffs Delta from patch set Stats (+98 lines, -5 lines) Patch
M build/android/adb_profile_chrome.py View 1 2 3 5 chunks +44 lines, -2 lines 0 comments Download
M content/browser/android/tracing_controller_android.h View 1 2 chunks +5 lines, -0 lines 0 comments Download
M content/browser/android/tracing_controller_android.cc View 1 2 2 chunks +26 lines, -0 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/TracingControllerAndroid.java View 1 2 3 7 chunks +23 lines, -3 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
r.kasibhatla
PTAL.
6 years, 7 months ago (2014-05-05 08:54:26 UTC) #1
r.kasibhatla
PTAL.
6 years, 7 months ago (2014-05-05 09:17:25 UTC) #2
Xianzhu
https://codereview.chromium.org/257093004/diff/40001/build/android/adb_profile_chrome.py File build/android/adb_profile_chrome.py (right): https://codereview.chromium.org/257093004/diff/40001/build/android/adb_profile_chrome.py#newcode62 build/android/adb_profile_chrome.py:62: category_list = device.old_interface.WaitForLogMatch( You may want to use 'import ...
6 years, 7 months ago (2014-05-05 16:32:21 UTC) #3
r.kasibhatla
PTAL. https://codereview.chromium.org/257093004/diff/40001/build/android/adb_profile_chrome.py File build/android/adb_profile_chrome.py (right): https://codereview.chromium.org/257093004/diff/40001/build/android/adb_profile_chrome.py#newcode62 build/android/adb_profile_chrome.py:62: category_list = device.old_interface.WaitForLogMatch( On 2014/05/05 16:32:21, Xianzhu wrote: ...
6 years, 7 months ago (2014-05-06 11:04:05 UTC) #4
Sami
Thanks, this is useful stuff! A few comments below. https://codereview.chromium.org/257093004/diff/80001/build/android/adb_profile_chrome.py File build/android/adb_profile_chrome.py (right): https://codereview.chromium.org/257093004/diff/80001/build/android/adb_profile_chrome.py#newcode75 build/android/adb_profile_chrome.py:75: ...
6 years, 7 months ago (2014-05-06 14:29:51 UTC) #5
r.kasibhatla
Updated as per review comments. https://codereview.chromium.org/257093004/diff/80001/build/android/adb_profile_chrome.py File build/android/adb_profile_chrome.py (right): https://codereview.chromium.org/257093004/diff/80001/build/android/adb_profile_chrome.py#newcode75 build/android/adb_profile_chrome.py:75: logging.error('JSON format error') On ...
6 years, 7 months ago (2014-05-06 15:22:28 UTC) #6
Xianzhu
lgtm. Thanks.
6 years, 7 months ago (2014-05-06 16:56:23 UTC) #7
Xianzhu
+Yaron for owner's approval.
6 years, 7 months ago (2014-05-06 17:00:57 UTC) #8
Yaron
lgtm
6 years, 7 months ago (2014-05-06 17:41:07 UTC) #9
r.kasibhatla
The CQ bit was checked by r.kasibhatla@samsung.com
6 years, 7 months ago (2014-05-06 17:44:15 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/r.kasibhatla@samsung.com/257093004/100001
6 years, 7 months ago (2014-05-06 17:44:56 UTC) #11
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-06 23:33:14 UTC) #12
r.kasibhatla
The CQ bit was unchecked by r.kasibhatla@samsung.com
6 years, 7 months ago (2014-05-07 05:16:22 UTC) #13
r.kasibhatla
The CQ bit was checked by r.kasibhatla@samsung.com
6 years, 7 months ago (2014-05-07 05:16:24 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/r.kasibhatla@samsung.com/257093004/100001
6 years, 7 months ago (2014-05-07 05:17:28 UTC) #15
r.kasibhatla
The CQ bit was unchecked by r.kasibhatla@samsung.com
6 years, 7 months ago (2014-05-07 09:08:32 UTC) #16
r.kasibhatla
The CQ bit was checked by r.kasibhatla@samsung.com
6 years, 7 months ago (2014-05-07 09:08:45 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/r.kasibhatla@samsung.com/257093004/100001
6 years, 7 months ago (2014-05-07 09:12:36 UTC) #18
commit-bot: I haz the power
6 years, 7 months ago (2014-05-07 17:37:24 UTC) #19
Message was sent while issue was closed.
Change committed as 268841

Powered by Google App Engine
This is Rietveld 408576698