Make SurfaceFlinger tracing synchronous by default

There are few reports of async sf tracing crashing. Make the
tracing sync by default until we can make async tracing
more robust.

Bug: 174208080
Test: run sf trace on hwasan builds
Change-Id: I0593d72c230ae34e93b41c1d8e6fd241bf74e31d
diff --git a/services/surfaceflinger/SurfaceTracing.h b/services/surfaceflinger/SurfaceTracing.h
index 576bba7..497ebd3 100644
--- a/services/surfaceflinger/SurfaceTracing.h
+++ b/services/surfaceflinger/SurfaceTracing.h
@@ -85,7 +85,7 @@
     std::unique_ptr<Runner> runner;
 
     struct Config {
-        uint32_t flags = TRACE_CRITICAL | TRACE_INPUT;
+        uint32_t flags = TRACE_CRITICAL | TRACE_INPUT | TRACE_SYNC;
         size_t bufferSize = DEFAULT_BUFFER_SIZE;
     } mConfig;