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

Issue 643973002: Add multi-architecture support in telemetry. (Closed)

Created:
6 years, 2 months ago by Fabrice (no longer in Chrome)
Modified:
6 years, 2 months ago
Reviewers:
pasko, tonyg, jbudorick, Sami
CC:
chromium-reviews, telemetry+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Add multi-architecture support in telemetry. Cleanup README file. BUG=422291 Committed: https://crrev.com/1d468e04dac216371b96c123b17dd5c2b80935ac Cr-Commit-Position: refs/heads/master@{#299682}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Add full multi-arch support. #

Total comments: 2

Patch Set 3 : Missed a file #

Total comments: 4

Patch Set 4 : Review comment #

Patch Set 5 : Fix trybot failure #

Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -35 lines) Patch
M build/android/pylib/device/device_utils.py View 1 2 3 2 chunks +16 lines, -1 line 0 comments Download
M tools/profile_chrome/perf_controller.py View 1 1 chunk +1 line, -1 line 0 comments Download
M tools/telemetry/bin/README.chromium View 1 chunk +10 lines, -0 lines 0 comments Download
D tools/telemetry/bin/README.txt View 1 chunk +0 lines, -8 lines 0 comments Download
A + tools/telemetry/bin/android/armeabi-v7a/device_forwarder.sha1 View 1 0 chunks +-1 lines, --1 lines 0 comments Download
A + tools/telemetry/bin/android/armeabi-v7a/file_poller.sha1 View 1 0 chunks +-1 lines, --1 lines 0 comments Download
A + tools/telemetry/bin/android/armeabi-v7a/md5sum_bin.sha1 View 1 0 chunks +-1 lines, --1 lines 0 comments Download
A + tools/telemetry/bin/android/armeabi-v7a/perf.sha1 View 1 2 0 chunks +-1 lines, --1 lines 0 comments Download
A + tools/telemetry/bin/android/armeabi-v7a/purge_ashmem.sha1 View 1 0 chunks +-1 lines, --1 lines 0 comments Download
A + tools/telemetry/bin/android/armeabi-v7a/run_pie.sha1 View 1 0 chunks +-1 lines, --1 lines 0 comments Download
A + tools/telemetry/bin/android/armeabi-v7a/tcpdump.sha1 View 1 0 chunks +-1 lines, --1 lines 0 comments Download
D tools/telemetry/bin/android/device_forwarder.sha1 View 1 1 chunk +0 lines, -1 line 0 comments Download
D tools/telemetry/bin/android/file_poller.sha1 View 1 1 chunk +0 lines, -1 line 0 comments Download
D tools/telemetry/bin/android/md5sum_bin.sha1 View 1 1 chunk +0 lines, -1 line 0 comments Download
D tools/telemetry/bin/android/perf.sha1 View 1 chunk +0 lines, -1 line 0 comments Download
D tools/telemetry/bin/android/purge_ashmem.sha1 View 1 1 chunk +0 lines, -1 line 0 comments Download
D tools/telemetry/bin/android/run_pie.sha1 View 1 1 chunk +0 lines, -1 line 0 comments Download
D tools/telemetry/bin/android/tcpdump.sha1 View 1 1 chunk +0 lines, -1 line 0 comments Download
D tools/telemetry/bin/linux/avconv.sha1 View 1 1 chunk +0 lines, -1 line 0 comments Download
D tools/telemetry/bin/linux/bitmaptools.sha1 View 1 1 chunk +0 lines, -1 line 0 comments Download
D tools/telemetry/bin/linux/clear_system_cache.sha1 View 1 1 chunk +0 lines, -1 line 0 comments Download
D tools/telemetry/bin/linux/host_forwarder.sha1 View 1 1 chunk +0 lines, -1 line 0 comments Download
D tools/telemetry/bin/linux/ipfw.sha1 View 1 1 chunk +0 lines, -1 line 0 comments Download
D tools/telemetry/bin/linux/ipfw_mod.ko.sha1 View 1 1 chunk +0 lines, -1 line 0 comments Download
D tools/telemetry/bin/linux/md5sum_bin_host.sha1 View 1 1 chunk +0 lines, -1 line 0 comments Download
D tools/telemetry/bin/linux/minidump_stackwalk.sha1 View 1 1 chunk +0 lines, -1 line 0 comments Download
D tools/telemetry/bin/linux/perfhost.sha1 View 1 1 chunk +0 lines, -1 line 0 comments Download
D tools/telemetry/bin/linux/perfhost_precise.sha1 View 1 1 chunk +0 lines, -1 line 0 comments Download
D tools/telemetry/bin/linux/perfhost_trusty.sha1 View 1 1 chunk +0 lines, -1 line 0 comments Download
A + tools/telemetry/bin/linux/x86_64/avconv.sha1 View 1 0 chunks +-1 lines, --1 lines 0 comments Download
A + tools/telemetry/bin/linux/x86_64/bitmaptools.sha1 View 1 0 chunks +-1 lines, --1 lines 0 comments Download
A + tools/telemetry/bin/linux/x86_64/clear_system_cache.sha1 View 1 0 chunks +-1 lines, --1 lines 0 comments Download
A + tools/telemetry/bin/linux/x86_64/host_forwarder.sha1 View 1 0 chunks +-1 lines, --1 lines 0 comments Download
A + tools/telemetry/bin/linux/x86_64/ipfw.sha1 View 1 0 chunks +-1 lines, --1 lines 0 comments Download
A + tools/telemetry/bin/linux/x86_64/ipfw_mod.ko.sha1 View 1 0 chunks +-1 lines, --1 lines 0 comments Download
A + tools/telemetry/bin/linux/x86_64/md5sum_bin_host.sha1 View 1 0 chunks +-1 lines, --1 lines 0 comments Download
A + tools/telemetry/bin/linux/x86_64/minidump_stackwalk.sha1 View 1 0 chunks +-1 lines, --1 lines 0 comments Download
A + tools/telemetry/bin/linux/x86_64/perfhost.sha1 View 1 0 chunks +-1 lines, --1 lines 0 comments Download
A + tools/telemetry/bin/linux/x86_64/perfhost_precise.sha1 View 1 0 chunks +-1 lines, --1 lines 0 comments Download
A + tools/telemetry/bin/linux/x86_64/perfhost_trusty.sha1 View 1 0 chunks +-1 lines, --1 lines 0 comments Download
D tools/telemetry/bin/mac/HoRNDIS-rel5.pkg.sha1 View 1 1 chunk +0 lines, -1 line 0 comments Download
D tools/telemetry/bin/mac/bitmaptools.sha1 View 1 1 chunk +0 lines, -1 line 0 comments Download
D tools/telemetry/bin/mac/clear_system_cache.sha1 View 1 1 chunk +0 lines, -1 line 0 comments Download
D tools/telemetry/bin/mac/md5sum_bin_host.sha1 View 1 1 chunk +0 lines, -1 line 0 comments Download
D tools/telemetry/bin/mac/minidump_stackwalk.sha1 View 1 1 chunk +0 lines, -1 line 0 comments Download
A + tools/telemetry/bin/mac/x86_64/HoRNDIS-rel5.pkg.sha1 View 1 0 chunks +-1 lines, --1 lines 0 comments Download
A + tools/telemetry/bin/mac/x86_64/bitmaptools.sha1 View 1 0 chunks +-1 lines, --1 lines 0 comments Download
A + tools/telemetry/bin/mac/x86_64/clear_system_cache.sha1 View 1 0 chunks +-1 lines, --1 lines 0 comments Download
A + tools/telemetry/bin/mac/x86_64/md5sum_bin_host.sha1 View 1 0 chunks +-1 lines, --1 lines 0 comments Download
A + tools/telemetry/bin/mac/x86_64/minidump_stackwalk.sha1 View 1 0 chunks +-1 lines, --1 lines 0 comments Download
A + tools/telemetry/bin/win/AMD64/IEDriverServer_32.exe.sha1 View 1 0 chunks +-1 lines, --1 lines 0 comments Download
A + tools/telemetry/bin/win/AMD64/IEDriverServer_64.exe.sha1 View 1 0 chunks +-1 lines, --1 lines 0 comments Download
A + tools/telemetry/bin/win/AMD64/bitmaptools.exe.sha1 View 1 0 chunks +-1 lines, --1 lines 0 comments Download
A + tools/telemetry/bin/win/AMD64/clear_system_cache.exe.sha1 View 1 0 chunks +-1 lines, --1 lines 0 comments Download
A + tools/telemetry/bin/win/AMD64/crash_service.exe.sha1 View 1 0 chunks +-1 lines, --1 lines 0 comments Download
A + tools/telemetry/bin/win/AMD64/ippet.zip.sha1 View 1 0 chunks +-1 lines, --1 lines 0 comments Download
A + tools/telemetry/bin/win/AMD64/winring0.zip.sha1 View 1 0 chunks +-1 lines, --1 lines 0 comments Download
D tools/telemetry/bin/win/IEDriverServer_32.exe.sha1 View 1 1 chunk +0 lines, -1 line 0 comments Download
D tools/telemetry/bin/win/IEDriverServer_64.exe.sha1 View 1 1 chunk +0 lines, -1 line 0 comments Download
D tools/telemetry/bin/win/bitmaptools.exe.sha1 View 1 1 chunk +0 lines, -1 line 0 comments Download
D tools/telemetry/bin/win/clear_system_cache.exe.sha1 View 1 1 chunk +0 lines, -1 line 0 comments Download
D tools/telemetry/bin/win/crash_service.exe.sha1 View 1 1 chunk +0 lines, -1 line 0 comments Download
D tools/telemetry/bin/win/ippet.zip.sha1 View 1 1 chunk +0 lines, -1 line 0 comments Download
D tools/telemetry/bin/win/winring0.zip.sha1 View 1 1 chunk +0 lines, -1 line 0 comments Download
M tools/telemetry/telemetry/core/backends/adb_commands.py View 1 2 chunks +6 lines, -3 lines 0 comments Download
M tools/telemetry/telemetry/core/backends/chrome/desktop_browser_backend.py View 1 2 chunks +5 lines, -2 lines 0 comments Download
M tools/telemetry/telemetry/core/backends/webdriver/webdriver_desktop_browser_finder.py View 1 1 chunk +3 lines, -1 line 0 comments Download
M tools/telemetry/telemetry/core/bitmap.py View 1 1 chunk +3 lines, -1 line 0 comments Download
M tools/telemetry/telemetry/core/platform/__init__.py View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download
M tools/telemetry/telemetry/core/platform/android_platform_backend.py View 1 1 chunk +4 lines, -0 lines 0 comments Download
M tools/telemetry/telemetry/core/platform/desktop_platform_backend.py View 1 1 chunk +1 line, -0 lines 0 comments Download
M tools/telemetry/telemetry/core/platform/linux_platform_backend.py View 1 4 chunks +11 lines, -3 lines 0 comments Download
M tools/telemetry/telemetry/core/platform/mac_platform_backend.py View 1 2 chunks +5 lines, -0 lines 0 comments Download
M tools/telemetry/telemetry/core/platform/platform_backend.py View 1 1 chunk +3 lines, -0 lines 0 comments Download
M tools/telemetry/telemetry/core/platform/profiler/android_prebuilt_profiler_helper.py View 1 1 chunk +2 lines, -1 line 0 comments Download
M tools/telemetry/telemetry/core/platform/profiler/android_profiling_helper.py View 1 1 chunk +2 lines, -1 line 0 comments Download
M tools/telemetry/telemetry/core/platform/profiler/oomkiller_profiler.py View 1 1 chunk +2 lines, -1 line 0 comments Download
M tools/telemetry/telemetry/core/platform/profiler/perf_profiler.py View 1 3 chunks +4 lines, -2 lines 0 comments Download
M tools/telemetry/telemetry/core/platform/win_platform_backend.py View 1 1 chunk +4 lines, -0 lines 0 comments Download
M tools/telemetry/telemetry/util/support_binaries.py View 1 2 chunks +11 lines, -9 lines 0 comments Download
M tools/telemetry/telemetry/util/support_binaries_unittest.py View 1 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 21 (5 generated)
Fabrice (no longer in Chrome)
PTAL I'm not very familiar with Python but I don't think I did anything horribly ...
6 years, 2 months ago (2014-10-10 16:23:34 UTC) #2
pasko
lgtm
6 years, 2 months ago (2014-10-10 16:45:39 UTC) #3
tonyg
https://codereview.chromium.org/643973002/diff/1/tools/telemetry/telemetry/core/platform/profiler/android_profiling_helper.py File tools/telemetry/telemetry/core/platform/profiler/android_profiling_helper.py (right): https://codereview.chromium.org/643973002/diff/1/tools/telemetry/telemetry/core/platform/profiler/android_profiling_helper.py#newcode228 tools/telemetry/telemetry/core/platform/profiler/android_profiling_helper.py:228: perf_binary = 'perf_' + device.GetProp('ro.product.cpu.abi') This is a general ...
6 years, 2 months ago (2014-10-10 16:51:15 UTC) #4
pasko
https://codereview.chromium.org/643973002/diff/1/tools/telemetry/telemetry/core/platform/profiler/android_profiling_helper.py File tools/telemetry/telemetry/core/platform/profiler/android_profiling_helper.py (right): https://codereview.chromium.org/643973002/diff/1/tools/telemetry/telemetry/core/platform/profiler/android_profiling_helper.py#newcode228 tools/telemetry/telemetry/core/platform/profiler/android_profiling_helper.py:228: perf_binary = 'perf_' + device.GetProp('ro.product.cpu.abi') On 2014/10/10 16:51:14, tonyg ...
6 years, 2 months ago (2014-10-10 17:04:07 UTC) #5
tonyg
On 2014/10/10 17:04:07, pasko wrote: > https://codereview.chromium.org/643973002/diff/1/tools/telemetry/telemetry/core/platform/profiler/android_profiling_helper.py > File > tools/telemetry/telemetry/core/platform/profiler/android_profiling_helper.py > (right): > > ...
6 years, 2 months ago (2014-10-10 17:39:30 UTC) #6
pasko
https://codereview.chromium.org/643973002/diff/150001/build/android/pylib/device/device_utils.py File build/android/pylib/device/device_utils.py (right): https://codereview.chromium.org/643973002/diff/150001/build/android/pylib/device/device_utils.py#newcode739 build/android/pylib/device/device_utils.py:739: return self.GetProp('ro.product.cpu.abi') sounds good enough for now :) https://codereview.chromium.org/643973002/diff/150001/tools/telemetry/telemetry/core/platform/linux_platform_backend.py ...
6 years, 2 months ago (2014-10-14 14:15:42 UTC) #7
Fabrice (no longer in Chrome)
+ jbudorick@ for device_utils.py change. I added architecture support for every platform. That is, if ...
6 years, 2 months ago (2014-10-14 14:47:30 UTC) #9
jbudorick
https://codereview.chromium.org/643973002/diff/170001/build/android/pylib/device/device_utils.py File build/android/pylib/device/device_utils.py (right): https://codereview.chromium.org/643973002/diff/170001/build/android/pylib/device/device_utils.py#newcode736 build/android/pylib/device/device_utils.py:736: def GetABI(self): Public functions in DeviceUtils should expose timeout ...
6 years, 2 months ago (2014-10-14 14:51:52 UTC) #10
Fabrice (no longer in Chrome)
Thanks for the quick review! I think that should cover it. https://codereview.chromium.org/643973002/diff/170001/build/android/pylib/device/device_utils.py File build/android/pylib/device/device_utils.py (right): ...
6 years, 2 months ago (2014-10-14 16:26:03 UTC) #11
jbudorick
device_utils.py lgtm
6 years, 2 months ago (2014-10-14 16:27:13 UTC) #12
tonyg
lgtm assuming the unittests are happy Thanks!
6 years, 2 months ago (2014-10-15 00:30:49 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/643973002/190001
6 years, 2 months ago (2014-10-15 10:33:13 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: linux_gpu_triggered_tests on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/linux_gpu_triggered_tests/builds/68618)
6 years, 2 months ago (2014-10-15 11:20:28 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/643973002/210001
6 years, 2 months ago (2014-10-15 12:03:00 UTC) #19
commit-bot: I haz the power
Committed patchset #5 (id:210001)
6 years, 2 months ago (2014-10-15 13:34:21 UTC) #20
commit-bot: I haz the power
6 years, 2 months ago (2014-10-15 13:35:11 UTC) #21
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/1d468e04dac216371b96c123b17dd5c2b80935ac
Cr-Commit-Position: refs/heads/master@{#299682}

Powered by Google App Engine
This is Rietveld 408576698