1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-01-19 04:21:17 +00:00

perf: fix for Android: killall sleep as root.

This commit is contained in:
Sergei Trofimov 2015-07-23 10:16:51 +01:00
parent 6207f79f01
commit b6064fa348

View File

@ -106,7 +106,8 @@ class PerfInstrument(Instrument):
self.device.kick_off(command)
def stop(self, context):
self.device.killall('sleep')
as_root = self.device.platfrom == 'android'
self.device.killall('sleep', as_root=as_root)
def update_result(self, context):
for label in self.labels: