Home
last modified time | relevance | path

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

1234

/linux-6.1.9/Documentation/networking/devlink/
Ddevlink-selftests.rst7 The ``devlink-selftests`` API allows executing selftests on the device.
11 The ``devlink-selftests`` command should be run with a mask indicating
33 # Query selftests supported on the devlink device
34 $ devlink dev selftests show DEV
35 # Query selftests supported on all devlink devices
36 $ devlink dev selftests show
37 # Executes selftests on the device
38 $ devlink dev selftests run DEV id flash
/linux-6.1.9/Documentation/dev-tools/
Dkselftest.rst5 The kernel contains a set of "self tests" under the tools/testing/selftests/
34 Running the selftests (hotplug tests are run in limited mode)
39 $ make -C tools/testing/selftests
43 $ make -C tools/testing/selftests run_tests
54 kernel src. This is applicable to "Running a subset of selftests" section
72 to "Running a subset of selftests" section below.
78 Running a subset of selftests
86 $ make -C tools/testing/selftests TARGETS=ptrace run_tests
105 $ make -C tools/testing/selftests SKIP_TARGETS=ptrace run_tests
116 See the top-level tools/testing/selftests/Makefile for the list of all
[all …]
/linux-6.1.9/tools/testing/kunit/test_data/
Dtest_is_test_passed-kselftest.log3 # selftests: membarrier: membarrier_test_single_thread
8 ok 1 selftests: membarrier: membarrier_test_single_thread
9 # selftests: membarrier: membarrier_test_multi_thread
14 ok 2 selftests: membarrier: membarrier_test_multi_thread
/linux-6.1.9/tools/testing/selftests/rcutorture/bin/
Dtorture.sh350 …torture_set "rcutorture" tools/testing/selftests/rcutorture/bin/kvm.sh --allcpus --duration "$dura…
356 …torture_set "locktorture" tools/testing/selftests/rcutorture/bin/kvm.sh --torture lock --allcpus -…
362 …torture_set "scftorture" tools/testing/selftests/rcutorture/bin/kvm.sh --torture scf --allcpus --d…
369 …torture_set "rcurttorture" tools/testing/selftests/rcutorture/bin/kvm.sh --allcpus --duration "$du…
373 …torture_set "rcurttorture-exp" tools/testing/selftests/rcutorture/bin/kvm.sh --allcpus --duration …
397 …torture_set "rcuscale-$prim" tools/testing/selftests/rcutorture/bin/kvm.sh --torture rcuscale --al…
403 …torture_set "rcuscale-kvfree" tools/testing/selftests/rcutorture/bin/kvm.sh --torture rcuscale --a…
409 …torture_set "clocksourcewd-1" tools/testing/selftests/rcutorture/bin/kvm.sh --allcpus --duration 4…
412 …torture_set "clocksourcewd-2" tools/testing/selftests/rcutorture/bin/kvm.sh --allcpus --duration 4…
418 …torture_set "clocksourcewd-3" tools/testing/selftests/rcutorture/bin/kvm.sh --allcpus --duration 4…
[all …]
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
/linux-6.1.9/drivers/gpu/drm/i915/
DMakefile326 gem/selftests/i915_gem_client_blt.o \
327 gem/selftests/igt_gem_utils.o \
328 selftests/intel_scheduler_helpers.o \
329 selftests/i915_random.o \
330 selftests/i915_selftest.o \
331 selftests/igt_atomic.o \
332 selftests/igt_flush_test.o \
333 selftests/igt_live_test.o \
334 selftests/igt_mmap.o \
335 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-6.1.9/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-6.1.9/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
35 In case of linker errors when running selftests, try using static linking:
171 A set of selftests use BPF target-specific built-ins, which might require
192 Certain selftests, e.g. core_reloc, require support for the floating-point
201 Some selftests (e.g. kfunc_call and bpf_tcp_ca) require a LLVM support
204 Without it, the error from compiling bpf selftests looks like:
Dveristat.cfg1 # pre-canned list of rather complex selftests/bpf BPF object files to monitor
/linux-6.1.9/Documentation/bpf/
Dprog_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-6.1.9/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-6.1.9/tools/testing/selftests/arm64/
DREADME16 $ make -C tools/testing/selftests TARGETS=arm64 \
21 $ make -C tools/testing/selftests TARGETS=arm64 ARM64_SUBTARGETS="tags signal" \
/linux-6.1.9/tools/testing/selftests/resctrl/
DREADME24 $ make -C tools/testing/selftests TARGETS=resctrl
33 $ sudo make -C tools/testing/selftests TARGETS=resctrl run_tests
44 Build executable file "resctrl_tests" from this directory(tools/testing/selftests/resctrl/):
/linux-6.1.9/Documentation/fault-injection/
Dnotifier-error-inject.rst91 There are tools/testing/selftests using the notifier error injection features
94 * tools/testing/selftests/cpu-hotplug/cpu-on-off-test.sh
95 * tools/testing/selftests/memory-hotplug/mem-on-off-test.sh
/linux-6.1.9/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-6.1.9/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-6.1.9/tools/testing/selftests/rcutorture/
DMakefile3 ( cd ../../../..; tools/testing/selftests/rcutorture/bin/kvm.sh --duration 10 --configs TREE01 )
/linux-6.1.9/Documentation/security/
Dlandlock.rst64 support can be found here: `tools/testing/selftests/landlock/`_.
100 .. _tools/testing/selftests/landlock/:
101 …https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/tools/testing/selftests/land…
/linux-6.1.9/crypto/asymmetric_keys/
DKconfig79 bool "Run FIPS selftests on the X.509+PKCS7 signature verification"
81 This option causes some selftests to be run on the signature
/linux-6.1.9/samples/bpf/
DMakefile67 CGROUP_HELPERS := ../../tools/testing/selftests/bpf/cgroup_helpers.o
68 TRACE_HELPERS := ../../tools/testing/selftests/bpf/trace_helpers.o
198 TPROGS_CFLAGS += -I$(srctree)/tools/testing/selftests/bpf/
347 -I$(src)/../../tools/testing/selftests/bpf
436 -I$(obj) -I$(srctree)/tools/testing/selftests/bpf/ \

1234