#tracing #sdk #tracing-layer #tracing-subscriber #perfetto #raw #schema

sys tracing-perfetto-sdk-sys

Native C++ bindings for the Perfetto SDK used by tracing-perfetto-sdk

19 releases (11 breaking)

0.12.0 Dec 18, 2024
0.11.0 Nov 22, 2024
0.10.4 Nov 21, 2024

#2038 in Database interfaces


Used in tracing-perfetto-sdk-laye…

Apache-2.0

2.5MB
44K SLoC

C++ 44K SLoC // 0.2% comments Rust 183 SLoC // 0.0% comments

tracing-perfetto-sdk

An implementation of tracing primitives for the Rust tracing crate using the Perfetto C++ SDK.

Crates in this workspace are:


lib.rs:

tracing-perfetto-sdk-sys: C++ bindings to the raw Perfetto SDK

This crate only contains low-level bindings to the C++ library. While the interface is safe, it is recommended to use a higher level API, for example via the tracing-perfetto-sdk-layer crate.

Dependencies

~0.6–2.4MB
~38K SLoC