commit | a09fe118b1a5eb876ddaa2620965c4a8fb8b007c | [log] [tgz] |
---|---|---|
author | Brigid Smith <brigidsmith@google.com> | Mon Jul 21 15:38:06 2014 -0700 |
committer | Elliott Hughes <enh@google.com> | Tue Jul 29 09:41:44 2014 -0700 |
tree | f78839671bc7135e47ef11b9c9c0dcebbdf46463 | |
parent | 1a5db57d5a0f633a83f20e667a4698757a63413e [diff] |
Added a bionic systrace class and tracing to pthread_mutex.cpp. bionic_systrace.h contains an implementation of tracing that can be used with systrace.py and its associated viewer. pthread_mutex now uses this tracing to track pthread_mutex contention, which can be enabled by using the "bionic" command line option to systrace. Bug: 15116468 (cherry picked from commit a406ee6d5f616192e9a13afad6ac6a9969814fc1) Change-Id: Ic98fc303689fe9384974150d0d258c50806a55e4