Home
last modified time | relevance | path

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

1234

/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/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
22 PKG_CONFIG ?= $(CROSS_COMPILE)pkg-config
25 GENFLAGS := -DHAVE_GENHDR
28 BPF_GCC ?= $(shell command -v bpf-gcc;)
30 SAN_CFLAGS ?= -fsanitize=address -fno-omi
382 docs: global() target
[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/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/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/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/translations/it_IT/doc-guide/
H A Dsphinx.rst1 .. include:: ../disclaimer-ita.rst
15 .. _Sphinx: http://www.sphinx-doc.org/
19 includere i commenti di documentazione, o di tipo kernel-doc, dai file
22 e l'architettura del codice. I commenti di tipo kernel-doc hanno una struttura
39 consultate :ref:`it_sphinx-pre-install`.
49 ``virtualenv-3`` o ``virtualenv`` a seconda di come Python 3 è stato
57 (sphinx_latest) $ pip install -r Documentation/sphinx/requirements.txt
65 ----------------------
77 --------------------------
90 -------------------------------
[all …]
/linux/rust/zerocopy-derive/
H A Dlib.rs1 // SPDX-License-Identifier: (BSD-2-Clause OR Apache-2.0) OR MIT
5 // Licensed under a BSD-style license <LICENSE-BSD>, Apache License, Version 2.0
6 // <LICENSE-APACHE or https://www.apache.org/licenses/LICENSE-2.0>, or the MIT
7 // license <LICENSE-MIT or https://opensource.org/licenses/MIT>, at your option.
13 //! [zerocopy]: https://docs.rs/zerocopy
49 #[cfg(test)]
58 // FIXME(https://github.com/rust-lang/rust/issues/54140): Some errors could be
62 // --> enum.rs:28:8
72 // (https://doc.rust-lang.org/nightly/proc_macro/struct.Span.html#method.error),
78 /// Note that the separate `$outer` parameter is required - proc macro functions
[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 - thi in err()
[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/rust/zerocopy/src/pointer/
H A Dinner.rs1 // SPDX-License-Identifier: (BSD-2-Clause OR Apache-2.0) OR MIT
5 // Licensed under a BSD-style license <LICENSE-BSD>, Apache License, Version 2.0
6 // <LICENSE-APACHE or https://www.apache.org/licenses/LICENSE-2.0>, or the MIT
7 // license <LICENSE-MIT or https://opensource.org/licenses/MIT>, at your option.
30 /// [covariant]: https://doc.rust-lang.org/reference/subtyping.html
48 /// - `ptr`'s referent is not larger than `isize::MAX` bytes \[1\]
49 /// - `ptr`'s referent does not wrap around the address space \[1\]
51 /// \[1\] Per <https://doc.rust-lang.org/1.85.0/std/ptr/index.html#allocated-object>:
56 /// - `size <= isize::MAX`
61 /// - It is guaranteed that, given `o = a - base` (i.e., the offset of
[all …]
/linux/rust/zerocopy/src/
H A Dbyte_slice.rs1 // SPDX-License-Identifier: (BSD-2-Clause OR Apache-2.0) OR MIT
5 // Licensed under a BSD-style license <LICENSE-BSD>, Apache License, Version 2.0
6 // <LICENSE-APACHE or https://www.apache.org/licenses/LICENSE-2.0>, or the MIT
7 // license <LICENSE-MIT or https://opensource.org/licenses/MIT>, at your option.
45 /// or on their super-traits. This does *not* need to hold if the two calls are
95 /// - `b.split_at(split)`
96 /// - `b.split_at_unchecked(split)`
99 /// - `first`'s address is `addr` and its length is `split`
100 /// - `second`'s address is `addr + split` and its length is `len - split`
112 fn split_at(self, mid: usize) -> Result<(Self, Self), Self> { in split_at()
[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/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/rust/zerocopy/src/util/
H A Dmacro_util.rs1 // SPDX-License-Identifier: (BSD-2-Clause OR Apache-2.0) OR MIT
5 // Licensed under a BSD-style license <LICENSE-BSD>, Apache License, Version 2.0
6 // <LICENSE-APACHE or https://www.apache.org/licenses/LICENSE-2.0>, or the MIT
7 // license <LICENSE-MIT or https://opensource.org/licenses/MIT>, at your option.
11 //! Utilities used by macros and by `zerocopy-derive`.
14 //! by `zerocopy-derive` so that they can be compiled once rather than
22 // FIXME(#29), FIXME(https://github.com/rust-lang/rust/issues/69835): Remove
68 // to `StaticPaddingFree` or something - or introduce a third trait with that
88 // FIXME(#29), FIXME(https://github.com/rust-lang/rust/issues/69835): Remove
101 // FIXME(#29), FIXME(https://github.com/rust-lang/rust/issues/69835): Remove
[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
7 clean-files := host/
9 obj-$(CONFIG_RUST) += core.o compiler_builtins.o ffi.o
10 always-$(CONFIG_RUST) += exports_core_generated.h
12 obj-$(CONFIG_RUST) += zerocopy.o
15 always-$(CONFIG_RUST) += helpers/helpers.bc helpers/helpers_module.bc
17 obj-$(CONFIG_RUST) += helpers/helpers.o
18 always-$(CONFIG_RUST) += exports_helpers_generated.h
22 CFLAGS_REMOVE_helpers/helpers.o = -Wmissing-prototypes -Wmissing-declarations
24 always-$(CONFIG_RUST) += bindings/bindings_generated.rs bindings/bindings_helpers_generated.rs
[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>
72 ) -> *mut crate::ffi::c_void,
92 /// - it accepts any pointer to a valid memory allocation allocated by this function. in call()
93 /// - memory allocated by this function remains valid until it is passed to this function. in call()
102 ) -> Resul in call()
[all...]

1234