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
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.
The text was updated successfully, but these errors were encountered:
This came up in omicron, where we wanted to add a probe for raw bytes. A workaround is to use integers; e.g.,
which functions correctly from the dtrace side but is a little awkward on the Rust side.
The text was updated successfully, but these errors were encountered: