Skip to content

Commit 4e0c7ea

Browse files
d-e-s-odanielocfb
authored andcommitted
Add CHANGELOG entry for #776
Add a CHANGELOG entry for pull request #776, which added support for user ring buffers to the library. Also make sure to export UserRingBufferSample publicly to reduce friction when working with it. Signed-off-by: Daniel Müller <[email protected]>
1 parent 028aaa1 commit 4e0c7ea

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

libbpf-rs/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
Unreleased
22
----------
3+
- Added support for user ring buffers
34
- Fixed handling of bloom filter type maps
45
- Added `Map::lookup_bloom_filter` for looking up elements in a bloom filter
56

libbpf-rs/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ pub use crate::tc::TC_H_MIN_EGRESS;
146146
pub use crate::tc::TC_H_MIN_INGRESS;
147147
pub use crate::tc::TC_INGRESS;
148148
pub use crate::user_ringbuf::UserRingBuffer;
149+
pub use crate::user_ringbuf::UserRingBufferSample;
149150
pub use crate::util::num_possible_cpus;
150151
pub use crate::xdp::Xdp;
151152
pub use crate::xdp::XdpFlags;

libbpf-rs/src/user_ringbuf.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ impl UserRingBuffer {
147147

148148
// The libbpf API does not return an error code, so we cannot determine
149149
// if the submission was successful. Return a `Result` to enable future
150-
// validation while maintaing backwards compatibility.
150+
// validation while maintaining backwards compatibility.
151151
Ok(())
152152
}
153153
}

0 commit comments

Comments
 (0)