Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Connection ¶
type ConnectionMeta ¶
type Container ¶
type Container struct { ID string `json:"id"` Name string `json:"name"` SystemCalls FileSystem Network }
type FileSystem ¶
type FileSystem struct { // map file name to file AccessedFiles map[string]*File `json:"-"` // map layer path to layer info AccessedLayers map[string]*LayerInfo `json:"-"` // we have to record this to ensure the file search order LayersInOrder []string `json:"-"` // io calls whose latency is bigger than 1ms IOCalls1 []*IOCall `json:"io_calls_more_than_1ms"` // io calls whose latency is bigger than 10ms IOCalls10 []*IOCall `json:"io_calls_more_than_10ms"` // io calls whose latency is bigger than 100ms IOCalls100 []*IOCall `json:"io_calls_more_than_100ms"` TotalReadIn int64 `json:"file_total_read_in"` TotalWriteOut int64 `json:"file_total_write_out"` }
type LayerInfo ¶
type LayerInfo struct { Dir string `json:"dir"` AccessedFiles map[string]*File `json:"accessed_files"` WriteOut int64 `json:"layer_write_out"` ReadIn int64 `json:"layer_read_in"` }
func NewLayerInfo ¶
type Network ¶
type Network struct { ActiveConnections map[ConnectionMeta]*Connection `json:"-"` TotalReadIn int64 `json:"net_total_read_in"` TotalWriteOut int64 `json:"net_total_wirte_out"` }
type SystemCall ¶
type SystemCalls ¶
type SystemCalls struct { // map system call name to SystemCall IndividualCalls map[string]*SystemCall `json:"individual_calls"` TotalCalls int64 `json:"total_calls"` }
Click to show internal directories.
Click to hide internal directories.