summaryrefslogtreecommitdiffstats
path: root/tools/telemetry
diff options
context:
space:
mode:
Diffstat (limited to 'tools/telemetry')
-rw-r--r--tools/telemetry/telemetry/core/platform/profiler/tcmalloc_heap_profiler.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/telemetry/telemetry/core/platform/profiler/tcmalloc_heap_profiler.py b/tools/telemetry/telemetry/core/platform/profiler/tcmalloc_heap_profiler.py
index e392cb0..a82eb98 100644
--- a/tools/telemetry/telemetry/core/platform/profiler/tcmalloc_heap_profiler.py
+++ b/tools/telemetry/telemetry/core/platform/profiler/tcmalloc_heap_profiler.py
@@ -32,6 +32,8 @@ class _TCMallocHeapProfilerAndroid(object):
def _SetDeviceProperties(self, properties):
device_configured = False
+ # This profiler requires adb root to set properties.
+ self._browser_backend.adb.Adb().EnableAdbRoot()
for values in properties.itervalues():
device_property = self._browser_backend.adb.RunShellCommand(
'getprop ' + values[0])