Enum aya::maps::perf::PerfBufferError [−][src]
pub enum PerfBufferError { InvalidPageCount { page_count: usize, }, OpenError { io_error: Error, }, MMapError { io_error: Error, }, PerfEventEnableError { io_error: Error, }, NoBuffers, MoreSpaceNeeded { size: usize, }, IOError(Error), }
Expand description
Perf buffer error.
Variants
the page count value passed to PerfEventArray::open
is invalid.
Show fields
Fields of InvalidPageCount
page_count: usize
perf_event_open
failed.
Show fields
Fields of OpenError
io_error: Error
mmap
-ping the buffer failed.
Show fields
Fields of MMapError
io_error: Error
The PERF_EVENT_IOC_ENABLE
ioctl failed
Show fields
Fields of PerfEventEnableError
io_error: Error
read_events()
was called with no output buffers.
read_events()
was called with a buffer that is not large enough to
contain the next event in the perf buffer.
Show fields
Fields of MoreSpaceNeeded
size: usize
IOError(Error)
An IO error occurred.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for PerfBufferError
impl Send for PerfBufferError
impl Sync for PerfBufferError
impl Unpin for PerfBufferError
impl !UnwindSafe for PerfBufferError