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:
parent
6207f79f01
commit
b6064fa348
@ -106,7 +106,8 @@ class PerfInstrument(Instrument):
|
|||||||
self.device.kick_off(command)
|
self.device.kick_off(command)
|
||||||
|
|
||||||
def stop(self, context):
|
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):
|
def update_result(self, context):
|
||||||
for label in self.labels:
|
for label in self.labels:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user