diff options
| author | Paul Buetow <paul@buetow.org> | 2024-02-11 22:28:41 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2024-02-11 22:28:41 +0200 |
| commit | fe024ec9fc47b96b5cc9b3301ebf311510568fda (patch) | |
| tree | 3425a50020dceaf218e3192b5a1a881c43ab3ddf /main.go | |
| parent | 0f3e937fff5e8e7407f262694e8e2558bcfec703 (diff) | |
initial timestamps
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 20 |
1 files changed, 12 insertions, 8 deletions
@@ -22,11 +22,13 @@ type BpfMapper interface { } type openEvent struct { - FD int32 - OpID int32 - TID uint32 - Filename [256]byte - Comm [16]byte + FD int32 + OpID int32 + TID uint32 + EnterTime int64 + ExitTime int64 + Filename [256]byte + Comm [16]byte } func (e openEvent) String() string { @@ -37,9 +39,11 @@ func (e openEvent) String() string { } type fdEvent struct { - FD int32 - OpID int32 - TID uint32 + FD int32 + OpID int32 + TID uint32 + EnterTime int64 + ExitTime int64 } func (e fdEvent) String() string { |
