This repository contains two crates for working with Android NDK Tracing. The most useful of these is likely to be the higher level Tracing Android Trace, which depends on the lower level Android Trace
Tracing Android Trace tracing_android_trace
Tracing Android Trace provides several tracing_subscriber::Layer
s for Android NDK Tracing, using ATrace_beginSection
and ATrace_endSection
.
This allows viewing spans created using the tracing
macros in Android GPU Inspector.
Android Trace android_trace
Android Trace provides access to the Android NDK Tracing methods, such as ATrace_beginSection
and ATrace_endSection
.
Discussion of Android Trace development happens in the Linebender Zulip, specifically in #general > Android Tracing. All public content can be read without logging in.
Contributions are welcome by pull request. The Rust code of conduct applies.
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.