Re: [PATCH bpf-next v3 1/2] bpf: Add bpf_ktime_get_real_ns

2020-09-24 Thread Daniel Borkmann
On 9/24/20 4:25 AM, bimmy.puj...@intel.com wrote: From: Bimmy Pujari The existing bpf helper functions to get timestamp return the time elapsed since system boot. This timestamp is not particularly useful where epoch timestamp is required or more than one server is involved and time sync is req

[PATCH bpf-next v3 1/2] bpf: Add bpf_ktime_get_real_ns

2020-09-23 Thread bimmy . pujari
From: Bimmy Pujari The existing bpf helper functions to get timestamp return the time elapsed since system boot. This timestamp is not particularly useful where epoch timestamp is required or more than one server is involved and time sync is required. Instead, you want to use CLOCK_REALTIME, whic