All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Allow constructing a
SampleIdfrom aSample.
- Fixed missing parsing support for
PERF_SAMPLE_CGROUPfield inSample.
- Parsing a
PERF_SAMPLE_RAWfield inSamplenow properly handles padding bytes when the field size is not a multiple of 8 bytes. - Parsing a
PERF_SAMPLE_STACK_USERfield inSamplewill no longer parse thedyn_sizefield when the static stack size is0.
- Parse the header for the
PERF_SAMPLE_RAWfield inSampleas au32instead of au64.
- Internal enum types are now declared using the
c-enumcrate.
Parseis now implemented forperf_event_attrfromperf_event_open_sys2.
- The debug representation of several record types has been changed to make it more readable.
- Fixed an infinite loop with unbounded memory usage in
ParseBufCursor::newwhen the first chunk returned by theParseBufhad length 0.
- Fixed compile breakage due to bitflags/bitflags#353
ReadValue::from_group_and_entryfor creating aReadValuefrom aReadGroupand aGroupEntry.
This is the very first release of the perf-event-data crate.