Home
last modified time | relevance | path

Searched +full:test +full:- +full:docs (Results 1 – 25 of 93) sorted by relevance

1234

/linux/Documentation/translations/zh_CN/
H A Dhow-to.rst1 .. SPDX-License-Identifier: GPL-2.0
8 - v1.0 2025 年 3 月 28 日,司延腾、慕冬亮共同编写了该规范。
42 ----------
44 中文文档翻译工作目前独立于 linux-doc 开发树开展,所以您需要拉取该开发树,
51 git clone https://mirrors.hust.edu.cn/git/kernel-doc-zh.git linux
60 ----------------
67 ./tools/docs/sphinx-pre-install
73 sudo dnf install -y dejavu-sans-fonts dejavu-sans-mono-fonts \
74 dejavu-serif-fonts google-noto-sans-cjk-fonts graphviz-gd \
75 latexmk librsvg2-tools texlive-anyfontsize texlive-capt-of \
[all …]
/linux/tools/testing/selftests/bpf/
H A DMakefile1 # SPDX-License-Identifier: GPL-2.0
23 PKG_CONFIG ?= $(CROSS_COMPILE)pkg-config
26 GENFLAGS := -DHAVE_GENHDR
29 BPF_GCC ?= $(shell command -v bpf-gcc;)
31 SAN_CFLAGS ?= -fsanitize=address -fno-omit-frame-pointer
37 OPT_FLAGS ?= $(if $(RELEASE),-O2,-O0)
39 LIBELF_CFLAGS := $(shell $(PKG_CONFIG) libelf --cflags 2>/dev/null)
40 LIBELF_LIBS := $(shell $(PKG_CONFIG) libelf --libs 2>/dev/null || echo -lelf)
54 CFLAGS += -g $(OPT_FLAGS) -rdynamic -std=gnu11 \
55 -Wall -Werror -fno-omit-frame-pointer \
[all …]
/linux/drivers/media/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
20 Additional info and docs are available on the web at
36 If not selected, all non-optional media core functionality
47 By default, a media driver auto-selects all possible ancillary
65 # Multimedia support - automatically enable V4L2 and DVB core
107 Additional info and docs are available on the web at
127 prompt "Platform-specific devices" if MEDIA_SUPPORT_FILTER
141 prompt "Test drivers" if MEDIA_SUPPORT_FILTER
146 that simulate real hardware. Very useful to test userspace
150 Say Y if you want to use some virtual test driver.
[all …]
/linux/fs/
H A DKconfig.binfmt1 # SPDX-License-Identifier: GPL-2.0-only
18 however) and makes building run-time libraries very easy. Many new
23 <http://www.tldp.org/docs.html#howto>.
37 prior bug fixes into a regression test collection. This is really
39 compat_binfmt_elf KUnit test is also created.
93 the /proc/PID/coredump_filter pseudo-file; this setting is
148 If you say Y here, it will be possible to plug wrapper-driven binary
151 Emacs-Lisp. It's also useful if you often run DOS executables under
152 the Linux DOS emulator DOSEMU (read the DOSEMU-HOWTO, available from
153 <http://www.tldp.org/docs.html#howto>). Once you have
[all …]
/linux/rust/pin-init/
H A DREADME.md1 [![Crates.io](https://img.shields.io/crates/v/pin-init.svg)](https://crates.io/crates/pin-init)
2 [![Documentation](https://docs.rs/pin-init/badge.svg)](https://docs.rs/pin-init/)
3 [![Dependency status](https://deps.rs/repo/github/Rust-for-Linux/pin-init/status.svg)](https://deps.rs/repo/github/Rust-fo
[all...]
/linux/Documentation/translations/zh_CN/rust/
H A Dtesting.rst1 .. SPDX-License-Identifier: GPL-2.0
2 .. include:: ../disclaimer-zh_CN.rst
17 - KUnit 测试
18 - ``#[test]`` 测试
19 - Kselftests
22 ----------
31 ./tools/testing/kunit/kunit.py run --make_options LLVM=1 --arch x86_64 --kconfig_add CONFIG_RUST=y
34 Documentation/dev-tools/kunit/index.rst。
35 关于内核内置与命令行测试的详细信息,请参阅 Documentation/dev-tools/kunit/architecture.rst。
40 Kernel hacking -> Kernel Testing and Coverage -> KUnit - Enable support for unit tests
[all …]
/linux/Documentation/admin-guide/
H A Dbug-bisect.rst1 .. SPDX-License-Identifier: (GPL-2.0+ OR CC-BY-4.0)
9 change that broke something -- for example when some functionality stopped
13 kernel, better follow Documentation/admin-guide/verify-bugs-and-bisect-regressions.rst
17 care about the result -- for example, because the problem happens after the
29 a fully reliable and straight-forward way to reproduce the regression, too.*
38 Instead of Git tags like 'v6.0' and 'v6.1' you can specify commit-ids, too.
68 test after this (roughly 10 steps)'. In that case go back to step 1.
75 mentioning the culprit's commit-id.
85 git bisect log > ~/bisection-log
86 cp .config ~/bisection-config-culprit
[all …]
H A Djava.rst2 ----------------------------------------------
14 ftp://sunsite.unc.edu/pub/Linux/docs/HOWTO/Java-HOWTO
45 ':Applet:M::<!--applet::/usr/bin/appletviewer:'
52 existing html-files to contain ``<!--applet-->`` in the first line
62 gcc -O2 -o javaclassname javaclassname.c
71 .. code-block:: sh
74 # /usr/local/bin/javawrapper - the wrapper for binfmt_misc/java
76 if [ -z "$1" ]; then
78 echo Usage: $0 class-file
84 FQCLASSN=`echo $FQCLASS | sed -e 's/^.*\.\([^.]*\)$/\1/'`
[all …]
/linux/tools/perf/tests/shell/
H A Dbuildid.sh3 # SPDX-License-Identifier: GPL-2.0
6 if ! [ -x "$(command -v readelf)" ]; then
12 if ! [ -x "$(command -v cc)" ]; then
17 # check what we need to test windows binaries
20 if ! perf version --build-options | grep -q 'libbfd: .* on '; then
31 if [ ${run_pe} -eq 1 ]; then
32 wineprefix=$(mktemp -d /tmp/perf.wineprefix.XXX)
43 ex_pe=$(dirname $0)/../pe-file.exe
49 rm -f ${ex_source} ${ex_md5} ${ex_sha1} ${data} ${log_out} ${log_err}
50 if [ ${run_pe} -eq 1 ]; then
[all …]
/linux/drivers/firewire/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
4 # firewire-core does not depend on PCI but is
11 This is the new-generation IEEE 1394 (FireWire) driver stack
14 See http://ieee1394.docs.kernel.org/en/latest/migration.html
19 called firewire-core.
31 kernel devs running KUnit test harness and are not for inclusion
35 to the KUnit documentation in Documentation/dev-tools/kunit/.
47 kernel devs running KUnit test harness and are not for inclusion
51 to the KUnit documentation in Documentation/dev-tools/kunit/.
63 kernel devs running KUnit test harness and are not for inclusion
[all …]
/linux/Documentation/bpf/
H A Ds390.rst10 document describes how to test BPF in an s390 QEMU guest.
12 2. One-time setup
15 The following is required to build and run the test suite:
27 --variant=minbase \
28 --include=sudo \
30 ./s390-toolchain
31 sudo mount --rbind /dev ./s390-toolchain/dev
32 sudo mount --rbind /proc ./s390-toolchain/proc
33 sudo mount --rbind /sys ./s390-toolchain/sys
34 sudo chroot ./s390-toolchain
[all …]
H A Dbpf_devel_QA.rst10 Documentation/process/submitting-patches.rst. This document only describes
21 --------------------------------------------
48 ------------------------------------------------------------------------
49 A: BPF CI is GitHub based and hosted at https://github.com/kernel-patches/bpf.
55 - Create a fork of the aforementioned repository in your own account (one time
58 - Clone the fork locally, check out a new branch tracking either the bpf-next
59 or bpf branch, and apply your to-be-tested patches on top of it
61 - Push the local branch to your fork and create a pull request against
62 kernel-patches/bpf's bpf-next_base or bpf_base branch, respectively
68 Note furthermore that both base branches (bpf-next_base and bpf_base) will be
[all …]
/linux/Documentation/rust/
H A Dtesting.rst1 .. SPDX-License-Identifier: GPL-2.0
6 This document contains useful information how to test the Rust code in the
11 - The KUnit tests.
12 - The ``#[test]`` tests.
13 - The Kselftests.
16 ---------------
27 ./tools/testing/kunit/kunit.py run --make_options LLVM=1 --arch x86_64 --kconfig_add CONFIG_RUST=y
29 Alternatively, KUnit can run them as kernel built-in at boot. Refer to
30 Documentation/dev-tools/kunit/index.rst for the general KUnit documentation
31 and Documentation/dev-tools/kunit/architecture.rst for the details of kernel
[all …]
/linux/Documentation/doc-guide/
H A Dsphinx.rst12 .. _Sphinx: http://www.sphinx-doc.org/
16 documentation comments, or kernel-doc comments, from source files. Usually these
18 kernel-doc comments have some special structure and formatting, but beyond that
34 :ref:`sphinx-pre-install` for further details.
42 Sphinx inside a virtual environment, using ``virtualenv-3``
50 (sphinx_latest) $ pip install -r Documentation/sphinx/requirements.txt
58 ------------
69 --------------------
80 ------------------------
89 The former was the only option for pre-6.1 kernel documentation and it
[all …]
/linux/Documentation/dev-tools/
H A Dgcov.rst6 is exported in gcov-compatible format via the "gcov" debugfs directory.
8 directory and use gcov with the ``-o`` option as follows (requires root)::
10 # cd /tmp/linux-out
11 # gcov -o /sys/kernel/debug/gcov/tmp/linux-out/kernel spinlock.c
14 in the current directory. In addition, graphical gcov front-ends such
21 * test improvement (how do I change my test to cover these lines?)
26 .. _lcov: https://github.com/linux-test-project/lcov
30 -----------
48 mount -t debugfs none /sys/kernel/debug
52 -------------
[all …]
H A Dcontainer.rst1 .. SPDX-License-Identifier: GPL-2.0-only
10 various platforms, for example when a test bot has reported an issue which
11 requires a specific version of a compiler or an external test suite. While
25 scripts/container -i IMAGE [OPTION]... CMD...
29 ``-e, --env-file ENV_FILE``
33 ``-g, --gid GID``
37 ``-i, --image IMAGE``
41 ``-r, --runtime RUNTIME``
48 ``-s, --shell``
52 ``-u, --uid UID``
[all …]
/linux/rust/kernel/
H A Dkunit.rs1 // SPDX-License-Identifier: GPL-2.0
3 //! KUnit-based macros for Rust unit tests.
5 //! C header: [`include/kunit/test.h`](srctree/include/kunit/test.h)
7 //! Reference: <https://docs.kernel.org/dev-tools/kunit/index.html>
12 /// Prints a KUnit error-level message.
17 // `args` is unused if `CONFIG_PRINTK` is not set - this avoids a build-time warning. in err()
21 // SAFETY: The format string is null-terminated and the `%pA` specifier matches the argument we in err()
32 /// Prints a KUnit info-level message.
37 // `args` is unused if `CONFIG_PRINTK` is not set - this avoids a build-time warning. in info()
41 // SAFETY: The format string is null-terminated and the `%pA` specifier matches the argument we in info()
[all …]
/linux/tools/testing/selftests/
H A Dkselftest.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * kselftest.h: low-level kselftest framework to include from
16 * For each test, report any progress, debugging, etc with:
21 * and finally report the pass/fail/skip/xfail/xpass state of the test
164 "# %u skipped test(s) detected. Consider enabling relevant config options to improve coverage.\n", in ksft_print_cnts()
234 * ksft_test_result() - Report test success based on truth of condition
236 * @condition: if true, report test succes
[all...]
/linux/tools/testing/selftests/hid/tests/
H A Dtest_tablet.py2 # SPDX-License-Identifier: GPL-2.0
3 # -*- coding: utf-8 -*-
19 logger = logging.getLogger("hidtools.test.tablet")
44 https://docs
[all...]
/linux/net/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
14 when running on a stand-alone machine that isn't connected to any
20 contained in the package net-tools, the location and version number
24 recommended to read the NET-HOWTO, available from
25 <http://www.tldp.org/docs.html#howto>.
42 achieve this, you need to set skb_shinfo(skb)->frag_list to the
47 compat-independent messages instead!
108 kernel devs running KUnit test harness and are not for inclusion
112 to the KUnit documentation in Documentation/dev-tools/kunit/.
121 other computer. You will get the so-called loopback device which
[all …]
/linux/include/uapi/linux/
H A Dfdreg.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
36 #define STATUS_DMA 0x20 /* 0- DMA mode */
37 #define STATUS_DIR 0x40 /* 0- cpu->fdc */
51 #define ST1_ND 0x04 /* No Data - unreadable */
67 #define ST3_DS 0x08 /* drive is double-sided */
95 * http://www.intel.com/design/archives/periphrl/docs/29046803.htm */
118 #define FDC_765ED 0x30 /* Non-Intel 1MB-compatible FDC, can't detect */
122 #define FDC_82077 0x52 /* 82077AA-1 */
125 #define FDC_82078_1 0x61 /* 82078-1 (2Mbps fdc) */
126 #define FDC_S82078B 0x62 /* S82078B (first seen on Adaptec AVA-2825 VLB
[all …]
/linux/rust/syn/
H A Dlib.rs1 // SPDX-License-Identifier: Apache-2.0 OR MIT
3 …hub]](https://github.com/dtolnay/syn)&ensp;[![crates-io]](https://crates.io/crates/syn)&ensp;[![do…
5 //! [github]: https://img.shields.io/badge/github-8da0cb?style=for-the-badge&labelColor=555555&logo…
6 //! [crates-io]: https://img.shields.io/badge/crates.io-fc8d62?style=for-the-badge&labelColor=55555…
7 //! [docs-rs]: https://img.shields.io/badge/docs.rs-66c2a5?style=for-the-badge&labelColor=555555&lo…
17 //! - **Data structures** — Syn provides a complete syntax tree that can
23 //! - **Derives** — Of particular interest to derive macros is
26 //! derive implementations of a user-defined trait.
28 //! - **Parsing** — Parsing in Syn is built around [parser functions] with the
29 //! signature `fn(ParseStream) -> Result<T>`. Every syntax tree node defined
[all …]
/linux/rust/
H A DMakefile1 # SPDX-License-Identifier: GPL-2.0
6 obj-$(CONFIG_RUST) += core.o compiler_builtins.o ffi.o
7 always-$(CONFIG_RUST) += exports_core_generated.h
10 always-$(CONFIG_RUST) += helpers/helpers.bc helpers/helpers_module.bc
12 obj-$(CONFIG_RUST) += helpers/helpers.o
13 always-$(CONFIG_RUST) += exports_helpers_generated.h
17 CFLAGS_REMOVE_helpers/helpers.o = -Wmissing-prototypes -Wmissing-declarations
19 always-$(CONFIG_RUST) += bindings/bindings_generated.rs bindings/bindings_helpers_generated.rs
20 obj-$(CONFIG_RUST) += bindings.o pin_init.o kernel.o
21 always-$(CONFIG_RUST) += exports_bindings_generated.h exports_kernel_generated.h
[all …]
/linux/rust/kernel/alloc/
H A Dallocator.rs1 // SPDX-License-Identifier: GPL-2.0
9 //! Reference: <https://docs.kernel.org/core-api/memory-allocation.html>
61 ) -> *mut crate::ffi::c_void,
81 /// - it accepts any pointer to a valid memory allocation allocated by this function.
82 /// - memory allocated by this function remains valid until it is passed to this function.
91 ) -> Result<NonNull<[u8]>, AllocError> { in call()
105 // - `self.0` is one of `krealloc`, `vrealloc`, `kvrealloc` and thus only requires that in call()
107 // - `ptr` is either NULL or valid by the safety requirements of this function. in call()
110 // - `self.0` is one of `krealloc`, `vrealloc`, `kvrealloc`. in call()
111 // - Those functions provide the guarantees of this function. in call()
[all …]
/linux/Documentation/translations/zh_TW/process/
H A Dhowto.rst1 .. SPDX-License-Identifier: GPL-2.0
5 .. include:: ../disclaimer-zh_TW.rst
11 英文版維護者: Greg Kroah-Hartman <greg@kroah.com>
32 ----
44 - "The C Programming Language" by Kernighan and Ritchie [Prentice Hall]
46 - "Practical C Programming" by Steve Oualline [O'Reilly]
48 - "C: A Reference Manual" by Harbison and Steele [Prentice Hall]
65 --------
70 :ref:`Documentation/translations/zh_TW/process/license-rules.rst <tw_kernel_licensing>`
75 https://www.gnu.org/licenses/gpl-faq.html
[all …]

1234