| Crates.io | sparkles-parser |
| lib.rs | sparkles-parser |
| version | 0.1.1 |
| created_at | 2024-09-28 18:19:33.536067+00 |
| updated_at | 2025-07-03 22:23:28.890609+00 |
| description | Parser for sparkles tracing library |
| homepage | |
| repository | https://github.com/skibon02/sparkles |
| max_upload_size | |
| id | 1390292 |
| size | 660,870 |
Library for parsing sparkles trace data.
Tracing information can be either saved to file or transmitted over UDP socket. These two flavors of sparkles tracing data protocol can be parsed and converted to Perfetto format file using this library.
Files compatible with Perfetto format can be easily viewed in browser on the Perfetto website.
cargo install sparkles-parser --features bin-deps
Two binaries are included
Used for default sparkles configuration.
It will open directory trace and parse the latest saved file, or parse specific file provided as an argument.
The result is saved with filename trace.perf
Application need to enable udp sender in config first. Connect to running application and collect tracing data over UDP until it is finished. If you want to interrupt tracing data collection early, just press Ctrl-C.
The result is saved with filename trace.perf
Run one of described binaries to generate Perfetto protobuf format file. Navigate to https://ui.perfetto.dev/ and drag'n'drop generated file.
✧ local-packet-bounds - Add received packet bounds to the result
✧ self-tracing - Create trace file to analyze parser work
✧ perfetto - Add saving in perfetto format method to the library crate
✧ bin-deps - Should not be used if you are using library crate
。゚゚・。・゚゚。
゚。SkyGrel19 ✨
゚・。・