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

Issue 308123002: Telemetry: Build symfs for Android VTune profiler (Closed)

Created:
6 years, 6 months ago by Dominik Grewe
Modified:
6 years, 6 months ago
Reviewers:
xiyuan, shatch, Sami, tonyg
CC:
chromium-reviews, telemetry+watch_chromium.org, David James
Visibility:
Public.

Description

Telemetry: Build symfs for Android VTune profiler Extend and use android_profiling_helper.py to set up a symfs for VTune. Queries the required libraries from the profiler's output and pulls them from the device. This allows VTune to resolve all symbols in the profiling output. BUG= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=276740 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=277839

Patch Set 1 #

Patch Set 2 : add sample file #

Total comments: 9

Patch Set 3 : Always print message. #

Patch Set 4 : Remove warning on exit_code=1 #

Patch Set 5 : rebase #

Patch Set 6 : conditional import of sqlite3 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+404 lines, -15 lines) Patch
M tools/telemetry/telemetry/core/platform/profiler/android_profiling_helper.py View 1 2 3 4 5 2 chunks +26 lines, -0 lines 0 comments Download
M tools/telemetry/telemetry/core/platform/profiler/android_profiling_helper_unittest.py View 1 2 3 4 2 chunks +32 lines, -0 lines 0 comments Download
M tools/telemetry/telemetry/core/platform/profiler/vtune_profiler.py View 1 2 3 3 chunks +30 lines, -15 lines 0 comments Download
A tools/telemetry/unittest_data/sample_vtune_db_output View 1 1 chunk +316 lines, -0 lines 0 comments Download

Messages

