Centos-kernel-stream-9/tools/testing/selftests
Yauheni Kaliuta b92a5fb165 selftests/bpf: Add selftest for calling global functions from freplace
Bugzilla: https://bugzilla.redhat.com/2120968

commit 2cf7b7ffdae519b284f1406012b52e2282fa36bf
Author: Toke Høiland-Jørgensen <toke@redhat.com>
Date:   Mon Jun 6 09:52:52 2022 +0200

    selftests/bpf: Add selftest for calling global functions from freplace
    
    Add a selftest that calls a global function with a context object parameter
    from an freplace function to check that the program context type is
    correctly converted to the freplace target when fetching the context type
    from the kernel BTF.
    
    v2:
    - Trim includes
    - Get rid of global function
    - Use __noinline
    
    Signed-off-by: Toke Høiland-Jørgensen <toke@redhat.com>
    Link: https://lore.kernel.org/r/20220606075253.28422-2-toke@redhat.com
    Signed-off-by: Alexei Starovoitov <ast@kernel.org>

Signed-off-by: Yauheni Kaliuta <ykaliuta@redhat.com>
2022-11-30 12:47:07 +02:00
..
arm64
bpf selftests/bpf: Add selftest for calling global functions from freplace 2022-11-30 12:47:07 +02:00
breakpoints
capabilities
cgroup Merge: memcg: Add memory.reclaim support 2022-11-03 13:30:04 -04:00
clone3
core
cpu-hotplug
cpufreq
damon selftests/damon: add a test for DAMON sysfs interface 2022-10-12 07:27:57 -04:00
dma selftests dma: fix compile error for dma_map_benchmark 2022-10-27 11:31:38 -07:00
dmabuf-heaps
drivers selftests: spectrum-2: tc_flower_scale: Dynamically set scale target 2022-11-13 19:47:01 +01:00
efivarfs
exec
filesystems
firmware
fpu
ftrace
futex
gpio
ia64
intel_pstate
ipc
ir
kcmp
kexec
kmod
kselftest
kvm KVM: selftests: replace assertion with warning in access_tracking_perf_test 2022-10-31 07:53:43 -04:00
landlock
lib
livepatch
lkdtm selftests/lkdtm: Remove dead config option 2022-10-12 07:27:43 -04:00
locking
media_tests
membarrier
memfd
memory-hotplug
mincore
mount
mount_setattr
mqueue
nci
net Merge: Update mlxsw driver to upstream v5.19 2022-11-28 04:58:33 -05:00
netfilter Merge: netfilter: nft_fib: Fix for rpath check with VRF devices 2022-11-11 09:20:29 +01:00
nsfs
ntb
openat2
perf_events
pid_namespace
pidfd
powerpc
prctl
proc
pstore
ptp
ptrace
rcutorture rcutorture: Make torture.sh allow for --kasan 2022-08-30 17:22:22 -04:00
resctrl
rlimits
rseq
rtc
safesetid
sched
seccomp
sgx
sigaltstack
size
sparc64
splice
static_keys
sync
syscall_user_dispatch
sysctl
tc-testing selftests: tc-testing: Add testcases to test new flush behaviour 2022-11-13 16:59:02 +01:00
timens
timers
tmpfs
tpm2
uevent
user
vDSO
vm selftests/vm: enable running select groups of tests 2022-11-01 17:55:52 -06:00
watchdog
wireguard
x86 selftests/x86/corrupt_xstate_header: Use provided __cpuid_count() macro 2022-11-01 17:55:50 -06:00
zram
.gitignore
Makefile
gen_kselftest_tar.sh
kselftest.h selftests: Provide local define of __cpuid_count() 2022-11-01 17:55:50 -06:00
kselftest_deps.sh
kselftest_harness.h
kselftest_install.sh
kselftest_module.h
lib.mk
run_kselftest.sh