summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorMaciej Żenczykowski <maze@google.com>2020-04-26 18:15:25 +0200
committerAlexei Starovoitov <ast@kernel.org>2020-04-26 18:43:05 +0200
commit71d19214776e61b33da48f7c1b46e522c7f78221 (patch)
tree424b2ecd19cc56edb46333e2a2773cd062bdaf82 /Documentation
parentxsk: Fix typo in xsk_umem_consume_tx and xsk_generic_xmit comments (diff)
downloadlinux-71d19214776e61b33da48f7c1b46e522c7f78221.tar.xz
linux-71d19214776e61b33da48f7c1b46e522c7f78221.zip
bpf: add bpf_ktime_get_boot_ns()
On a device like a cellphone which is constantly suspending and resuming CLOCK_MONOTONIC is not particularly useful for keeping track of or reacting to external network events. Instead you want to use CLOCK_BOOTTIME. Hence add bpf_ktime_get_boot_ns() as a mirror of bpf_ktime_get_ns() based around CLOCK_BOOTTIME instead of CLOCK_MONOTONIC. Signed-off-by: Maciej Żenczykowski <maze@google.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions