Home
last modified time | relevance | path

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

123456

/linux-6.15/Documentation/networking/devlink/
H A 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.15/Documentation/dev-tools/
H A Dkselftest.rst49 $ make -C tools/testing/selftests
88 Running a subset of selftests
129 Running the full range hotplug selftests
143 Install selftests
147 tool) to install selftests in the default location (`tools/testing/selftests/kselftest_install`),
150 To install selftests in default location::
158 Running installed selftests
181 Timeout for selftests
203 Packaging selftests
229 In general, the rules for selftests are
[all …]
/linux-6.15/tools/testing/selftests/net/rds/
H A DREADME.txt18 -d Log directory. Defaults to tools/testing/selftests/net/rds/rds_logs
29 tools/testing/selftests/net/rds/config.sh -g
32 tools/testing/selftests/net/rds/config.sh
35 vng --build --config tools/testing/selftests/net/config
39 "export PYTHONPATH=tools/testing/selftests/net/; tools/testing/selftests/net/rds/run.sh"
41 An HTML coverage report will be output in tools/testing/selftests/net/rds/rds_logs/coverage/.
/linux-6.15/tools/testing/kunit/test_data/
H A 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.15/tools/testing/selftests/rcutorture/bin/
H A Dtorture.sh432 …torture_set "rcutorture" tools/testing/selftests/rcutorture/bin/kvm.sh --allcpus --duration "$dura…
438 …torture_set "locktorture" tools/testing/selftests/rcutorture/bin/kvm.sh --torture lock --allcpus -…
453 …torture_set "rcurttorture" tools/testing/selftests/rcutorture/bin/kvm.sh --allcpus --duration "$du…
457 …torture_set "rcurttorture-exp" tools/testing/selftests/rcutorture/bin/kvm.sh --allcpus --duration …
463 …tools/testing/selftests/rcutorture/bin/srcu_lockdep.sh --datestamp "$ds/results-srcu-lockdep" > $T…
540 …torture_set "rcuscale-$prim" tools/testing/selftests/rcutorture/bin/kvm.sh --torture rcuscale --al…
568 …torture_set "rcuscale-$prim$torture_suffix" tools/testing/selftests/rcutorture/bin/kvm-again.sh "`…
584 …torture_set "clocksourcewd-1" tools/testing/selftests/rcutorture/bin/kvm.sh --allcpus --duration 4…
587 …torture_set "clocksourcewd-2" tools/testing/selftests/rcutorture/bin/kvm.sh --allcpus --duration 4…
593 …torture_set "clocksourcewd-3" tools/testing/selftests/rcutorture/bin/kvm.sh --allcpus --duration 4…
[all …]
/linux-6.15/tools/testing/selftests/drivers/net/
H A DREADME.rst16 In this mode the tests are indistinguishable from other selftests and
17 (for example) can be run under ``virtme-ng`` like the core networking selftests.
46 $ cat tools/testing/selftests/drivers/net/net.config
92 Build the selftests::
94 # make -C tools/testing/selftests/ TARGETS="drivers/net drivers/net/hw"
98 # make -C tools/testing/selftests/ TARGETS="drivers/net drivers/net/hw" \
109 # selftests: drivers/net: ping.py
116 ok 1 selftests: drivers/net: ping.py
/linux-6.15/tools/testing/selftests/bpf/
H A DREADME.rst4 General instructions on running selftests can be found in
7 __ /Documentation/bpf/bpf_devel_QA.rst#q-how-to-run-bpf-selftests
14 automated fashion. The system runs selftests for each patch in a series. Results
23 file fragments below ``tools/testing/selftests/bpf/`` (e.g., ``config`` and
35 In addition to that, the generic ``tools/testing/selftests/bpf/DENYLIST`` is
52 It's now possible to run the selftests using ``tools/testing/selftests/bpf/vmtest.sh``.
74 $ tools/testing/selftests/bpf/vmtest.sh -h
107 tools/testing/selftests/bpf/vmtest.sh \
110 \"$(cat tools/testing/selftests/bpf/DENYLIST.riscv64 \
272 Some selftests (e.g. kfunc_call and bpf_tcp_ca) require a LLVM support
[all …]
/linux-6.15/drivers/dma-buf/
H A 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.15/drivers/gpu/drm/i915/
H A DMakefile382 gem/selftests/i915_gem_client_blt.o \
383 gem/selftests/igt_gem_utils.o \
384 selftests/i915_random.o \
385 selftests/i915_selftest.o \
386 selftests/igt_atomic.o \
387 selftests/igt_flush_test.o \
388 selftests/igt_live_test.o \
389 selftests/igt_mmap.o \
390 selftests/igt_reset.o \
391 selftests/igt_spinner.o \
[all …]
H A DKconfig.debug192 bool "Enable selftests upon driver load"
200 Choose this option to allow the driver to perform selftests upon
202 exit the module after running the selftests (i.e. to prevent normal
210 bool "Enable broken and dangerous selftests"
215 This option enables the execution of selftests that are "dangerous"
/linux-6.15/Documentation/bpf/
H A Dmap_sockmap.rst348 - `tools/testing/selftests/bpf/progs/test_sockmap_kern.h`_
349 - `tools/testing/selftests/bpf/progs/sockmap_parse_prog.c`_
350 - `tools/testing/selftests/bpf/progs/sockmap_verdict_prog.c`_
351 - `tools/testing/selftests/bpf/progs/test_sockmap_listen.c`_
352 - `tools/testing/selftests/bpf/progs/test_sockmap_update.c`_
439 - `tools/testing/selftests/bpf/prog_tests/sockmap_basic.c`_
440 - `tools/testing/selftests/bpf/test_sockmap.c`_
441 - `tools/testing/selftests/bpf/test_maps.c`_
491 …testing/selftests/bpf/progs/test_sockmap_kern.h`: https://git.kernel.org/pub/scm/linux/kernel/git/…
495 …ools/testing/selftests/bpf/test_sockmap.c`: https://git.kernel.org/pub/scm/linux/kernel/git/torval…
[all …]
H A 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/…
H A 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
/linux-6.15/Documentation/translations/zh_CN/security/
H A Dlandlock.rst87 找到:tools/testing/selftests/landlock/
121 .. _tools/testing/selftests/landlock/:
123 https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/tools/testing/selftests/landl…
/linux-6.15/tools/testing/selftests/livepatch/
H A DREADME24 % make -C tools/testing/selftests/livepatch
32 Test kernel modules are built before running the livepatch selftests. The
38 To run the livepatch selftests, from the top of the kernel source tree:
40 % make -C tools/testing/selftests TARGETS=livepatch run_tests
/linux-6.15/tools/testing/selftests/hid/
H A Dvmtest.sh40 $0 -- ./tools/testing/selftests/hid/hid_bpf
48 O=<kernel_build_path> $0 -- ./tools/testing/selftests/hid/hid_bpf
52 KBUILD_OUTPUT=<kernel_build_path> $0 -- ./tools/testing/selftests/hid/hid_bpf
58 -b) Run only the build steps for the kernel and the selftests
/linux-6.15/tools/testing/selftests/rcutorture/doc/
H A Dinitrd.txt4 tools/testing/selftests/rcutorture/bin/mkinitrd.sh.
11 cd tools/testing/selftests/rcutorture
H A 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.15/tools/testing/selftests/arm64/
H A DREADME16 $ make -C tools/testing/selftests TARGETS=arm64 \
21 $ make -C tools/testing/selftests TARGETS=arm64 ARM64_SUBTARGETS="tags signal" \
/linux-6.15/tools/testing/selftests/resctrl/
H A 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.15/Documentation/fault-injection/
H A 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.15/Documentation/translations/zh_CN/core-api/
H A 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.15/drivers/gpu/drm/ttm/tests/
H A DTODO24 a challenge, but is worth trying. Look at selftests like
25 i915/gem/selftests/i915_gem_mman.c for inspiration
/linux-6.15/tools/testing/selftests/rcutorture/
H A DMakefile3 ( cd ../../../..; tools/testing/selftests/rcutorture/bin/kvm.sh --duration 10 --configs TREE01 )
/linux-6.15/samples/bpf/
H A DMakefile48 CGROUP_HELPERS := ../../tools/testing/selftests/bpf/cgroup_helpers.o
49 TRACE_HELPERS := ../../tools/testing/selftests/bpf/trace_helpers.o
158 TPROGS_CFLAGS += -I$(srctree)/tools/testing/selftests/bpf/
298 -I$(src)/../../tools/testing/selftests/bpf
378 -I$(obj) -I$(srctree)/tools/testing/selftests/bpf/ \

123456