#trace-points #user-events #linux #event-header #macro #eventheader-encoded

macro eventheader_macros

Rust macros for eventheader-encoded Linux Tracepoints via user_events

4 releases (breaking)

new 0.5.0 Nov 26, 2025
0.4.1 Feb 28, 2025
0.3.0 Jun 30, 2023
0.2.0 May 23, 2023

#1645 in Procedural macros

Download history 1381/week @ 2025-08-05 1484/week @ 2025-08-12 1294/week @ 2025-08-19 1217/week @ 2025-08-26 1133/week @ 2025-09-02 1182/week @ 2025-09-09 1301/week @ 2025-09-16 1358/week @ 2025-09-23 2308/week @ 2025-09-30 1516/week @ 2025-10-07 1327/week @ 2025-10-14 1012/week @ 2025-10-21 1389/week @ 2025-10-28 1388/week @ 2025-11-04 973/week @ 2025-11-11 1159/week @ 2025-11-18

5,117 downloads per month
Used in eventheader

MIT license

130KB
2.5K SLoC

Implements the macros that are exported by the eventheader crate.

Changelog

v0.4.1 (2025-02-28)

  • Handle invisible delimiters to support use of eventheader macros from within other macros.

v0.3.0 (2023-06-29)

  • If no consumers have enabled a tracepoint, the kernel now returns EBADF. The eventheader crate has been updated to be consistent with the new behavior.

v0.2.0 (2023-05-16)

  • Add support for macro-based logging.

EventHeader Proc Macros

Crates.io Documentation MIT licensed Build Status maintenance status

The eventheader_macros crate provides procedural macros for use with the eventheader crate.

No runtime deps