Maciej Żenczykowski
0934349866
BACKPORT: 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>
(cherry picked from commit 71d19214776e61b33da48f7c1b46e522c7f78221)
Change-Id: Ifd62c410dcc5112fd1a473a7e1f70231ca514bc0
2021-02-12 01:58:59 -08:00
..
accounting
tools/accounting/getdelays.c: fix netlink attribute length
2020-04-13 10:48:08 +02:00
arch
x86/syscalls: Revert "x86/syscalls: Make __X32_SYSCALL_BIT be unsigned long"
2020-06-03 08:21:29 +02:00
bpf
tools, bpftool: Fix wrong return value in do_dump()
2020-08-19 08:16:19 +02:00
build
Revert "ANDROID: Revert: Merge 5.4.60 into android11-5.4"
2020-08-23 13:12:51 +02:00
cgroup
iocost_monitor: drop string wrap around numbers when outputting json
2020-06-22 09:31:01 +02:00
debugging
firewire
firmware
gpio
tools: gpio: Fix out-of-tree build regression
2020-04-17 10:50:17 +02:00
hv
- First round of vmbus hibernation support from Dexuan Cui.
2019-09-24 12:36:31 -07:00
iio
include
BACKPORT: bpf: add bpf_ktime_get_boot_ns()
2021-02-12 01:58:59 -08:00
io_uring
kvm /kvm_stat
tools/kvm_stat: Fix kvm_exit filter name
2020-02-11 04:35:36 -08:00
laptop
leds
lib
tools lib traceevent: Fix memory leak in process_dynamic_array_len
2020-08-11 15:33:38 +02:00
memory-model
tools/memory-model: Fix data race detection for unordered store and load
2019-12-31 16:43:40 +01:00
nfsd
objtool
kbuild: support LLVM=1 to switch the default tools to Clang/LLVM
2020-08-26 10:40:47 +02:00
pci
tools: PCI: Fix fd leakage
2020-01-17 19:48:54 +01:00
pcmcia
perf
perf probe: Fix memory leakage when the probe point is not found
2020-08-26 10:40:48 +02:00
power
tools/power turbostat: Fix 32-bit capabilities warning
2020-04-08 09:08:39 +02:00
scripts
tools: Let O= makes handle a relative path with -C option
2020-04-01 11:02:00 +02:00
spi
testing
This is the 5.4.61 stable release
2020-08-26 11:11:38 +02:00
thermal /tmon
time
usb
usbip: Fix unsafe unaligned pointer usage
2020-02-24 08:36:44 +01:00
virtio
tools/virtio: xen stub
2019-10-13 09:38:27 -04:00
vm
tools/vm: fix cross-compile build
2020-04-29 16:33:15 +02:00
wmi
Makefile