types

package
v0.12.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 2, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetColumns

func GetColumns() *columns.Columns[Event]

Types

type Event

type Event struct {
	eventtypes.Event

	Pid  uint32 `json:"pid,omitempty" column:"pid,template:pid"`
	Comm string `json:"comm,omitempty" column:"comm,template:comm"`
	// The most common signals are SIGKILL, SIGTERM, SIGINT (6 chars) and the
	// longest is SIGRTMIN+XX (11 chars).
	Signal    string `json:"signal,omitempty" column:"signal,minWidth:6,maxWidth:11,ellipsis:start"`
	TargetPid uint32 `json:"tpid,omitempty" column:"tpid,template:pid"`
	Retval    int    `json:"ret,omitempty" column:"ret,width:3,fixed"`
	MountNsID uint64 `json:"mountnsid,omitempty" column:"mntns,template:ns"`
}

func Base

func Base(ev eventtypes.Event) Event

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL