Home
last modified time | relevance | path

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

1234

/linux/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/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/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
15 ok 3 # SKIP selftests: membarrier: membarrier_test_multi_thread
/linux/tools/testing/selftests/rcutorture/bin/
H A Dtorture.sh16 RCUTORTURE="`pwd`/tools/testing/selftests/rcutorture"; export RCUTORTURE
421 amcdir="tools/testing/selftests/rcutorture/res/$ds/allmodconfig"
463 rtfdir="tools/testing/selftests/rcutorture/res/$ds/results-rcutasksflavors"
475 tools/testing/selftests/rcutorture/bin/kvm.sh --datestamp "$ds/results-rcutasksflavors/$flavor" --buildonly --configs "TINY01 TREE04" --kconfig "CONFIG_RCU_EXPERT=y CONFIG_RCU_SCALE_TEST=y CONFIG_KPROBES=n CONFIG_RCU_TRACE=n CONFIG_TRACING=n CONFIG_BLK_DEV_IO_TRACE=n CONFIG_UPROBE_EVENTS=n $forceflavor=y $deselectedflavors" --trust-make > $T/$flavor.out 2>&1
497 torture_set "rcutorture" tools/testing/selftests/rcutorture/bin/kvm.sh --allcpus --duration "$duration_rcutorture" --configs "$configs_rcutorture" --trust-make
503 torture_set "locktorture" tools/testing/selftests/rcutorture/bin/kvm.sh --torture lock --allcpus --duration "$duration_locktorture" --configs "$configs_locktorture" --trust-make
511 torture_set "scftorture" tools/testing/selftests/rcutorture/bin/kvm.sh --torture scf --allcpus --duration "$duration_scftorture" --configs "$configs_scftorture" --kconfig "CONFIG_NR_CPUS=$SCALE_ALLOTED_CPUS" --memory ${scfmem}G --trust-make
522 torture_set "rcurttorture" tools/testing/selftests/rcutorture/bin/kvm.sh --allcpus --duration "$duration_rcutorture" --configs "TREE03" --kconfig "CONFIG_PREEMPT_RT=y CONFIG_EXPERT=y CONFIG_HZ_PERIODIC=n CONFIG_NO_HZ_IDLE=y CONFIG_RCU_NOCB_CPU=y" --trust-make
526 torture_set "rcurttorture-exp" tools/testing/selftests/rcutorture/bin/kvm.sh --allcpus --duration "$duration_rcutorture" --configs "TREE03" --kconfig "CONFIG_PREEMPT_RT=y CONFIG_EXPERT=y CONFIG_HZ_PERIODIC=n CONFIG_NO_HZ_FULL=y CONFIG_RCU_NOCB_CPU=y" --trust-make
532 rrdir="tools/testing/selftests/rcutortur
[all...]
H A Dkvm-series.sh56 RCUTORTURE="`pwd`/tools/testing/selftests/rcutorture"; export RCUTORTURE
96 tools/testing/selftests/rcutorture/bin/kvm.sh --configs "$config" --datestamp "$ds/${config}/${sha1}" --duration 1 --build-only --trust-make "$@"
147 tools/testing/selftests/rcutorture/bin/kvm-again.sh "${DS}/${resultsdir}" --link inplace-force > ${qemu_curout} 2>&1
/linux/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/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
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/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/…
492 …esting/selftests/bpf/progs/sockmap_parse_prog.c`: https://git.kernel.org/pub/scm/linux/kernel/git/…
[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/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/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/tools/testing/selftests/hid/
H A Dvmtest.sh207 die "failed to build HID selftests from source tree (${SCRIPT_DIR})"
/linux/tools/testing/selftests/rcutorture/doc/
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
H A Dinitrd.txt4 tools/testing/selftests/rcutorture/bin/mkinitrd.sh.
11 cd tools/testing/selftests/rcutorture
/linux/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/tools/testing/selftests/riscv/
H A DREADME15 $ make -C tools/testing/selftests TARGETS=riscv \
20 $ make -C tools/testing/selftests TARGETS=riscv RISCV_SUBTARGETS="mm vector" \
/linux/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/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/Documentation/translations/zh_CN/rust/
H A Dtesting.rst202 Kselftests 可以在 ``tools/testing/selftests/rust`` 文件夹中找到。
204 测试所需的内核配置选项列在 ``tools/testing/selftests/rust/config`` 文件中,
207 ./scripts/kconfig/merge_config.sh .config tools/testing/selftests/rust/config
/linux/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/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/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/ \
/linux/tools/testing/selftests/rcutorture/
H A DMakefile3 ( cd ../../../..; tools/testing/selftests/rcutorture/bin/kvm.sh --duration 10 --configs TREE01 )
/linux/samples/vfs/
H A DMakefile4 userccflags += -I $(srctree)/tools/testing/selftests/

1234