From 7eabe55db6b113f83c2cefcd06812648927de877 Mon Sep 17 00:00:00 2001 From: Romain Guy Date: Thu, 21 Jul 2011 14:56:34 -0700 Subject: Add looper profiling to adb shell am To profile the looper, run the following command: adb shell am profile looper start adb shell am profile looper stop Change-Id: I781f156e473d7bdbb6d13aaffeeaae88bc01a69f --- core/java/android/app/IApplicationThread.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/java/android/app/IApplicationThread.java') diff --git a/core/java/android/app/IApplicationThread.java b/core/java/android/app/IApplicationThread.java index 9de0bf4ffa0e..d0607d09040d 100644 --- a/core/java/android/app/IApplicationThread.java +++ b/core/java/android/app/IApplicationThread.java @@ -105,7 +105,7 @@ public interface IApplicationThread extends IInterface { throws RemoteException; void scheduleLowMemory() throws RemoteException; void scheduleActivityConfigurationChanged(IBinder token) throws RemoteException; - void profilerControl(boolean start, String path, ParcelFileDescriptor fd) + void profilerControl(boolean start, String path, ParcelFileDescriptor fd, int profileType) throws RemoteException; void dumpHeap(boolean managed, String path, ParcelFileDescriptor fd) throws RemoteException; -- cgit v1.2.3