commit | cb42b623d8aac19223ca22aef526990a6473e8e7 | [log] [tgz] |
---|---|---|
author | Daniele Di Proietto <ddiproietto@google.com> | Thu Feb 22 12:29:49 2024 +0000 |
committer | Daniele Di Proietto <ddiproietto@google.com> | Wed Feb 28 13:32:47 2024 +0000 |
tree | 074fb15f248127f879e5f36544b65889d396fdd8 | |
parent | 15eeebda556adcfaf867928ac1bd7a8e9af4f426 [diff] |
Move ScopedReadMmap to ext/base It's going to acquire another user in a future commit. Also: * Use nullptr in ptr_ to represent failure. * Remove the virtual destructor: we don't need a vtable here. * Make the class non copiable and non movable. * Avoid logging in the implementation (logging is enhanced outside). * Rename to ScopedMmap, in case we want to use iti for writing in the future. * Instead of passing a filename to the constructor, create a function that accepts a filename and a length. * Support mapping a whole file. It's going to be used in a future commit. Change-Id: I2aacf9d5eac1ca21150486d53cbe1a6daff5b74b
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.