File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -137,7 +137,7 @@ pub struct AsyncPerfEventArrayBuffer<T> {
137137 async_fd : Async < RawFd > ,
138138}
139139
140- #[ cfg( any ( feature = "async_tokio" ) ) ]
140+ #[ cfg( feature = "async_tokio" ) ]
141141impl < T : BorrowMut < MapData > + Borrow < MapData > > AsyncPerfEventArrayBuffer < T > {
142142 /// Reads events from the buffer.
143143 ///
Original file line number Diff line number Diff line change 11//! Ring buffer types used to receive events from eBPF programs using the linux `perf` API.
22//!
33//! See the [`PerfEventArray`](crate::maps::PerfEventArray) and [`AsyncPerfEventArray`](crate::maps::perf::AsyncPerfEventArray).
4- #[ cfg( any ( feature = "async" ) ) ]
4+ #[ cfg( feature = "async" ) ]
55#[ cfg_attr( docsrs, doc( cfg( feature = "async" ) ) ) ]
66mod async_perf_event_array;
77mod perf_buffer;
88mod perf_event_array;
99
10- #[ cfg( any ( feature = "async" ) ) ]
10+ #[ cfg( feature = "async" ) ]
1111#[ cfg_attr( docsrs, doc( cfg( feature = "async" ) ) ) ]
1212pub use async_perf_event_array:: * ;
1313pub use perf_buffer:: * ;
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ pub use od::*;
1515// PWD = Pointer Width Dependent
1616pub use pwd:: * ;
1717
18- #[ cfg( any ( target_arch = "bpf" ) ) ]
18+ #[ cfg( target_arch = "bpf" ) ]
1919mod ad {
2020 pub type c_int = i32 ;
2121 pub type c_uint = u32 ;
You can’t perform that action at this time.
0 commit comments