History log of /frameworks/base/core/java/android/os/TransactionTracker.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
25ee0bc6d142565013205b52dab9d603ce081cf8 02-Nov-2016 Jorim Jaggi <jjaggi@google.com> Add traces to systrace when binder tracing is enabled

If binder tracing is enabled, we also output the class/method name
to systrace. This is the first step toward a system in which we could
show the full stack trace in systrace.

Test:
adb shell am trace-ipc start
python systrace.py
adb shell am trace-ipc stop

Change-Id: I6d0354c9560c4518c84fb3fdb66219b460e69f67
/frameworks/base/core/java/android/os/TransactionTracker.java
52613f9084f40100021fbf21173bda329a2d5cc3 18-Jun-2015 Rahul Chaturvedi <rkc@google.com> Add binder transaction tracking.

Add the ability to am to be able to track binder transact calls. This
will help us diagnose excessive IPC calls.

This CL adds the trace-ip command to am. The usage is,

To start binder transaction tracking,
am trace-ipc start
To stop tracking and dump the data to a file,
am trace-ipc stop --dump-file <FILE>

Bug: 21398706
Change-Id: Ic0c9b3be757dd0662a2750a0d8447e2a5ef1fa90
/frameworks/base/core/java/android/os/TransactionTracker.java