Home
last modified time | relevance | path

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

12345

/linux-6.12.1/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.12.1/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)
40 $ make -C tools/testing/selftests
44 $ make -C tools/testing/selftests run_tests
55 kernel src. This is applicable to "Running a subset of selftests" section
73 to "Running a subset of selftests" section below.
79 Running a subset of selftests
87 $ make -C tools/testing/selftests TARGETS=ptrace run_tests
106 $ make -C tools/testing/selftests SKIP_TARGETS=ptrace run_tests
117 See the top-level tools/testing/selftests/Makefile for the list of all
[all …]
/linux-6.12.1/tools/testing/selftests/net/rds/
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.12.1/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.12.1/tools/testing/selftests/rcutorture/bin/
Dtorture.sh410 …tools/testing/selftests/rcutorture/bin/kvm.sh --datestamp "$ds/results-rcutasksflavors/$flavor" --…
432 …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 -…
446 …torture_set "scftorture" tools/testing/selftests/rcutorture/bin/kvm.sh --torture scf --allcpus --d…
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 "`…
578 …torture_set "rcuscale-kvfree" tools/testing/selftests/rcutorture/bin/kvm.sh --torture rcuscale --a…
[all …]
Dkvm-recheck-refscale.sh20 PATH=`pwd`/tools/testing/selftests/rcutorture/bin:$PATH; export PATH
/linux-6.12.1/tools/testing/selftests/drivers/net/
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.12.1/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
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
32 deny list file, located at ``tools/testing/selftests/bpf/DENYLIST.<arch>``, can
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``.
59 your existing Kconfig), recompiles the bpf selftests, runs them (by default
60 ``tools/testing/selftests/bpf/test_progs``) and saves the resulting output (by
74 $ tools/testing/selftests/bpf/vmtest.sh -h
[all …]
/linux-6.12.1/drivers/gpu/drm/i915/
DMakefile372 gem/selftests/i915_gem_client_blt.o \
373 gem/selftests/igt_gem_utils.o \
374 selftests/i915_random.o \
375 selftests/i915_selftest.o \
376 selftests/igt_atomic.o \
377 selftests/igt_flush_test.o \
378 selftests/igt_live_test.o \
379 selftests/igt_mmap.o \
380 selftests/igt_reset.o \
381 selftests/igt_spinner.o \
[all …]
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.12.1/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.12.1/Documentation/bpf/
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/…
492 …esting/selftests/bpf/progs/sockmap_parse_prog.c`: https://git.kernel.org/pub/scm/linux/kernel/git/…
[all …]
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
/linux-6.12.1/tools/testing/selftests/livepatch/
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.12.1/tools/testing/selftests/hid/
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.12.1/tools/testing/selftests/rcutorture/doc/
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
Dinitrd.txt4 tools/testing/selftests/rcutorture/bin/mkinitrd.sh.
11 cd tools/testing/selftests/rcutorture
/linux-6.12.1/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.12.1/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.12.1/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.12.1/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.12.1/drivers/gpu/drm/ttm/tests/
DTODO24 a challenge, but is worth trying. Look at selftests like
25 i915/gem/selftests/i915_gem_mman.c for inspiration
/linux-6.12.1/tools/testing/selftests/rcutorture/
DMakefile3 ( cd ../../../..; tools/testing/selftests/rcutorture/bin/kvm.sh --duration 10 --configs TREE01 )
/linux-6.12.1/net/devlink/
Ddev.c1268 struct nlattr *selftests; in devlink_nl_selftests_fill() local
1282 selftests = nla_nest_start(msg, DEVLINK_ATTR_SELFTESTS); in devlink_nl_selftests_fill()
1283 if (!selftests) in devlink_nl_selftests_fill()
1295 nla_nest_end(msg, selftests); in devlink_nl_selftests_fill()
1377 struct nlattr *attrs, *selftests; in devlink_nl_selftests_run_doit() local
1409 selftests = nla_nest_start(msg, DEVLINK_ATTR_SELFTESTS); in devlink_nl_selftests_run_doit()
1410 if (!selftests) in devlink_nl_selftests_run_doit()
1433 nla_nest_end(msg, selftests); in devlink_nl_selftests_run_doit()
1438 nla_nest_cancel(msg, selftests); in devlink_nl_selftests_run_doit()

12345