commit | f4cfd656332dc15f0e39cb40553f2417e03202cc | [log] [tgz] |
---|---|---|
author | Daniele Di Proietto <ddiproietto@google.com> | Fri Apr 22 15:59:40 2022 +0100 |
committer | Daniele Di Proietto <ddiproietto@google.com> | Tue Apr 26 10:25:20 2022 +0100 |
tree | 277c572827ab2119cfcdc38dbbc89a5767305773 | |
parent | 5b49d52cc42d307112ab5ad4e90c2ba9dc17a2d5 [diff] |
Improve unit tests for trace writers * New unit test suite for interceptor_trace_writer. * Changes to trace_writer_impl_unittest: * Couple of new tests. * Minor cleanups: * Remove redundant SharedMemoryArbiterImpl construction. * Avoid stringstream to build large strings. * Avoid yoda comparisons in EXPECT and ASSERT. * Use EXPECT instead of ASSERT where possible. * Use SizeIs() matcher. This makes it clear that we're asserting the size of an array before accessing its elements. Change-Id: I9e347fde690c2e7c54eea2a5d3cc12233dae0bd4
Perfetto is a production-grade open-source stack for performance instrumentation and trace analysis. It offers services and libraries and for recording system-level and app-level traces, native + java heap profiling, a library for analyzing traces using SQL and a web-based UI to visualize and explore multi-GB traces.
See https://perfetto.dev/docs or the /docs/ directory for documentation.