New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 652809 link

Starred by 1 user

Issue metadata

Status: Archived
Owner:
Last visit > 30 days ago
Closed: Nov 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 3
Type: Bug



Sign in to add a comment

Telemetry: Can't get trace from telemetry run

Project Member Reported by bokan@chromium.org, Oct 4 2016

Issue description

I'm trying to get about:tracing results from a benchmark run. The Perf Dashboard has a convenient |Trace| button so I thought I'd use that:

The tryjob ran successfully, apparently, but there's no trace output. Logs show (stdio attached for posterity):

ChromeTracingStartedError: Tracing is already running on devtools at port localabstract:chrome_devtools_remote on platformbackend <telemetry.internal.platform.android_platform_backend.AndroidPlatformBackend object at 0x7fd86407ce10>.@@@

So run_benchmark.py has a --profile= option. I ran it with --profile=trace locally. Same thing.

So I checked https://www.chromium.org/developers/telemetry/profiling

Ah, "--profile is deprecated". Apparently I should use platform/tracing_controller.py, but the link in the doc is broken. Ok, I can do a search, but there's two versions of it in the source repo and neither seems to be an executable so at this point I'm lost.

Is profiling/tracing still a supported use case? If not, the tools and docs should be more clear about that. run_benchmark --help doesn't mention anything about --profile being deprecated (it does mention that the flag doesn't work with "Timeline Based Measurement" benchmarks but I'm not sure what that means or if its related to my woes).
 
stdio.log
84.0 KB View Download
Cc: eakuefner@chromium.org
+Ethan who is working on making it obvious to get the trace locally.
Owner: eakuefner@chromium.org
Status: Assigned (was: Untriaged)
Ethan: can you help bokan with getting the trace?

Comment 3 by bokan@chromium.org, Oct 5 2016

I no longer need the trace as I've debugged the issue in other ways but this seemed to be difficult enough that, if I was doing it wrong, some clarifications in docs/tools might be helpful.
Status: Archived (was: Assigned)
I'm not actively working on this and it appears bokan's immediate need was resolved; I'm archiving this bug.

Sign in to add a comment