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

Issue 457823004: telemetry: Pass systrace categories properly (Closed)

Created:
6 years, 4 months ago by Sami
Modified:
6 years, 4 months ago
CC:
chromium-reviews, telemetry+watch_chromium.org
Project:
chromium
Visibility:
Public.

Description

telemetry: Pass systrace categories properly Pass systrace categories to chrome_profiler as a comma separated single argument instead of one argument per category. This fixes a bug where only the first category was actually enabled. We also set the output format to JSON because it's not necessary to wrap the resulting systrace into a HTML container as we end up zipping the result anyway. TEST=tools/perf/run_benchmark smoothness.key_mobile_sites --browser=android-chrome --page-filter=linked --profiler=android-systrace Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=289277

Patch Set 1 #

Total comments: 2

Patch Set 2 : Use test asserts. #

Patch Set 3 : Rebased. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -2 lines) Patch
M tools/telemetry/telemetry/core/platform/profiler/android_systrace_profiler.py View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M tools/telemetry/telemetry/core/platform/profiler/android_systrace_profiler_unittest.py View 1 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 12 (0 generated)
Sami
6 years, 4 months ago (2014-08-12 15:44:18 UTC) #1
tonyg
lgtm https://codereview.chromium.org/457823004/diff/1/tools/telemetry/telemetry/core/platform/profiler/android_systrace_profiler_unittest.py File tools/telemetry/telemetry/core/platform/profiler/android_systrace_profiler_unittest.py (right): https://codereview.chromium.org/457823004/diff/1/tools/telemetry/telemetry/core/platform/profiler/android_systrace_profiler_unittest.py#newcode29 tools/telemetry/telemetry/core/platform/profiler/android_systrace_profiler_unittest.py:29: assert 'sched_wakeup' in z.open('systrace').read() Since this is a ...
6 years, 4 months ago (2014-08-12 16:09:54 UTC) #2
Sami
https://codereview.chromium.org/457823004/diff/1/tools/telemetry/telemetry/core/platform/profiler/android_systrace_profiler_unittest.py File tools/telemetry/telemetry/core/platform/profiler/android_systrace_profiler_unittest.py (right): https://codereview.chromium.org/457823004/diff/1/tools/telemetry/telemetry/core/platform/profiler/android_systrace_profiler_unittest.py#newcode29 tools/telemetry/telemetry/core/platform/profiler/android_systrace_profiler_unittest.py:29: assert 'sched_wakeup' in z.open('systrace').read() On 2014/08/12 16:09:53, tonyg wrote: ...
6 years, 4 months ago (2014-08-12 18:23:55 UTC) #3
Sami
The CQ bit was checked by skyostil@chromium.org
6 years, 4 months ago (2014-08-12 18:23:58 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skyostil@chromium.org/457823004/20001
6 years, 4 months ago (2014-08-12 18:27:18 UTC) #5
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_rel on tryserver.chromium.win ...
6 years, 4 months ago (2014-08-12 22:27:06 UTC) #6
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-13 00:09:53 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel on tryserver.chromium.win (http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel/builds/6094)
6 years, 4 months ago (2014-08-13 00:10:00 UTC) #8
Sami
The CQ bit was checked by skyostil@chromium.org
6 years, 4 months ago (2014-08-13 10:30:51 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skyostil@chromium.org/457823004/40001
6 years, 4 months ago (2014-08-13 10:31:26 UTC) #10
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_compile_dbg on tryserver.chromium.win ...
6 years, 4 months ago (2014-08-13 12:25:46 UTC) #11
commit-bot: I haz the power
6 years, 4 months ago (2014-08-13 13:09:03 UTC) #12
Message was sent while issue was closed.
Change committed as 289277

Powered by Google App Engine
This is Rietveld 408576698