diff options
author | Martin KaFai Lau <kafai@fb.com> | 2020-01-23 02:36:52 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2020-01-23 03:30:10 +0300 |
commit | 0a49c1a8e26266ad505704f54f9fdaf2ae14cbdb (patch) | |
tree | d151c371bd68e4caac2dc4ab21a04492b58b6856 /tools/include | |
parent | 5576b991e9c1a11d2cc21c4b94fc75ec27603896 (diff) | |
download | linux-0a49c1a8e26266ad505704f54f9fdaf2ae14cbdb.tar.xz |
bpf: Sync uapi bpf.h to tools/
This patch sync uapi bpf.h to tools/.
Signed-off-by: Martin KaFai Lau <kafai@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20200122233652.903348-1-kafai@fb.com
Diffstat (limited to 'tools/include')
-rw-r--r-- | tools/include/uapi/linux/bpf.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/tools/include/uapi/linux/bpf.h b/tools/include/uapi/linux/bpf.h index e81628eb059c..f1d74a2bd234 100644 --- a/tools/include/uapi/linux/bpf.h +++ b/tools/include/uapi/linux/bpf.h @@ -2886,6 +2886,12 @@ union bpf_attr { * **-EPERM** if no permission to send the *sig*. * * **-EAGAIN** if bpf program can try again. + * + * u64 bpf_jiffies64(void) + * Description + * Obtain the 64bit jiffies + * Return + * The 64 bit jiffies */ #define __BPF_FUNC_MAPPER(FN) \ FN(unspec), \ @@ -3005,7 +3011,8 @@ union bpf_attr { FN(probe_read_user_str), \ FN(probe_read_kernel_str), \ FN(tcp_send_ack), \ - FN(send_signal_thread), + FN(send_signal_thread), \ + FN(jiffies64), /* integer value in 'imm' field of BPF_CALL instruction selects which helper * function eBPF program intends to call |