| Index: build/android/pylib/perf/perf_control.py
|
| diff --git a/build/android/pylib/perf/perf_control.py b/build/android/pylib/perf/perf_control.py
|
| index e13c02adf8768d6560b2d8957bdae60c148da0ae..c0e85b6f875c3c382901d108d63cd93268ff9302 100644
|
| --- a/build/android/pylib/perf/perf_control.py
|
| +++ b/build/android/pylib/perf/perf_control.py
|
| @@ -89,7 +89,7 @@ class PerfControl(object):
|
| """
|
| if self._have_mpdecision:
|
| script = 'stop mpdecision' if force_online else 'start mpdecision'
|
| - self._device.RunShellCommand(script, root=True)
|
| + self._device.RunShellCommand(script, as_root=True)
|
|
|
| if not self._have_mpdecision and not self._AllCpusAreOnline():
|
| logging.warning('Unexpected cpu hot plugging detected.')
|
|
|