diff options
| author | Romain Guy <romainguy@google.com> | 2011-07-21 14:56:34 -0700 |
|---|---|---|
| committer | Romain Guy <romainguy@google.com> | 2011-07-21 14:56:34 -0700 |
| commit | 7eabe55db6b113f83c2cefcd06812648927de877 (patch) | |
| tree | a105d90d8addbce9bb457b4bef974ce2f699fc81 /core/java/android/app/IApplicationThread.java | |
| parent | ac4159549c10dbe428d42980278c0e43ecc8d93f (diff) | |
Add looper profiling to adb shell am
To profile the looper, run the following command:
adb shell am profile looper start <process> <file>
adb shell am profile looper stop <process>
Change-Id: I781f156e473d7bdbb6d13aaffeeaae88bc01a69f
Diffstat (limited to 'core/java/android/app/IApplicationThread.java')
| -rw-r--r-- | core/java/android/app/IApplicationThread.java | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
