You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add support for pointers to builtin primitives #55
This came up in omicron, where we wanted to add a probe for raw bytes. A workaround is to use integers; e.g.,
#[usdt::provider(provider = "blahblah")]mod probes {fnraw_bytes(_data:u64,// TODO actually a `*const u8`, but that isn't currently allowed by usdt_len:u64,// length of data){}}
which functions correctly from the dtrace side but is a little awkward on the Rust side.
Activity
bnaecker commentedon Apr 14, 2022
Closed by #56