summaryrefslogtreecommitdiffstats
path: root/services/audioflinger/Android.mk
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2012-05-14 16:37:13 -0700
committerGlenn Kasten <gkasten@google.com>2012-05-17 16:29:07 -0700
commit99c99d00beb43b939dedc9ffb07adb89f6a85ba5 (patch)
treea93aeb409fa2399bf552ea901793514f0cf79f6b /services/audioflinger/Android.mk
parent552477608b137fb66af126655c6865207a82d888 (diff)
downloadframeworks_av-99c99d00beb43b939dedc9ffb07adb89f6a85ba5.zip
frameworks_av-99c99d00beb43b939dedc9ffb07adb89f6a85ba5.tar.gz
frameworks_av-99c99d00beb43b939dedc9ffb07adb89f6a85ba5.tar.bz2
systrace for audio
Trace fast track buffer fill status for underruns etc. Move the definition of macro to Android.mk. No overhead if disabled. Change-Id: If0e83e21b61b059ca38f543f8a6ffb58e08c79ee
Diffstat (limited to 'services/audioflinger/Android.mk')
-rw-r--r--services/audioflinger/Android.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/services/audioflinger/Android.mk b/services/audioflinger/Android.mk
index 48b35cf..0d7f06a 100644
--- a/services/audioflinger/Android.mk
+++ b/services/audioflinger/Android.mk
@@ -82,4 +82,7 @@ LOCAL_CFLAGS += -DSTATE_QUEUE_INSTANTIATIONS='"StateQueueInstantiations.cpp"'
LOCAL_CFLAGS += -DHAVE_REQUEST_PRIORITY -UFAST_TRACKS_AT_NON_NATIVE_SAMPLE_RATE -USOAKER
+# uncomment for systrace
+# LOCAL_CFLAGS += -DATRACE_TAG=ATRACE_TAG_AUDIO
+
include $(BUILD_SHARED_LIBRARY)