Index: tools/telemetry/telemetry/core/platform/profiler/android_profiling_helper.py |
diff --git a/tools/telemetry/telemetry/core/platform/profiler/android_profiling_helper.py b/tools/telemetry/telemetry/core/platform/profiler/android_profiling_helper.py |
index ca3a08b0778c574a0655bf7a77fcfe6038543771..1b7d578f5ebcddc10d633d5c9ca74c0ca7e77456 100644 |
--- a/tools/telemetry/telemetry/core/platform/profiler/android_profiling_helper.py |
+++ b/tools/telemetry/telemetry/core/platform/profiler/android_profiling_helper.py |
@@ -41,7 +41,7 @@ def _ElfSectionMd5Sum(elf_file, section): |
def _FindMatchingUnstrippedLibraryOnHost(device, lib): |
lib_base = os.path.basename(lib) |
- device_md5 = device.RunShellCommand('md5 "%s"' % lib, root=True)[0] |
+ device_md5 = device.RunShellCommand('md5 "%s"' % lib, as_root=True)[0] |
device_md5 = device_md5.split(' ', 1)[0] |
def FindMatchingStrippedLibrary(out_path): |