diff options
author | Hiroshi Yamauchi <yamauchi@google.com> | 2013-08-12 17:28:49 -0700 |
---|---|---|
committer | Hiroshi Yamauchi <yamauchi@google.com> | 2013-08-13 13:53:12 -0700 |
commit | b3733086ab415088b97fac20b3eea24433a7d2c5 (patch) | |
tree | ad853d385e5c113e5d6248d0f7d198d7d9136865 /oatdump | |
parent | 4baa8083ae0820f71cf0f03b94fd7f8d3b9bfa46 (diff) | |
download | art-b3733086ab415088b97fac20b3eea24433a7d2c5.zip art-b3733086ab415088b97fac20b3eea24433a7d2c5.tar.gz art-b3733086ab415088b97fac20b3eea24433a7d2c5.tar.bz2 |
Add a systrace support for lock contention logging.
- Now several ART executables like oatdump need to link with libcutils
as the mutex code is shared among them.
- The blocking thread ID and lock owner thread ID are passed to
ScopedContentionRecorder in the correct order.
Bug: 9986464
Change-Id: Id766de23fbc4af1d8ba2de051595e365b04f5ae7
Diffstat (limited to 'oatdump')
-rw-r--r-- | oatdump/Android.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/oatdump/Android.mk b/oatdump/Android.mk index bf5c41b..a63b229 100644 --- a/oatdump/Android.mk +++ b/oatdump/Android.mk @@ -22,10 +22,10 @@ OATDUMP_SRC_FILES := \ include art/build/Android.executable.mk ifeq ($(ART_BUILD_TARGET_NDEBUG),true) - $(eval $(call build-art-executable,oatdump,$(OATDUMP_SRC_FILES),,,target,ndebug)) + $(eval $(call build-art-executable,oatdump,$(OATDUMP_SRC_FILES),libcutils,,target,ndebug)) endif ifeq ($(ART_BUILD_TARGET_DEBUG),true) - $(eval $(call build-art-executable,oatdump,$(OATDUMP_SRC_FILES),,,target,debug)) + $(eval $(call build-art-executable,oatdump,$(OATDUMP_SRC_FILES),libcutils,,target,debug)) endif ifeq ($(WITH_HOST_DALVIK),true) |