Skip to content

Commit

Permalink
feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
Noah-Kennedy committed Dec 22, 2024
1 parent f032997 commit e6dd48a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aya/src/bpf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ impl<'a> EbpfLoader<'a> {

/// Loads eBPF bytecode from a buffer.
///
/// The program will need to be aligned properly for you to use it.
/// The buffer will need to be aligned to 4 bytes.
/// If you are bundling this statically into your binary, it is recommended that you do so
/// using [`include_bytes_aligned`](crate::include_bytes_aligned).
///
Expand Down Expand Up @@ -902,7 +902,7 @@ impl Ebpf {
/// [maps](crate::maps) defined in it. If the kernel supports [BTF](Btf)
/// debug info, it is automatically loaded from `/sys/kernel/btf/vmlinux`.
///
/// The program will need to be aligned properly for you to use it.
/// The buffer will need to be aligned to 4 bytes.
/// If you are bundling this statically into your binary, it is recommended that you do so
/// using [`include_bytes_aligned`](crate::include_bytes_aligned).
///
Expand Down

0 comments on commit e6dd48a

Please sign in to comment.