Crate pagemap[−][src]
A crate to provide a simple API to Linux kernel’s pagemap API.
Structs
DeviceNumbers | Major and minor numbers of a file. |
KPageFlags | kpageflags as defined in Linux, at |
MapsEntry | A memory mapping of a process, parsed from |
MemoryRegion | A region of virtual memory, defined by the first and the next-to-last addresses that it includes. |
PageMap | A handle used to read from: |
PageMapEntry | An entry read from |
PagePermissions | The permissions that a page may have. |
Enums
PageMapError | An error type returned by calls to the API exposed by this crate. |
Functions
maps | Convenience function for |
page_size | Retrieve system’s page size in bytes. |
pagemap | Convenience wrapper for |
uss | Calculate the “unique set size” (USS) (i.e., the amount of memory that a process is using which is not shared with any other process) in bytes. |
Type Definitions
Result | A custom |