eventheader_dynamic 0.5.0

Rust API for runtime-specified eventheader-encoded Linux Tracepoints via user_events
Documentation
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.

//! Release history

#[allow(unused_imports)]
use crate::*; // For docs

/// # v0.5.0 (2025-11-26)
/// - Fix clippy issues for Rust 1.91.
pub mod v0_5_0 {}

/// # v0.4.1 (2025-02-28)
/// - Add support for the `BinaryLength16Char8` encoding via
///   [`EventBuilder::add_binary`].
pub mod v0_4_1 {}

/// # v0.3.5 (2023-02-27)
/// - Open `user_events_data` for WRONLY instead of RDWR.
pub mod v0_3_5 {}

/// # v0.3.4 (2023-11-27)
/// - Changed procedure for locating the `user_events_data` file.
///   - Old: parse `/proc/mounts` to determine the `tracefs` or `debugfs` mount
///     point, then use that as the root for the `user_events_data` path.
///   - New: try `/sys/kernel/tracing/user_events_data`; if that doesn't exist,
///     parse `/proc/mounts` to find the `tracefs` or `debugfs` mount point.
///   - Rationale: Probe an absolute path so that containers don't have to
///     create a fake `/proc/mounts` and for efficiency.
pub mod v0_3_4 {}

/// # v0.3.3 (2023-08-08)
/// - Add [`EventBuilder::add_struct_with_bookmark`] and
///   [`EventBuilder::set_struct_field_count`] methods to support cases where the number
///   of sub-fields of a struct is not known when the struct is started.
pub mod v0_3_3 {}

/// # v0.3.2 (2023-07-24)
/// - Prefer "tracefs" over "debugfs" when searching for `user_events_data`.
///   (Old behavior: no preference - use whichever comes first in mount list.)
pub mod v0_3_2 {}

/// # v0.3.1 (2023-07-12)
/// - Use `c_char` instead of `i8` for ffi strings.
pub mod v0_3_1 {}

/// # v0.3.0 (2023-06-29)
/// - If no consumers have enabled a tracepoint, the kernel now returns
///   `EBADF`. The eventheader_dynamic crate has been updated to be
///   consistent with the new behavior.
pub mod v0_3_0 {}

/// # v0.2.0 (2023-05-16)
/// - Add support for macro-based logging.
pub mod v0_2_0 {}

/// # v0.1.0 (2023-04-13)
/// - Initial release.
pub mod v0_1_0 {}