From: Alexei Starovoitov <ast@kernel.org>
Date: Thu, 22 Aug 2019 22:52:13 -0700
Subject: tools/bpf: sync bpf.h
Patch-mainline: v5.4-rc1
Git-commit: 0fc2e0b84ba725c5e6ee66059936638389e67c80
References: bsc#1154353
sync bpf.h from kernel/ to tools/
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Song Liu <songliubraving@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Thomas Bogendoerfer <tbogendoerfer@suse.de>
---
tools/include/uapi/linux/bpf.h | 3 +++
1 file changed, 3 insertions(+)
--- a/tools/include/uapi/linux/bpf.h
+++ b/tools/include/uapi/linux/bpf.h
@@ -285,6 +285,9 @@ enum bpf_attach_type {
*/
#define BPF_F_TEST_RND_HI32 (1U << 2)
+/* The verifier internal test flag. Behavior is undefined */
+#define BPF_F_TEST_STATE_FREQ (1U << 3)
+
/* When BPF ldimm64's insn[0].src_reg != 0 then this can have
* two extensions:
*