From 0995e576898dbaf0a72a3bd7ee989f5b6b43aad1 Mon Sep 17 00:00:00 2001 From: Marc Bonnici Date: Thu, 1 Feb 2018 09:34:14 +0000 Subject: [PATCH] instrumentation/fps: Allow measuring of views containing spaces Ensure the view name is passed in quotes to allow for views containing spaces. --- wlauto/instrumentation/fps/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wlauto/instrumentation/fps/__init__.py b/wlauto/instrumentation/fps/__init__.py index ad630bdb..e5f42c3c 100755 --- a/wlauto/instrumentation/fps/__init__.py +++ b/wlauto/instrumentation/fps/__init__.py @@ -187,7 +187,7 @@ class FpsInstrument(Instrument): self.device.execute('dumpsys gfxinfo {} reset'.format(pkg)) else: self.fps_method = 'surfaceflinger' - runcmd = 'dumpsys SurfaceFlinger --latency {}' + runcmd = 'dumpsys SurfaceFlinger --latency "{}"' lstcmd = 'dumpsys SurfaceFlinger --list' params = workload.view self.device.execute('dumpsys SurfaceFlinger --latency-clear ')