| Crates.io | barectf-parser |
| lib.rs | barectf-parser |
| version | 0.3.0 |
| created_at | 2025-02-26 12:19:06.993133+00 |
| updated_at | 2025-02-27 12:29:21.451177+00 |
| description | A Rust library to parse barectf-generated CTF trace data |
| homepage | |
| repository | https://github.com/auxoncorp/barectf-parser |
| max_upload_size | |
| id | 1570384 |
| size | 149,444 |
A Rust library to parse barectf-generated CTF trace data.
Rather than attempt to parse the standard CTF metadata description file, this library takes advantage of the simplifying constraints imposed by barectf, using its configuration yaml to produce a CTF byte-stream parser.
See the examples for getting started.
This library supports barectf 3.1.
cargo run --example events_async -- test_resources/fixtures/full/effective_config.yaml test_resources/fixtures/full/trace/stream
The library uses the effective configuration file generated from
the show-effective-configuration command.
See the integration test source and fixtures for example invocations.
Most of these will be resolved in future versions.
auto variant of the trace.type.uuid is not supported
uuid altogether or provide one in string formtrace.type.$features.uuid-field-type field only supports true or false
i64, regardless of the actual field typeminimum-alignment in structure field types are not supportedtrace.type.$features and trace.type.data-stream-types.*.$features need to be explicitly set (either false or some field type)See LICENSE for more details.
Copyright 2025 Auxon Corporation
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.