Skip to content

Commit

Permalink
Missed ts_boot for network events
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholasberlin committed Nov 7, 2024
1 parent f8b0fc6 commit 08352f6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion GPL/Events/Network/Network.h
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,8 @@ static int ebpf_network_event__fill(struct ebpf_net_event *evt, struct sock *sk)
struct task_struct *task = (struct task_struct *)bpf_get_current_task();
ebpf_pid_info__fill(&evt->pids, task);
bpf_get_current_comm(evt->comm, TASK_COMM_LEN);
evt->hdr.ts = bpf_ktime_get_ns();
evt->hdr.ts = bpf_ktime_get_ns();
evt->hdr.ts_boot = bpf_ktime_get_boot_ns_helper();

out:
return err;
Expand Down

0 comments on commit 08352f6

Please sign in to comment.