Home
last modified time | relevance | path

Searched refs:selftests (Results 1 – 25 of 82) sorted by relevance

1234

/Linux-v5.15/Documentation/dev-tools/
Dkselftest.rst5 The kernel contains a set of "self tests" under the tools/testing/selftests/
26 Running the selftests (hotplug tests are run in limited mode)
31 $ make -C tools/testing/selftests
35 $ make -C tools/testing/selftests run_tests
46 kernel src. This is applicable to "Running a subset of selftests" section
64 to "Running a subset of selftests" section below.
70 Running a subset of selftests
78 $ make -C tools/testing/selftests TARGETS=ptrace run_tests
97 $ make -C tools/testing/selftests SKIP_TARGETS=ptrace run_tests
108 See the top-level tools/testing/selftests/Makefile for the list of all
[all …]
/Linux-v5.15/drivers/gpu/drm/i915/
DMakefile283 gem/selftests/i915_gem_client_blt.o \
284 gem/selftests/igt_gem_utils.o \
285 selftests/intel_scheduler_helpers.o \
286 selftests/i915_random.o \
287 selftests/i915_selftest.o \
288 selftests/igt_atomic.o \
289 selftests/igt_flush_test.o \
290 selftests/igt_live_test.o \
291 selftests/igt_mmap.o \
292 selftests/igt_reset.o \
[all …]
DKconfig.debug170 bool "Enable selftests upon driver load"
178 Choose this option to allow the driver to perform selftests upon
180 exit the module after running the selftests (i.e. to prevent normal
188 bool "Enable broken and dangerous selftests"
193 This option enables the execution of selftests that are "dangerous"
/Linux-v5.15/tools/testing/selftests/rcutorture/bin/
Dtorture.sh342 …torture_set "rcutorture" tools/testing/selftests/rcutorture/bin/kvm.sh --allcpus --duration "$dura…
348 …torture_set "locktorture" tools/testing/selftests/rcutorture/bin/kvm.sh --torture lock --allcpus -…
354 …torture_set "scftorture" tools/testing/selftests/rcutorture/bin/kvm.sh --torture scf --allcpus --d…
378 …torture_set "rcuscale-$prim" tools/testing/selftests/rcutorture/bin/kvm.sh --torture rcuscale --al…
384 …torture_set "rcuscale-kvfree" tools/testing/selftests/rcutorture/bin/kvm.sh --torture rcuscale --a…
390 …torture_set "clocksourcewd-1" tools/testing/selftests/rcutorture/bin/kvm.sh --allcpus --duration 4…
393 …torture_set "clocksourcewd-2" tools/testing/selftests/rcutorture/bin/kvm.sh --allcpus --duration 4…
399 …torture_set "clocksourcewd-3" tools/testing/selftests/rcutorture/bin/kvm.sh --allcpus --duration 4…
423 …_ARG=1 tools/testing/selftests/rcutorture/bin/kcsan-collapse.sh tools/testing/selftests/rcutorture…
Dkvm-recheck-refscale.sh20 PATH=`pwd`/tools/testing/selftests/rcutorture/bin:$PATH; export PATH
Dkvm-recheck-rcuscale.sh20 PATH=`pwd`/tools/testing/selftests/rcutorture/bin:$PATH; export PATH
Dmkinitrd.sh10 D=tools/testing/selftests/rcutorture
/Linux-v5.15/drivers/dma-buf/
Dselftest.c26 } selftests[] = { variable
34 module_param_named(id, selftests[__idx_##n].enabled, bool, 0400);
155 return run_selftests(selftests, ARRAY_SIZE(selftests)); in st_init()
/Linux-v5.15/tools/testing/selftests/bpf/
DREADME.rst4 General instructions on running selftests can be found in
7 __ /Documentation/bpf/bpf_devel_QA.rst#q-how-to-run-bpf-selftests
13 It's now possible to run the selftests using ``tools/testing/selftests/bpf/vmtest.sh``.
19 bpf selftests, runs them (by default ``tools/testing/selftests/bpf/test_progs``) and
33 $ tools/testing/selftests/bpf/vmtest.sh -h
163 A set of selftests use BPF target-specific built-ins, which might require
184 Certain selftests, e.g. core_reloc, require support for the floating-point
193 Some selftests (e.g. kfunc_call and bpf_tcp_ca) require a LLVM support
196 Without it, the error from compiling bpf selftests looks like:
/Linux-v5.15/drivers/gpu/drm/selftests/
Dtest-drm_modeset_common.c19 err = run_selftests(selftests, ARRAY_SIZE(selftests), NULL); in test_drm_modeset_init()
Ddrm_selftest.c37 } selftests[] = { variable
45 module_param_named(id, selftests[__idx_##n].enabled, bool, 0400);
/Linux-v5.15/Documentation/bpf/
Dbpf_lsm.rst134 `tools/testing/selftests/bpf/progs/lsm.c`_ and the corresponding
135 userspace code in `tools/testing/selftests/bpf/prog_tests/test_lsm.c`_
140 .. _tools/testing/selftests/bpf/progs/lsm.c:
141 …https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/tools/testing/selftests/bpf/…
142 .. _tools/testing/selftests/bpf/prog_tests/test_lsm.c:
143 …https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/tools/testing/selftests/bpf/…
Ds390.rst122 -C tools/testing/selftests \
124 INSTALL_PATH=$PWD/tools/testing/selftests/kselftest_install \
162 cd /linux/tools/testing/selftests/kselftest_install
167 cd /linux/tools/testing/selftests/bpf
Dbpf_devel_QA.rst235 Q: samples/bpf preference vs selftests?
241 ``samples/bpf/``. The rationale is very simple: kernel selftests are
244 The more test cases we add to BPF selftests, the better the coverage
246 not that BPF kernel selftests cannot demo how a specific feature can
252 into kernel selftests.
254 If your sample looks like a test case, then go for BPF kernel selftests
413 Q: How to run BPF selftests
419 $ cd tools/testing/selftests/bpf/
432 In order to run through all BPF selftests, the following command is
442 tools/testing/selftests/bpf as closely as possible.
[all …]
/Linux-v5.15/tools/testing/selftests/rcutorture/doc/
Dinitrd.txt4 tools/testing/selftests/rcutorture/bin/mkinitrd.sh.
11 cd tools/testing/selftests/rcutorture
Drcu-test-image.txt5 $ size tools/testing/selftests/rcutorture/initrd/init
7 328 0 8 336 150 tools/testing/selftests/rcutorture/initrd/init
15 tools/testing/selftests/rcutorture/initrd
17 For example, your tools/testing/selftests/rcutorture/initrd/init might
/Linux-v5.15/tools/testing/selftests/arm64/
DREADME16 $ make -C tools/testing/selftests TARGETS=arm64 \
21 $ make -C tools/testing/selftests TARGETS=arm64 ARM64_SUBTARGETS="tags signal" \
DMakefile18 CFLAGS += -I$(top_srcdir)/tools/testing/selftests/
/Linux-v5.15/Documentation/fault-injection/
Dnotifier-error-inject.rst91 There are tools/testing/selftests using the notifier error injection features
94 * tools/testing/selftests/cpu-hotplug/on-off-test.sh
95 * tools/testing/selftests/memory-hotplug/on-off-test.sh
/Linux-v5.15/Documentation/translations/zh_CN/core-api/
Dprotection-keys.rst72 .. note:: pkey_set()是RDPKRU和WRPKRU指令的一个封装器。在tools/testing/selftests/x86/protection_keys.c中可以找到一个实现实…
73 tools/testing/selftests/x86/protection_keys.c.
/Linux-v5.15/tools/testing/selftests/livepatch/
DREADME29 To run the livepatch selftests, from the top of the kernel source tree:
31 % make -C tools/testing/selftests TARGETS=livepatch run_tests
/Linux-v5.15/Documentation/security/
Dlandlock.rst49 support can be found here: `tools/testing/selftests/landlock/`_.
85 .. _tools/testing/selftests/landlock/:
86 …https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/tools/testing/selftests/land…
/Linux-v5.15/tools/testing/selftests/rcutorture/
DMakefile3 ( cd ../../../..; tools/testing/selftests/rcutorture/bin/kvm.sh --duration 10 --configs TREE01 )
/Linux-v5.15/tools/
DMakefile88 selftests: FORCE target
104 perf selftests bootconfig spi turbostat usb \
/Linux-v5.15/samples/bpf/
DMakefile64 CGROUP_HELPERS := ../../tools/testing/selftests/bpf/cgroup_helpers.o
65 TRACE_HELPERS := ../../tools/testing/selftests/bpf/trace_helpers.o
200 TPROGS_CFLAGS += -I$(srctree)/tools/testing/selftests/bpf/
405 -I$(obj) -I$(srctree)/tools/testing/selftests/bpf/ \

1234