From: Geliang Tang
bpf_testmod_exit() should not have a return value, so this patch drops this
useless 'return' in it.
Acked-by: Jiri Olsa
Signed-off-by: Geliang Tang
---
v2:
- rebase on top of latest bpf-next/master.
---
tools/testing/selftests/bpf/bpf_testmod/bpf_testmod.c | 2 +-
1 file c
Björn Töpel writes:
> Björn Töpel writes:
>
>> From: Björn Töpel
>>
>> Currently, "make install" does not install the required test_progs
>> "extra files" (e.g. kernel modules, helper shell scripts, etc.) for
>> the BPF machine flavors (e.g. cpuv4).
>>
>> Add the missing "extra files" dependenc
From: Jo Van Bulck
[ Upstream commit 9fd552ee32c6c1e27c125016b87d295bea6faea7 ]
DEFINED only considers symbols, not section names. Hence, replace the
check for .got.plt with the _GLOBAL_OFFSET_TABLE_ symbol and remove other
(non-essential) asserts.
Signed-off-by: Jo Van Bulck
Signed-off-by: Da
From: Jo Van Bulck
[ Upstream commit 9fd552ee32c6c1e27c125016b87d295bea6faea7 ]
DEFINED only considers symbols, not section names. Hence, replace the
check for .got.plt with the _GLOBAL_OFFSET_TABLE_ symbol and remove other
(non-essential) asserts.
Signed-off-by: Jo Van Bulck
Signed-off-by: Da
From: Jo Van Bulck
[ Upstream commit 9fd552ee32c6c1e27c125016b87d295bea6faea7 ]
DEFINED only considers symbols, not section names. Hence, replace the
check for .got.plt with the _GLOBAL_OFFSET_TABLE_ symbol and remove other
(non-essential) asserts.
Signed-off-by: Jo Van Bulck
Signed-off-by: Da
From: Jo Van Bulck
[ Upstream commit 9fd552ee32c6c1e27c125016b87d295bea6faea7 ]
DEFINED only considers symbols, not section names. Hence, replace the
check for .got.plt with the _GLOBAL_OFFSET_TABLE_ symbol and remove other
(non-essential) asserts.
Signed-off-by: Jo Van Bulck
Signed-off-by: Da
=== Description ===
This is a bpf-treewide change that annotates all kfuncs as such inside
.BTF_ids. This annotation eventually allows us to automatically generate
kfunc prototypes from bpftool.
We store this metadata inside a yet-unused flags field inside struct
btf_id_set8 (thanks Kumar!). paho
This commit marks kfuncs as such inside the .BTF_ids section. The upshot
of these annotations is that we'll be able to automatically generate
kfunc prototypes for downstream users. The process is as follows:
1. In source, use BTF_KFUNCS_START/END macro pair to mark kfuncs
2. During build, pahole i
On 2024/1/27 上午4:28, Sean Christopherson wrote:
On Thu, Jan 25, 2024, Bibo Mao wrote:
diff --git a/tools/testing/selftests/kvm/set_memory_region_test.c
b/tools/testing/selftests/kvm/set_memory_region_test.c
index 075b80dbe237..7b09e59296be 100644
--- a/tools/testing/selftests/kvm/set_memory_
On 2024/1/27 上午4:32, Sean Christopherson wrote:
On Thu, Jan 25, 2024, Bibo Mao wrote:
---
Tianrui Zhao (4):
KVM: selftests: Add KVM selftests header files for LoongArch
KVM: selftests: Add core KVM selftests support for LoongArch
KVM: selftests: Add ucall test support for LoongArch
From: Björn Töpel
Here's the fourth try. The "make install" target for the BPF selftests
are missing a bunch of files, which makes the BPF machine flavor fail
(e.g. cpuv4).
This series aims to fix that, but explicitly installing bpftool, all
the BPF programs, and the utilities defined by the TRU
From: Björn Töpel
The glob path, progs/*.bpf.o, is no longer a correct path. The BPF
object files reside in the top directory, or in the per-flavor
directory (e.g. cpuv4).
Remove the incorrect object path.
Signed-off-by: Björn Töpel
---
tools/testing/selftests/bpf/Makefile | 3 +--
1 file cha
From: Björn Töpel
Currently, "make install" does not install the required test_progs
"extra files" (e.g. kernel modules, helper shell scripts, etc.) for
the BPF machine flavors (e.g. cpuv4).
Add the missing "extra files" dependencies to rsync, called from the
install target.
Unfortunately, ksel
From: Björn Töpel
bpftool is required for some test_progs tests. Make sure it is
installed as part of the install target.
Signed-off-by: Björn Töpel
---
tools/testing/selftests/bpf/Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tools/testing/selftests/bpf/Makefi
14 matches
Mail list logo