0.1.5 - This version may not be safe as it has not been updated for a long time. Find out if your coding project uses this component and get notified of any reported security vulnerabilities with Meterian-X Open Source Security Platform
Maintain your licence declarations and avoid unwanted licences to protect your IP the way you intended.
MIT - MIT Licensetracing-perfetto is a Layer for tracing-subscriber that outputs traces in perfetto's trace packet format that can be viewed with ui.perfetto.dev.
Add this near the beginning of main:
use tracing_perfetto::PerfettoLayer;
use tracing_subscriber::{registry::Registry, prelude::*};
let layer = PerfettoLayer::new(std::sync::Mutex::new(std::fs::File::create("/tmp/test.pftrace").unwrap()));
tracing_subscriber::registry().with(layer).init();Open that file with ui.perfetto.dev:
Download the latest perfetto_trace.proto into protos/peffetto_trace.proto.
Run upgrade.rs
cargo +nightly -Zscript upgrade.rs
./upgrade.rs
Create a pull request with the changes.
Licensed under the MIT license.