Versions in this module Expand all Collapse all v1 v1.0.0 Dec 27, 2022 Changes in this version + const AT_FDCWD + const BPF_F_INNER_MAP + const BPF_F_KPROBE_MULTI_RETURN + const BPF_F_MMAPABLE + const BPF_F_NO_PREALLOC + const BPF_F_NUMA_NODE + const BPF_F_RDONLY + const BPF_F_RDONLY_PROG + const BPF_F_SLEEPABLE + const BPF_F_WRONLY + const BPF_F_WRONLY_PROG + const BPF_OBJ_NAME_LEN + const BPF_RINGBUF_BUSY_BIT + const BPF_RINGBUF_DISCARD_BIT + const BPF_RINGBUF_HDR_SZ + const BPF_STATS_RUN_TIME + const BPF_TAG_SIZE + const E2BIG + const EACCES + const EAGAIN + const EBADF + const EEXIST + const EFAULT + const EILSEQ + const EINTR + const EINVAL + const EM_BPF + const EM_NONE + const ENODEV + const ENOENT + const ENOSPC + const EOPNOTSUPP + const EPERM + const EPOLLIN + const EPOLL_CLOEXEC + const EPOLL_CTL_ADD + const ESRCH + const F_DUPFD_CLOEXEC + const MAP_SHARED + const O_CLOEXEC + const O_NONBLOCK + const PERF_ATTR_SIZE_VER1 + const PERF_COUNT_SW_BPF_OUTPUT + const PERF_EVENT_IOC_DISABLE + const PERF_EVENT_IOC_ENABLE + const PERF_EVENT_IOC_SET_BPF + const PERF_FLAG_FD_CLOEXEC + const PERF_RECORD_LOST + const PERF_RECORD_SAMPLE + const PERF_SAMPLE_RAW + const PERF_TYPE_SOFTWARE + const PERF_TYPE_TRACEPOINT + const PROT_READ + const PROT_WRITE + const PerfBitWatermark + const RENAME_NOREPLACE + const RLIMIT_MEMLOCK + const RLIM_INFINITY + const SIGPROF + const SIG_BLOCK + const SIG_UNBLOCK + const SOL_SOCKET + const SO_ATTACH_BPF + const SO_DETACH_BPF + const SYS_BPF + func BytePtrFromString(s string) (*byte, error) + func ByteSliceToString(s []byte) string + func Close(fd int) (err error) + func EpollCreate1(flag int) (fd int, err error) + func EpollCtl(epfd int, op int, fd int, event *EpollEvent) (err error) + func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) + func Eventfd(initval uint, flags int) (fd int, err error) + func FcntlInt(fd uintptr, cmd, arg int) (int, error) + func Fstat(fd int, stat *Stat_t) error + func Getpid() int + func Gettid() int + func IoctlSetInt(fd int, req uint, value int) error + func Mmap(fd int, offset int64, length int, prot int, flags int) (data []byte, err error) + func Munmap(b []byte) (err error) + func Open(path string, mode int, perm uint32) (int, error) + func PerfEventOpen(attr *PerfEventAttr, pid int, cpu int, groupFd int, flags int) (fd int, err error) + func Prlimit(pid, resource int, new, old *Rlimit) error + func PthreadSigmask(how int, set, oldset *Sigset_t) error + func Renameat2(olddirfd int, oldpath string, newdirfd int, newpath string, flags uint) error + func SetNonblock(fd int, nonblocking bool) (err error) + func Statfs(path string, buf *Statfs_t) (err error) — linux/amd64 + func Statfs(path string, buf *Statfs_t) error — darwin/amd64, js/wasm, windows/amd64 + func Syscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err syscall.Errno) + func Tgkill(tgid int, tid int, sig syscall.Signal) (err error) + func Uname(buf *Utsname) (err error) + func Write(fd int, p []byte) (n int, err error) + type EpollEvent = linux.EpollEvent — linux/amd64 + type EpollEvent struct — darwin/amd64, js/wasm, windows/amd64 + Events uint32 + Fd int32 + Pad int32 + type PerfEventAttr = linux.PerfEventAttr — linux/amd64 + type PerfEventAttr struct — darwin/amd64, js/wasm, windows/amd64 + Aux_watermark uint32 + Bits uint64 + Bp_type uint32 + Branch_sample_type uint64 + Clockid int32 + Config uint64 + Ext1 uint64 + Ext2 uint64 + Read_format uint64 + Sample uint64 + Sample_max_stack uint16 + Sample_regs_intr uint64 + Sample_regs_user uint64 + Sample_stack_user uint32 + Sample_type uint64 + Size uint32 + Type uint32 + Wakeup uint32 + type PerfEventMmapPage = linux.PerfEventMmapPage — linux/amd64 + type PerfEventMmapPage struct — darwin/amd64, js/wasm, windows/amd64 + Aux_head uint64 + Aux_offset uint64 + Aux_size uint64 + Aux_tail uint64 + Capabilities uint64 + Compat_version uint32 + Data_head uint64 + Data_offset uint64 + Data_size uint64 + Data_tail uint64 + Index uint32 + Lock uint32 + Offset int64 + Pmc_width uint16 + Size uint32 + Time_enabled uint64 + Time_mult uint32 + Time_offset uint64 + Time_running uint64 + Time_shift uint16 + Time_zero uint64 + Version uint32 + type Rlimit = linux.Rlimit — linux/amd64 + type Rlimit struct — darwin/amd64, js/wasm, windows/amd64 + Cur uint64 + Max uint64 + type Signal = linux.Signal — linux/amd64 + type Signal int — darwin/amd64, js/wasm, windows/amd64 + type Sigset_t = linux.Sigset_t — linux/amd64 + type Sigset_t struct — darwin/amd64, js/wasm, windows/amd64 + Val [4]uint64 + type Stat_t = linux.Stat_t — linux/amd64 + type Stat_t struct — darwin/amd64, js/wasm, windows/amd64 + type Statfs_t = linux.Statfs_t — linux/amd64 + type Statfs_t struct — darwin/amd64, js/wasm, windows/amd64 + Bavail uint64 + Bfree uint64 + Blocks uint64 + Bsize int64 + Ffree uint64 + Files uint64 + Flags int64 + Frsize int64 + Fsid [2]int32 + Namelen int64 + Spare [4]int64 + Type int64 + type Utsname = linux.Utsname — linux/amd64 + type Utsname struct — darwin/amd64, js/wasm, windows/amd64 + Release [65]byte + Version [65]byte