summaryrefslogtreecommitdiff
path: root/maps.bpf.h
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2024-02-11 22:28:41 +0200
committerPaul Buetow <paul@buetow.org>2024-02-11 22:28:41 +0200
commitfe024ec9fc47b96b5cc9b3301ebf311510568fda (patch)
tree3425a50020dceaf218e3192b5a1a881c43ab3ddf /maps.bpf.h
parent0f3e937fff5e8e7407f262694e8e2558bcfec703 (diff)
initial timestamps
Diffstat (limited to 'maps.bpf.h')
-rw-r--r--maps.bpf.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/maps.bpf.h b/maps.bpf.h
index afa1064..3cdfe25 100644
--- a/maps.bpf.h
+++ b/maps.bpf.h
@@ -4,6 +4,8 @@ struct open_event {
int fd;
int op_id;
u32 tid;
+ long enter_time;
+ long exit_time;
char filename[256];
char comm[16];
};
@@ -26,6 +28,8 @@ struct fd_event {
int fd;
int op_id;
u32 tid;
+ long enter_time;
+ long exit_time;
};
struct {