mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-06-19 14:56:00 +01:00
perf: fix for Android: killall sleep as root.
This commit is contained in:
@ -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:
|
||||
|
Reference in New Issue
Block a user