Skip to content

Commit af50eec

Browse files
Missed ts_boot for network events
1 parent 923ba94 commit af50eec

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

GPL/Events/Network/Network.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,8 @@ static int ebpf_network_event__fill(struct ebpf_net_event *evt, struct sock *sk)
8888
struct task_struct *task = (struct task_struct *)bpf_get_current_task();
8989
ebpf_pid_info__fill(&evt->pids, task);
9090
bpf_get_current_comm(evt->comm, TASK_COMM_LEN);
91-
evt->hdr.ts = bpf_ktime_get_ns();
91+
evt->hdr.ts = bpf_ktime_get_ns();
92+
evt->hdr.ts_boot = bpf_ktime_get_boot_ns_helper();
9293

9394
out:
9495
return err;

0 commit comments

Comments
 (0)