mirror of https://github.com/aya-rs/aya
Merge pull request #404 from dave-tucker/async-docs
docs: Add labels for optional featurespull/406/head
commit
14ba644aa5
@ -1,12 +1,14 @@
|
||||
//! Ring buffer types used to receive events from eBPF programs using the linux `perf` API.
|
||||
//!
|
||||
//! See the [`PerfEventArray`] and [`AsyncPerfEventArray`].
|
||||
#[cfg(any(feature = "async", doc))]
|
||||
#[cfg(any(feature = "async"))]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "async")))]
|
||||
mod async_perf_event_array;
|
||||
mod perf_buffer;
|
||||
mod perf_event_array;
|
||||
|
||||
#[cfg(any(feature = "async", doc))]
|
||||
#[cfg(any(feature = "async"))]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "async")))]
|
||||
pub use async_perf_event_array::*;
|
||||
pub use perf_buffer::*;
|
||||
pub use perf_event_array::*;
|
||||
|
Loading…
Reference in New Issue