Files
kernel_xiaomi_sm8250/kernel
Maciej Żenczykowski 56a19038c1 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
Git-commit: 4812ec5093
Git-repo: https://android.googlesource.com/kernel/common
Signed-off-by: Sharath Chandra Vurukala <quic_sharathv@quicinc.com>
2023-09-22 15:58:40 +05:30
..
2019-12-13 08:51:11 +01:00
2019-12-01 09:17:17 +01:00
2020-04-29 19:16:15 +02:00
2022-04-06 12:09:11 +05:30
2020-01-15 14:51:23 +00:00
2019-08-12 13:36:37 -04:00
2020-10-01 16:49:05 +02:00
2020-10-06 12:41:10 +05:30
2019-03-06 15:59:21 +00:00