Home
last modified time | relevance | path

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

12345

/linux-6.6.21/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.6.21/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.6.21/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.6.21/tools/testing/selftests/rcutorture/bin/
Dtorture.sh394 …tools/testing/selftests/rcutorture/bin/kvm.sh --datestamp "$ds/results-rcutasksflavors/$flavor" --…
416 …torture_set "rcutorture" tools/testing/selftests/rcutorture/bin/kvm.sh --allcpus --duration "$dura…
422 …torture_set "locktorture" tools/testing/selftests/rcutorture/bin/kvm.sh --torture lock --allcpus -…
430 …torture_set "scftorture" tools/testing/selftests/rcutorture/bin/kvm.sh --torture scf --allcpus --d…
437 …torture_set "rcurttorture" tools/testing/selftests/rcutorture/bin/kvm.sh --allcpus --duration "$du…
441 …torture_set "rcurttorture-exp" tools/testing/selftests/rcutorture/bin/kvm.sh --allcpus --duration …
447 …tools/testing/selftests/rcutorture/bin/srcu_lockdep.sh --datestamp "$ds/results-srcu-lockdep" > $T…
524 …torture_set "rcuscale-$prim" tools/testing/selftests/rcutorture/bin/kvm.sh --torture rcuscale --al…
552 …torture_set "rcuscale-$prim$torture_suffix" tools/testing/selftests/rcutorture/bin/kvm-again.sh "`…
562 …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
Dkvm-recheck-rcuscale.sh20 PATH=`pwd`/tools/testing/selftests/rcutorture/bin:$PATH; export PATH
/linux-6.6.21/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.6.21/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 …]
Dveristat.cfg1 # pre-canned list of rather complex selftests/bpf BPF object files to monitor
/linux-6.6.21/drivers/gpu/drm/i915/
DMakefile362 gem/selftests/i915_gem_client_blt.o \
363 gem/selftests/igt_gem_utils.o \
364 selftests/intel_scheduler_helpers.o \
365 selftests/i915_random.o \
366 selftests/i915_selftest.o \
367 selftests/igt_atomic.o \
368 selftests/igt_flush_test.o \
369 selftests/igt_live_test.o \
370 selftests/igt_mmap.o \
371 selftests/igt_reset.o \
[all …]
DKconfig.debug171 bool "Enable selftests upon driver load"
179 Choose this option to allow the driver to perform selftests upon
181 exit the module after running the selftests (i.e. to prevent normal
189 bool "Enable broken and dangerous selftests"
194 This option enables the execution of selftests that are "dangerous"
/linux-6.6.21/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.6.21/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.6.21/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.6.21/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.6.21/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.6.21/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
/linux-6.6.21/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.6.21/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.6.21/tools/testing/selftests/rcutorture/
DMakefile3 ( cd ../../../..; tools/testing/selftests/rcutorture/bin/kvm.sh --duration 10 --configs TREE01 )
/linux-6.6.21/samples/bpf/
DMakefile57 CGROUP_HELPERS := ../../tools/testing/selftests/bpf/cgroup_helpers.o
58 TRACE_HELPERS := ../../tools/testing/selftests/bpf/trace_helpers.o
174 TPROGS_CFLAGS += -I$(srctree)/tools/testing/selftests/bpf/
313 -I$(src)/../../tools/testing/selftests/bpf
390 -I$(obj) -I$(srctree)/tools/testing/selftests/bpf/ \
/linux-6.6.21/net/devlink/
Ddev.c1199 struct nlattr *selftests; in devlink_nl_selftests_fill() local
1213 selftests = nla_nest_start(msg, DEVLINK_ATTR_SELFTESTS); in devlink_nl_selftests_fill()
1214 if (!selftests) in devlink_nl_selftests_fill()
1226 nla_nest_end(msg, selftests); in devlink_nl_selftests_fill()
1308 struct nlattr *attrs, *selftests; in devlink_nl_cmd_selftests_run() local
1340 selftests = nla_nest_start(msg, DEVLINK_ATTR_SELFTESTS); in devlink_nl_cmd_selftests_run()
1341 if (!selftests) in devlink_nl_cmd_selftests_run()
1364 nla_nest_end(msg, selftests); in devlink_nl_cmd_selftests_run()
1369 nla_nest_cancel(msg, selftests); in devlink_nl_cmd_selftests_run()

12345