commit | d8f5e9fedc217ca9c257599b2c624b260b6852d6 | [log] [tgz] |
---|---|---|
author | Vishnu Nair <vishnun@google.com> | Thu Feb 03 10:23:28 2022 -0800 |
committer | Vishnu Nair <vishnun@google.com> | Fri Feb 11 08:43:42 2022 -0800 |
tree | 168be496ec24f92e51c47ecdb4a3cb9d57973a43 | |
parent | 685cfefb624ec9414cf3c1bb2de1f8fbadefc0dd [diff] [blame] |
SF: Save proto traces to a specific path Test: presubmit Bug: 200284593 Change-Id: I6987329cc32b2ca13e76e957a5ae6b17bbed6e83
diff --git a/services/surfaceflinger/Tracing/LayerTracing.h b/services/surfaceflinger/Tracing/LayerTracing.h index bd448c9..88a19ec 100644 --- a/services/surfaceflinger/Tracing/LayerTracing.h +++ b/services/surfaceflinger/Tracing/LayerTracing.h
@@ -43,7 +43,7 @@ LayerTracing(SurfaceFlinger& flinger); ~LayerTracing(); bool enable(); - bool disable(); + bool disable(std::string filename = FILE_NAME); bool isEnabled() const; status_t writeToFile(); LayersTraceFileProto createTraceFileProto() const;