Граф коммитов

9 Коммитов

Автор SHA1 Сообщение Дата
jbudorick@chromium.org 41ed360447 Revert of Enable presubmit pylint in build/android. (https://codereview.chromium.org/132463007/)
Reason for revert:
This patch is probably the cause of crbug.com/342539.

Original issue's description:
> Enable presubmit pylint in build/android.
> 
> BUG=168518
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=249793

TBR=craigdh@chromium.org,frankf@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=168518

Review URL: https://codereview.chromium.org/153743008

git-svn-id: http://src.chromium.org/svn/trunk/src/build@250269 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-11 01:47:41 +00:00
jbudorick@chromium.org 3d8bcfb710 Enable presubmit pylint in build/android.
BUG=168518

Review URL: https://codereview.chromium.org/132463007

git-svn-id: http://src.chromium.org/svn/trunk/src/build@249793 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-07 21:34:23 +00:00
skyostil@chromium.org 2ffdafe6e8 android: Add support for html-packaged trace files to adb_profile_chrome
Add support for html-packaged trace files to adb_profile_chrome. The
--html option will cause the trace file to be serialized into an html
file that contains a snapshot of the Trace Viewer from the Chromium
source tree. The resulting file has no other dependencies and therefore
does not require a specific version of Chrome for viewing.

This patch also adds the --view option for automatically opening the
written trace file in a browser.

NOTRY=true

Review URL: https://codereview.chromium.org/48733003

git-svn-id: http://src.chromium.org/svn/trunk/src/build@231333 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-10-28 15:39:35 +00:00
wangxianzhu@chromium.org a9e3a7c935 Use CategoryFilter::kDefaultCategoryFilterString instead of "*" as the default category
NOTRY=true (passed presubmit and android try bots)
R=skyostil@chromium.org, yfriedman@chromium.org

Review URL: https://codereview.chromium.org/26358012

git-svn-id: http://src.chromium.org/svn/trunk/src/build@229195 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-10-17 19:12:17 +00:00
skyostil@chromium.org 3fad5cb601 telemetry: Add Android Systrace profiler
Add support for capturing Android Systrace profiles in telemetry. The
resulting profile will contain events from both the Chrome trace as well
as systrace.
    
TEST=tools/perf/run_benchmark run --profiler=android-systrace --browser=android-chrome smoothness.top_25 --page-filter=facebook

Review URL: https://codereview.chromium.org/25883003

git-svn-id: http://src.chromium.org/svn/trunk/src/build@229130 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-10-17 15:05:19 +00:00
skyostil@chromium.org 8a5bc10e78 android: Actually compress traces written to zip files
BUG=294883
NOTRY=true

Review URL: https://codereview.chromium.org/27319002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@228894 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-10-16 10:49:11 +00:00
skyostil@chromium.org a979e2ba3a android: Add systrace and combined trace support to adb_profile_chrome
This patch adds systrace support to adb_profile_chrome. You can either
either capture a standalone systrace or a combined Chrome + systrace
which includes data from both sources.

The advantages of a combined trace compared to a normal systrace with
the 'webview' category are:

 - Support for advanced Chrome trace features such as object dumps
   (e.g., --trace-cc and --trace-gpu), instant events ('X') and flow
   events.
 - Reduced tracing overhead since Chrome trace events do not need to
   make the trip through the kernel trace marker file.

Note that viewing combined traces requires some further work in Trace
Viewer to properly align the clocks from different event streams.

This patch also removes the standalone --start, --stop and --download
options from the script because they are of dubious value and supporting
them with systrace is not straightforward.

BUG=294883

Review URL: https://codereview.chromium.org/25686006

git-svn-id: http://src.chromium.org/svn/trunk/src/build@228669 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-10-15 12:10:50 +00:00
skyostil@google.com 6174ec41c1 android: Fix importing pexpect on Mac
We should use the version of pexpect from pylib to make sure we can
import it an all platforms where it is available.

BUG=304337
R=torne@chromium.org

Review URL: https://codereview.chromium.org/26212003

git-svn-id: http://src.chromium.org/svn/trunk/src/build@227946 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-10-10 16:40:31 +00:00
skyostil@chromium.org a33e294a3c android: Reimplement adb_profile_chrome in Python
adb_profile_chrome is used to capture and download traces from Chrome on
Android. To prepare for future feature improvements and reduce the
maintenance burden, rewrite this bash script in Python.

This reimplementation keeps all the features and command line options of
the original and adds these new ones:

  --trace-cc          Enable extra trace categories for compositor frame
                      viewer data.
  --trace-gpu         Enable extra trace categories for GPU data.
  -z, --compress      Compress the resulting trace with gzip.

BUG=299822,294883

Review URL: https://codereview.chromium.org/25044004

git-svn-id: http://src.chromium.org/svn/trunk/src/build@226259 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-10-01 17:45:20 +00:00