Do not grab spinlock for reading. It is unnecessary as there is only one reader. This solves the problem that the service can currently be blocked on a misbehaving client. Bug: 126724929 Change-Id: I673aa59535ac15d8f69ab56e72d737f407a1f7c9
Perfetto is an open-source project for performance instrumentation and tracing of Linux/Android/Chrome platforms and user-space apps.
See www.perfetto.dev for docs.