Home
last modified time | relevance | path

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

1234

/OK3568_Linux_fs/kernel/Documentation/dev-tools/
H A Dkselftest.rst5 The kernel contains a set of "self tests" under the tools/testing/selftests/
26 Running the selftests (hotplug tests are run in limited mode)
31 $ make -C tools/testing/selftests
35 $ make -C tools/testing/selftests run_tests
46 kernel src. This is applicable to "Running a subset of selftests" section
64 to "Running a subset of selftests" section below.
70 Running a subset of selftests
78 $ make -C tools/testing/selftests TARGETS=ptrace run_tests
97 $ make -C tools/testing/selftests SKIP_TARGETS=ptrace run_tests
108 See the top-level tools/testing/selftests/Makefile for the list of all
[all …]
/OK3568_Linux_fs/buildroot/package/linux-tools/
H A Dlinux-tool-selftests.mk.in3 # selftests
7 LINUX_TOOLS += selftests
29 # out of tree build. We build the selftests in $(LINUX_DIR)/tools/selftests and
33 # The headers_install step here is important as some kernel selftests use a
41 $(TARGET_MAKE_ENV) $(MAKE1) -C $(LINUX_DIR)/tools/testing/selftests \
42 $(SELFTESTS_MAKE_FLAGS) O=$(LINUX_DIR)/tools/testing/selftests
46 $(TARGET_MAKE_ENV) $(MAKE1) -C $(LINUX_DIR)/tools/testing/selftests \
47 $(SELFTESTS_MAKE_FLAGS) O=$(LINUX_DIR)/tools/testing/selftests \
H A DConfig.in115 bool"selftests"
132 Build and install (to /usr/lib/kselftests) kernel selftests.
135 compiling the kernel selftests. The Makefile to build and
142 comment "selftests needs BR2_PACKAGE_BUSYBOX_SHOW_OTHERS and a toolchain w/ dynamic library and hea…
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-kernel/kernel-selftest/
H A Dkernel-selftest.bb80 oe_runmake -C ${S}/tools/testing/selftests/${i}
87 … oe_runmake -C ${S}/tools/testing/selftests/${i} INSTALL_PATH=${D}/usr/kernel-selftest/${i} install
89 …oe_runmake -s --no-print-directory COLLECTION=${i} -C ${S}/tools/testing/selftests/${i} emit_tests…
93 install -m 0755 ${S}/tools/testing/selftests/run_kselftest.sh ${D}/usr/kernel-selftest/
94 …cp -R --no-dereference --preserve=mode,links -v ${S}/tools/testing/selftests/kselftest ${D}/usr/ke…
122 test -f ${S}/tools/testing/selftests/bpf/Makefile && \
126 ${S}/tools/testing/selftests/bpf/Makefile || \
127 …"Your kernel is probably older than 4.10 and doesn't have tools/testing/selftests/bpf/Makefile fil…
137 # tools/testing/selftests/vm/Makefile doesn't respect LDFLAGS and tools/testing/selftests/Makefile …
/OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/
H A DMakefile261 gem/selftests/igt_gem_utils.o \
262 selftests/i915_random.o \
263 selftests/i915_selftest.o \
264 selftests/igt_atomic.o \
265 selftests/igt_flush_test.o \
266 selftests/igt_live_test.o \
267 selftests/igt_mmap.o \
268 selftests/igt_reset.o \
269 selftests/igt_spinner.o \
270 selftests/librapl.o
H A DKconfig.debug150 bool "Enable selftests upon driver load"
158 Choose this option to allow the driver to perform selftests upon
160 exit the module after running the selftests (i.e. to prevent normal
168 bool "Enable broken and dangerous selftests"
173 This option enables the execution of selftests that are "dangerous"
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/Documentation/bpf/
H A Dbpf_lsm.rst133 `tools/testing/selftests/bpf/progs/lsm.c`_ and the corresponding
134 userspace code in `tools/testing/selftests/bpf/prog_tests/test_lsm.c`_
139 .. _tools/testing/selftests/bpf/progs/lsm.c:
140 …https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/tools/testing/selftests/bpf/…
141 .. _tools/testing/selftests/bpf/prog_tests/test_lsm.c:
142 …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
H A Dbpf_devel_QA.rst235 Q: samples/bpf preference vs selftests?
241 `samples/bpf/`_. The rationale is very simple: kernel selftests are
244 The more test cases we add to BPF selftests, the better the coverage
246 not that BPF kernel selftests cannot demo how a specific feature can
252 into kernel selftests.
254 If your sample looks like a test case, then go for BPF kernel selftests
413 Q: How to run BPF selftests
419 $ cd tools/testing/selftests/bpf/
432 In order to run through all BPF selftests, the following command is
442 tools/testing/selftests/bpf as closely as possible.
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/selftests/
H A Dtest-drm_modeset_common.c19 err = run_selftests(selftests, ARRAY_SIZE(selftests), NULL); in test_drm_modeset_init()
H A Ddrm_selftest.c37 } selftests[] = { variable
45 module_param_named(id, selftests[__idx_##n].enabled, bool, 0400);
/OK3568_Linux_fs/kernel/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
/OK3568_Linux_fs/kernel/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" \
/OK3568_Linux_fs/kernel/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/on-off-test.sh
95 * tools/testing/selftests/memory-hotplug/on-off-test.sh
/OK3568_Linux_fs/kernel/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
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-kernel/kernel-selftest/kernel-selftest/
H A Duserfaultfd.patch8 tools/testing/selftests/vm/userfaultfd.c | 298 +++++++++++++++++++++++++++++++
11 diff --git a/tools/testing/selftests/vm/userfaultfd.c b/tools/testing/selftests/vm/userfaultfd.c
13 --- a/tools/testing/selftests/vm/userfaultfd.c
14 +++ b/tools/testing/selftests/vm/userfaultfd.c
/OK3568_Linux_fs/kernel/samples/bpf/
H A DMakefile61 CGROUP_HELPERS := ../../tools/testing/selftests/bpf/cgroup_helpers.o
62 TRACE_HELPERS := ../../tools/testing/selftests/bpf/trace_helpers.o
189 TPROGS_CFLAGS += -I$(srctree)/tools/testing/selftests/bpf/
316 -I$(obj) -I$(srctree)/tools/testing/selftests/bpf/ \
/OK3568_Linux_fs/kernel/tools/testing/selftests/rcutorture/
H A DMakefile3 ( cd ../../../..; tools/testing/selftests/rcutorture/bin/kvm.sh --duration 10 --configs TREE01 )
/OK3568_Linux_fs/kernel/tools/
H A DMakefile87 selftests: FORCE target
103 perf selftests bootconfig spi turbostat usb \
/OK3568_Linux_fs/kernel/tools/testing/selftests/rcutorture/bin/
H A Dkvm-recheck-refscale.sh20 PATH=`pwd`/tools/testing/selftests/rcutorture/bin:$PATH; export PATH
H A Dkvm-recheck-rcuscale.sh20 PATH=`pwd`/tools/testing/selftests/rcutorture/bin:$PATH; export PATH
H A Dmkinitrd.sh10 D=tools/testing/selftests/rcutorture
/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/
H A DREADME.rst4 General instructions on running selftests can be found in
88 A set of selftests use BPF target-specific built-ins, which might require

1234