Merge "Add systrace for normal read()" into nyc-dev
am: 1c65a1d

* commit '1c65a1d6e4a4a7c7a534aa6b178f4bb6e0967fb9':
  Add systrace for normal read()
diff --git a/services/audioflinger/Threads.cpp b/services/audioflinger/Threads.cpp
index 35ce317..9343ae0 100644
--- a/services/audioflinger/Threads.cpp
+++ b/services/audioflinger/Threads.cpp
@@ -6082,8 +6082,10 @@
             }
         // otherwise use the HAL / AudioStreamIn directly
         } else {
+            ATRACE_BEGIN("read");
             ssize_t bytesRead = mInput->stream->read(mInput->stream,
                     (uint8_t*)mRsmpInBuffer + rear * mFrameSize, mBufferSize);
+            ATRACE_END();
             if (bytesRead < 0) {
                 framesRead = bytesRead;
             } else {