mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-08 12:28:04 +02:00
Introduce a bunch of helper macros and flush function that allow in-situ debug annotation of Perfetto tracks. This introduces a STR, INT and FLOAT variants to stack debug annotations into a temporary array and have COMMIT to push that to Perfetto. There's a maximum imposed limit of 128 entries in the array. Users shouldn't be concerned with allocating char string arrays as COMMIT will basically flush all the data in the temporary array to Perfetto. Signed-off-by: Marius Vlad <marius.vlad@collabora.com> |
||
|---|---|---|
| .. | ||
| u_atomic.h | ||
| u_perfetto.cc | ||
| u_perfetto.h | ||