gecko-dev/tools/profiler/rust-api
Nazım Can Altınova 79e498d6d6 Bug 1733335 - Make std::vector an opaque type in the profiler Rust API r=emilio
This was causing asan and dt failures because bindgen was computing the size of
MarkerSchema as 122 bytes instead of 144 bytes. This was causing a heap buffer
overflow. After making the std::vector an opaque type, it computes the size
properly as 144 bytes.

Depends on D127114

Differential Revision: https://phabricator.services.mozilla.com/D127956
2021-10-11 07:59:11 +00:00
..
macros Bug 1652560 - Add gecko_profiler_fn_label proc-macro API as an alternative r=emilio 2021-07-30 21:49:22 +00:00
src Bug 1733335 - Add tracing marker type for the Rust side r=gerald 2021-10-11 07:59:09 +00:00
Cargo.toml Bug 1654413 - Add add_marker Rust profiler API and serialize the marker to the buffer r=emilio,gerald 2021-09-21 11:08:11 +00:00
README.md
build.rs Bug 1733335 - Make std::vector an opaque type in the profiler Rust API r=emilio 2021-10-11 07:59:11 +00:00
cbindgen.toml Bug 1654413 - Deserialize and stream the markers and marker schemas r=emilio,gerald 2021-09-21 11:08:12 +00:00
extra-bindgen-flags.in Bug 1724278 - Fix --with-system-nspr build after bug 1722652 r=firefox-build-system-reviewers,mhentges 2021-08-09 21:12:04 +00:00

README.md

Gecko Profiler API for Rust

This crate is the collection of all the API endpoints for Gecko Profiler. Please use this crate instead of using raw FFI calls.

See the module documentations for more information about the specific API endpoints.