Home
last modified time | relevance | path

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

12345

/openbmc/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
/openbmc/linux/Documentation/dev-tools/
H A 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 …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-kernel/kernel-selftest/kernel-selftest/
H A D0001-selftests-timers-Fix-clock_adjtime-for-newer-32-bit-.patch4 Subject: [PATCH] selftests: timers: Fix clock_adjtime for newer 32-bit arches
16 tools/testing/selftests/timers/valid-adjtimex.c | 4 ++++
19 diff --git a/tools/testing/selftests/timers/valid-adjtimex.c b/tools/testing/selftests/timers/valid…
21 --- a/tools/testing/selftests/timers/valid-adjtimex.c
22 +++ b/tools/testing/selftests/timers/valid-adjtimex.c
H A Duserfaultfd.patch10 tools/testing/selftests/vm/userfaultfd.c | 298 +++++++++++++++++++++++++++++++
13 diff --git a/tools/testing/selftests/vm/userfaultfd.c b/tools/testing/selftests/vm/userfaultfd.c
15 --- a/tools/testing/selftests/vm/userfaultfd.c
16 +++ b/tools/testing/selftests/vm/userfaultfd.c
/openbmc/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
/openbmc/linux/tools/testing/selftests/rcutorture/bin/
H A 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 …]
/openbmc/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 …]
/openbmc/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()
/openbmc/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/…
/openbmc/linux/drivers/gpu/drm/i915/
H A DMakefile363 gem/selftests/i915_gem_client_blt.o \
364 gem/selftests/igt_gem_utils.o \
365 selftests/intel_scheduler_helpers.o \
366 selftests/i915_random.o \
367 selftests/i915_selftest.o \
368 selftests/igt_atomic.o \
369 selftests/igt_flush_test.o \
370 selftests/igt_live_test.o \
371 selftests/igt_mmap.o \
372 selftests/igt_reset.o \
[all …]
H A 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"
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-kernel/kernel-selftest/
H A Dkernel-selftest.bb15 file://0001-selftests-timers-Fix-clock_adjtime-for-newer-32-bit-.patch \
96 sed -i -e 's|^all: docs|all:|' ${S}/tools/testing/selftests/bpf/Makefile
100 oe_runmake -C ${S}/tools/testing/selftests TARGETS="${TEST_LIST}"
104 …oe_runmake -C ${S}/tools/testing/selftests INSTALL_PATH=${D}/usr/kernel-selftest TARGETS="${TEST_L…
132 test -f ${S}/tools/testing/selftests/bpf/Makefile && \
136 ${S}/tools/testing/selftests/bpf/Makefile || \
137 …"Your kernel is probably older than 4.10 and doesn't have tools/testing/selftests/bpf/Makefile fil…
152 # A few of the selftests set compile flags that trip up the "ldflags" and
/openbmc/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
/openbmc/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" \
/openbmc/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/):
/openbmc/openbmc/poky/meta/lib/patchtest/
H A DREADME.md1 # patchtest selftests for openembedded-core
15 /path/to/meta-selftest/` (the selftests use this layer's recipes as test
/openbmc/linux/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
/openbmc/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
/openbmc/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.
/openbmc/linux/tools/testing/selftests/livepatch/
H A DREADME29 To run the livepatch selftests, from the top of the kernel source tree:
31 % make -C tools/testing/selftests TARGETS=livepatch run_tests
/openbmc/linux/tools/testing/selftests/rcutorture/
H A DMakefile3 ( cd ../../../..; tools/testing/selftests/rcutorture/bin/kvm.sh --duration 10 --configs TREE01 )
/openbmc/linux/net/devlink/
H A 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()
/openbmc/linux/samples/bpf/
H A DMakefile57 CGROUP_HELPERS := ../../tools/testing/selftests/bpf/cgroup_helpers.o
58 TRACE_HELPERS := ../../tools/testing/selftests/bpf/trace_helpers.o
178 TPROGS_CFLAGS += -I$(srctree)/tools/testing/selftests/bpf/
317 -I$(src)/../../tools/testing/selftests/bpf
394 -I$(obj) -I$(srctree)/tools/testing/selftests/bpf/ \

12345