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.
Fields of InvalidPageCount
page_count: usize
perf_event_open
failed.
Fields of OpenError
io_error: Error
mmap
-ping the buffer failed.
Fields of MMapError
io_error: Error
The PERF_EVENT_IOC_ENABLE
ioctl failed
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.
Fields of MoreSpaceNeeded
size: usize
An IO error occurred.
Tuple Fields of IOError
0: Error