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

Issue 15894022: [Telemetry] Fix GetCommandLine after r203697. (Closed)

Created:
7 years, 6 months ago by tonyg
Modified:
7 years, 6 months ago
Reviewers:
Owen Lin, nduca, dtu
CC:
chromium-reviews, chrome-speed-team+watch_google.com, telemetry+watch_chromium.org
Visibility:
Public.

Description

[Telemetry] Fix GetCommandLine after r203697. BUG=None TEST=Ran a page cycler on linux NOTRY=True Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=203757

Patch Set 1 #

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

Messages

Total messages: 5 (0 generated)
tonyg
7 years, 6 months ago (2013-06-03 18:33:13 UTC) #1
dtu
lgtm
7 years, 6 months ago (2013-06-03 19:58:00 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tonyg@chromium.org/15894022/1
7 years, 6 months ago (2013-06-03 19:58:55 UTC) #3
commit-bot: I haz the power
Change committed as 203757
7 years, 6 months ago (2013-06-03 19:59:03 UTC) #4
owenlin_google
7 years, 6 months ago (2013-06-04 02:21:01 UTC) #5
Thanks. I missed this one when I tested the code.

On Tue, Jun 4, 2013 at 2:33 AM,  <tonyg@chromium.org> wrote:
> Reviewers: Owen Lin, nduca, Dave Tu,
>
> Description:
> [Telemetry] Fix GetCommandLine after r203697.
>
> BUG=None
> TEST=Ran a page cycler on linux
> NOTRY=True
>
> Please review this at https://codereview.chromium.org/15894022/
>
> SVN Base: svn://svn.chromium.org/chrome/trunk/src
>
> Affected files:
>   M tools/telemetry/telemetry/core/platform/posix_platform_backend.py
>
>
> Index: tools/telemetry/telemetry/core/platform/posix_platform_backend.py
> diff --git
> a/tools/telemetry/telemetry/core/platform/posix_platform_backend.py
> b/tools/telemetry/telemetry/core/platform/posix_platform_backend.py
> index
>
5073bb19b50daff2f9af1c871016c63fbfdff91f..248f4d5d53eeaca26500776ceb03201f2c5d1c44
> 100644
> --- a/tools/telemetry/telemetry/core/platform/posix_platform_backend.py
> +++ b/tools/telemetry/telemetry/core/platform/posix_platform_backend.py
> @@ -57,6 +57,6 @@ class
> PosixPlatformBackend(platform_backend.PlatformBackend):
>      return child_ids
>
>    def GetCommandLine(self, pid):
> -    command = self._GetPsOutput('command', pid)
> +    command = self._GetPsOutput(['command'], pid)
>      return command[0] if command else None
>
>
>



-- 
Owen Cheng-Ru Lin
Google Taipei Software Engineer

Powered by Google App Engine
This is Rietveld 408576698