Expand description
§Event field types
These are the types that can be used in event fields. They are built-in Rust types wherever possible, newtype wrappers in some cases, or new dedicated types.
Re-exports§
pub use crate::fields::dynamic_params::*;
pub use crate::fields::event_flags::*;
Structs§
- PT_
ABSTIME - System time
- PT_BOOL
- Boolean value (0/1)
- PT_
ERRNO - Syscall result
- PT_FD
- File descriptor
- PT_
FDLIST - A list of file descriptors with flags
- PT_
FSRELPATH - A relative path
- PT_GID
- Group id
- PT_
IPNET - An IP network
- PT_
IPV4ADDR - An IPv4 address.
- PT_
IPV4NET - An IPv4 network
- PT_
IPV6ADDR - An IPv6 address.
- PT_
IPV6NET - An IPv6 network
- PT_PID
- Process or thread id
- PT_PORT
- IP port number
- PT_
RELTIME - A
Duration
type to represent a span of time, typically used for system timeouts. - PT_
SIGSET - Signal set (bitmask of signals, only the lower 32 bits are used)
- PT_
SIGTYPE - A signal number
- PT_
SOCKFAMILY - Socket family (
PPM_AF_*
) - PT_
SYSCALLID - A system call number
- PT_UID
- User id
Enums§
- PT_
IPADDR - An IP address, either IPv4 or IPv6.
- PT_
SOCKADDR - A socket address
- PT_
SOCKTUPLE - Socket tuple: describing both endpoints of a connection
Type Aliases§
- PT_
BYTEBUF - Arbitrary byte buffer (
[u8]
) - PT_
CHARBUF - C-style string (CStr)
- PT_
CHARBUFARRAY - Array of C-style strings (
Vec<&CStr>
) - PT_
CHARBUF_ PAIR_ ARRAY - Array of pairs of C-style strings (
Vec<(&CStr, &CStr)>
) - PT_
FSPATH - Represents a Unix-specific [
Path
] - PT_INT8
- Signed 8-bit value (i8)
- PT_
INT16 - Signed 16-bit value (i16)
- PT_
INT32 - Signed 32-bit value (i32)
- PT_
INT64 - Signed 64-bit value (i64)
- PT_
UINT8 - Unsigned 8-bit value (u8)
- PT_
UINT16 - Unsigned 16-bit value (u16)
- PT_
UINT32 - Unsigned 32-bit value (u32)
- PT_
UINT64 - Unsigned 64-bit value (u64)