Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions thorlog/v3/process.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ type ProcessInfo struct {

ProcessConnections `textlog:",expand"`

Handles []ProcessHandle `json:"handles" textlog:"handles,expand"`

Threads []Thread `json:"threads" textlog:"threads,expand"`

Sections Sections `json:"sections,omitempty" textlog:"-"`
}

Expand Down Expand Up @@ -96,6 +100,17 @@ type ProcessConnections struct {
ConnectionCount int `json:"-" textlog:"connection_count"`
}

type ProcessHandle struct {
Name string `json:"name" textlog:"name"`
Handle uint64 `json:"handle" textlog:"handle,omitempty"`
Type string `json:"handle_type,omitempty" textlog:"type,omitempty"`
}

type Thread struct {
ThreadId uint32 `json:"id"`
Stack StringList `json:"stack" jsonschema:"nullable"`
}

type ProcessListenPorts []uint32

func (p ProcessListenPorts) String() string {
Expand Down
24 changes: 0 additions & 24 deletions thorlog/v3/processconnection.go

This file was deleted.

27 changes: 0 additions & 27 deletions thorlog/v3/processhandle.go

This file was deleted.

26 changes: 0 additions & 26 deletions thorlog/v3/thread.go

This file was deleted.

Loading