Total messages: 30 (0 generated)
Dominik Grewe
ptal
6 years, 6 months ago (2014-05-30 12:49:46 UTC) #1
Dominik Grewe
https://codereview.chromium.org/308123002/diff/20001/tools/telemetry/telemetry/core/platform/profiler/vtune_profiler.py File tools/telemetry/telemetry/core/platform/profiler/vtune_profiler.py (right): https://codereview.chromium.org/308123002/diff/20001/tools/telemetry/telemetry/core/platform/profiler/vtune_profiler.py#newcode52 tools/telemetry/telemetry/core/platform/profiler/vtune_profiler.py:52: # TODO(dominikg): Ask simonhatch@ why we don't fail when ...
6 years, 6 months ago (2014-05-30 12:53:44 UTC) #2
Sami
Great, code reuse ftw :) https://codereview.chromium.org/308123002/diff/20001/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/308123002/diff/20001/tools/telemetry/telemetry/core/platform/profiler/android_profiling_helper.py#newcode107 tools/telemetry/telemetry/core/platform/profiler/android_profiling_helper.py:107: try: I was thinking ...
6 years, 6 months ago (2014-05-30 13:01:03 UTC) #3
Dominik Grewe
https://codereview.chromium.org/308123002/diff/20001/tools/telemetry/telemetry/core/platform/profiler/vtune_profiler.py File tools/telemetry/telemetry/core/platform/profiler/vtune_profiler.py (right): https://codereview.chromium.org/308123002/diff/20001/tools/telemetry/telemetry/core/platform/profiler/vtune_profiler.py#newcode17 tools/telemetry/telemetry/core/platform/profiler/vtune_profiler.py:17: def __init__(self, pid, output_file, browser_backend, platform_backend): On 2014/05/30 13:01:03, ...
6 years, 6 months ago (2014-05-30 15:01:43 UTC) #4
Sami
Thanks, lgtm. Let's see what Simon says. Btw there's a similar swapped out check in ...
6 years, 6 months ago (2014-05-30 15:31:56 UTC) #5
Dominik Grewe
https://codereview.chromium.org/308123002/diff/20001/tools/telemetry/telemetry/core/platform/profiler/vtune_profiler.py File tools/telemetry/telemetry/core/platform/profiler/vtune_profiler.py (right): https://codereview.chromium.org/308123002/diff/20001/tools/telemetry/telemetry/core/platform/profiler/vtune_profiler.py#newcode52 tools/telemetry/telemetry/core/platform/profiler/vtune_profiler.py:52: # TODO(dominikg): Ask simonhatch@ why we don't fail when ...
6 years, 6 months ago (2014-05-30 17:05:16 UTC) #6
Sami
That makes sense, lgtm.
6 years, 6 months ago (2014-05-30 17:29:38 UTC) #7
shatch
On 2014/05/30 17:05:16, Dominik Grewe wrote: > https://codereview.chromium.org/308123002/diff/20001/tools/telemetry/telemetry/core/platform/profiler/vtune_profiler.py > File tools/telemetry/telemetry/core/platform/profiler/vtune_profiler.py (right): > > https://codereview.chromium.org/308123002/diff/20001/tools/telemetry/telemetry/core/platform/profiler/vtune_profiler.py#newcode52 ...
6 years, 6 months ago (2014-06-03 00:09:40 UTC) #8
Dominik Grewe
The CQ bit was checked by dominikg@chromium.org
6 years, 6 months ago (2014-06-12 13:20:52 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dominikg@chromium.org/308123002/80001
6 years, 6 months ago (2014-06-12 13:22:15 UTC) #10
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_gpu_triggered_tests on tryserver.chromium.gpu ...
6 years, 6 months ago (2014-06-12 15:15:01 UTC) #11
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-12 15:17:45 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: win_gpu_triggered_tests on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/win_gpu_triggered_tests/builds/16541)
6 years, 6 months ago (2014-06-12 15:17:46 UTC) #13
Dominik Grewe
The CQ bit was checked by dominikg@chromium.org
6 years, 6 months ago (2014-06-12 17:23:44 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dominikg@chromium.org/308123002/80001
6 years, 6 months ago (2014-06-12 17:26:07 UTC) #15
commit-bot: I haz the power
Change committed as 276740
6 years, 6 months ago (2014-06-12 18:09:41 UTC) #16
xiyuan
This breaks ChromeOS build at http://build.chromium.org/p/chromiumos.chromium/builders/X86%20%28chromium%29/builds/169 16:09:25 INFO | autoserv| FAIL login_Cryptohome login_Cryptohome timestamp=1402607364 localtime=Jun ...
6 years, 6 months ago (2014-06-12 22:25:09 UTC) #17
xiyuan
On 2014/06/12 22:25:09, xiyuan wrote: > This breaks ChromeOS build at > http://build.chromium.org/p/chromiumos.chromium/builders/X86%20%28chromium%29/builds/169 > > ...
6 years, 6 months ago (2014-06-12 22:39:04 UTC) #18
achuithb
A revert of this CL has been created in https://codereview.chromium.org/337603002/ by achuith@chromium.org. The reason for ...
6 years, 6 months ago (2014-06-12 22:41:52 UTC) #19
achuithb
Sorry about the quick revert but the cros builders were all red increasing the risk ...
6 years, 6 months ago (2014-06-12 22:50:46 UTC) #20
Dominik Grewe
On 2014/06/12 22:50:46, achuithb wrote: > Sorry about the quick revert but the cros builders ...
6 years, 6 months ago (2014-06-13 10:57:12 UTC) #21
xiyuan
On 2014/06/13 10:57:12, Dominik Grewe wrote: > On 2014/06/12 22:50:46, achuithb wrote: > > Sorry ...
6 years, 6 months ago (2014-06-13 16:14:37 UTC) #22
Dominik Grewe
On 2014/06/13 16:14:37, xiyuan wrote: > On 2014/06/13 10:57:12, Dominik Grewe wrote: > > On ...
6 years, 6 months ago (2014-06-13 16:47:08 UTC) #23
xiyuan
+davidjames, David, could you help to see why Dominik is not able to run cbuildbot ...
6 years, 6 months ago (2014-06-13 16:51:41 UTC) #24
Dominik Grewe
On 2014/06/13 16:51:41, xiyuan wrote: > +davidjames, > > David, could you help to see ...
6 years, 6 months ago (2014-06-17 10:26:42 UTC) #25
xiyuan
On 2014/06/17 10:26:42, Dominik Grewe wrote: > On 2014/06/13 16:51:41, xiyuan wrote: > > +davidjames, ...
6 years, 6 months ago (2014-06-17 16:12:37 UTC) #26
Dominik Grewe
On 2014/06/17 16:12:37, xiyuan wrote: > On 2014/06/17 10:26:42, Dominik Grewe wrote: > > On ...
6 years, 6 months ago (2014-06-17 16:15:21 UTC) #27
Dominik Grewe
The CQ bit was checked by dominikg@chromium.org
6 years, 6 months ago (2014-06-17 16:15:25 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dominikg@chromium.org/308123002/100001
6 years, 6 months ago (2014-06-17 16:16:02 UTC) #29
commit-bot: I haz the power
6 years, 6 months ago (2014-06-17 20:06:00 UTC) #30
Message was sent while issue was closed.
Change committed as 277839

Powered by Google App Engine
This is Rietveld 408576698