tp: Extract Flush logic from NotifyEndOfFile

Change-Id: I96c63de7d298f9c8a079bbd2ecdf4add8d9be7f8
diff --git a/Android.bp b/Android.bp
index 89c806c..b8c49bc 100644
--- a/Android.bp
+++ b/Android.bp
@@ -8900,6 +8900,7 @@
     srcs: [
         "src/trace_processor/iterator_impl.cc",
         "src/trace_processor/read_trace.cc",
+        "src/trace_processor/read_trace_internal.cc",
         "src/trace_processor/trace_processor.cc",
         "src/trace_processor/trace_processor_impl.cc",
     ],