ebpf: inline write_record_header

This seems to help the verifier keep track of where we're writing into
LOG_BUF
pull/350/head
Alessandro Decina 3 years ago committed by Dave Tucker
parent 81befa0661
commit bdb2750e66

@ -96,6 +96,7 @@ impl WriteToBuf for str {
#[allow(clippy::result_unit_err)] #[allow(clippy::result_unit_err)]
#[doc(hidden)] #[doc(hidden)]
#[inline(always)]
pub fn write_record_header( pub fn write_record_header(
buf: &mut [u8], buf: &mut [u8],
target: &str, target: &str,

Loading…
Cancel
Save