]> git.baikalelectronics.ru Git - kernel.git/commit
bpf: add specification for BTF Var and DataSec kinds
authorDaniel Borkmann <daniel@iogearbox.net>
Tue, 9 Apr 2019 21:20:08 +0000 (23:20 +0200)
committerAlexei Starovoitov <ast@kernel.org>
Wed, 10 Apr 2019 00:05:46 +0000 (17:05 -0700)
commitf1b6dfecc7ed99451bd8525b03759cc0a796155a
treeeb02d0246dbbcc1a4a96fc7a129d916ae064f503
parentcff5f0cfaed63a942544502b7f45a95c891c10ec
bpf: add specification for BTF Var and DataSec kinds

This adds the BTF specification and UAPI bits for supporting BTF Var
and DataSec kinds. This is following LLVM upstream commit ac4082b77e07
("[BPF] Add BTF Var and DataSec Support") which has been merged recently.
Var itself is for describing a global variable and DataSec to describe
ELF sections e.g. data/bss/rodata sections that hold one or multiple
global variables.

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Martin KaFai Lau <kafai@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Documentation/bpf/btf.rst
include/uapi/linux/btf.h