Home
last modified time | relevance | path

Searched full:example (Results 1 – 25 of 3826) sorted by relevance

12345678910>>...154

/Linux-v6.1/samples/
DKconfig17 This builds the trace event example module.
20 tristate "Build custom trace event example -- loadable modules only"
23 This builds the custom trace event example module.
33 tristate "Build register_ftrace_direct() example"
37 This builds an ftrace direct function example
41 tristate "Build register_ftrace_direct_multi() example"
45 This builds an ftrace direct function example
69 This build several kprobes example modules.
72 tristate "Build kretprobes example -- loadable modules only"
80 This builds kernel hardware breakpoint example modules.
[all …]
/Linux-v6.1/Documentation/kbuild/
Dmakefiles.rst148 Example::
158 Example::
188 Example::
206 Example::
211 Note: In this example $(CONFIG_ISDN_PPP_BSDCOMP) evaluates to 'm'
219 Example::
225 In this example, the module name will be isdn.o. Kbuild will
233 Example::
242 In this example, xattr.o, xattr_user.o and xattr_trusted.o are only
269 Example::
[all …]
/Linux-v6.1/tools/bpf/bpftool/Documentation/
Dbpftool-gen.rst107 file name is **example.o**, BPF object name will be
108 **example**. Object name can be also specified explicitly
110 custom functions are provided (assuming **example** as
260 This is example BPF application with two BPF programs and a mix of BPF maps
267 **$ bpftool gen object example.bpf.o example1.bpf.o example2.bpf.o**
271 BPF ELF object file *example.bpf.o*.
273 **$ bpftool gen skeleton example.bpf.o name example | tee example.skel.h**
286 struct example {
317 static void example__destroy(struct example *obj);
318 static inline struct example *example__open_opts(
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/board/
Dfsl-board.txt13 Example:
26 indicating the type of FPGA. Example:
34 Example (P1022DS):
43 Example (LS2080A-RDB):
57 indicating the type of FPGA. Example:
61 Example:
73 Example:
77 Example:
/Linux-v6.1/tools/testing/kunit/test_data/
Dtest_is_test_passed-all_passed_nested.log7 # Subtest: example
16 kunit example: all tests passed
17 ok 2 - example
24 # Subtest: example
33 kunit example: all tests passed
34 ok 2 - example
/Linux-v6.1/Documentation/dev-tools/kunit/
Dstart.rst97 For example, to include the kernel's linked-list test you can run::
103 For example, to run only ``FAT_FS`` and ``EXT4`` tests you can run::
130 For example, let's assume we are using the default config:
138 like ``"example.example_simple_test"``, to run specifically that test case::
140 ./tools/testing/kunit/kunit.py run "example.example_simple_test"
150 If you do not want to use the KUnit Wrapper (for example: you want code
184 1. Create a file ``drivers/misc/example.h``, which includes:
190 2. Create a file ``drivers/misc/example.c``, which includes:
196 #include "example.h"
208 bool "My example"
[all …]
Dusage.rst11 and then sets *expectations* for what should happen. For example:
24 In the above example, ``example_test_success`` always passes because it does
36 logged. For example:
46 In the above example, ``add_test_basic`` makes a number of assertions about the
65 For example, if we want to rigorously test the ``add`` function above, create
97 terminates the test case if the condition is not satisfied. For example:
115 In this example, the method under test should return pointer to a value. If the
129 suite and/or every test case. For example:
141 .name = "example",
150 In the above example, the test suite ``example_test_suite`` would first run
[all …]
Drun_wrapper.rst72 contains any other config options required by the tests (For example:
83 We can then add any other Kconfig options. For example:
97 (For example: ``make menuconfig``) to adjust other config options.
160 example: if we only want to run KUnit resource tests, use:
183 for example: i386, x86_64, arm and so on; run on qemu.
188 binaries such as GCC. For example:
204 example:
218 instance of ``QemuArchParams`` assigned to it. See example in:
223 ``--arch`` flag. For example: using
251 compiling a kernel (using ``build`` or ``run`` commands). For example:
[all …]
Dstyle.rst17 example, non-deterministically producing false positives or negatives, or
45 example, subsystems could be called:
82 to be split into multiple test suites (for example, simple drivers).
89 subsystem (for example, both unit tests and integration tests), they should be
96 module name. For example, test suites could include:
108 Avoid names, for example:
117 ``integration_test``. It should be a separate test suite. For example, if the
139 Example test names include:
168 If we are not able to meet above conditions (for example, the test is unable to
171 For example, a Kconfig entry might look like:
[all …]
Drunning_tips.rst175 # Subtest: example
179 ok 1 - example
186 For example, we'd change the config options from before to
197 $ modprobe kunit-example-test
238 So using our example config:
242 $ modprobe kunit-example-test > /dev/null
243 $ cat /sys/kernel/debug/kunit/example/results
247 $ modprobe -r kunit-example-test
248 $ cat /sys/kernel/debug/kunit/example/results
249 /sys/kernel/debug/kunit/example/results: No such file or directory
[all …]
/Linux-v6.1/Documentation/admin-guide/perf/
Dhns3-pmu.rst41 Example usage of checking event code and subevent code::
61 Example usage of checking supported filter mode::
66 Example usage of perf::
84 Example usage of perf::
93 Example usage of perf::
101 Example usage of perf::
111 for example:
118 Example usage of perf::
126 Example usage of perf::
134 Example usage of perf::
Dhisi-pcie-pmu.rst33 Example usage of perf::
61 For example, if target Root Port is 0000:00:00.0 (x8 lanes), bit0 of bitmap
65 Example usage of perf::
75 For example, "bdf=0x3900" means BDF of target Endpoint is 0000:39:00.0.
77 Example usage of perf::
87 For example, "trig_len=4" means trigger condition is 2^4 DW, "trig_mode=0"
91 Example usage of perf::
100 For example, "thr_len=4" means threshold is 2^4 DW, "thr_mode=0" means
104 Example usage of perf::
/Linux-v6.1/tools/testing/ktest/examples/
DREADME1 This directory contains example configs to use ktest for various tasks.
10 crosstests.conf - this config shows an example of testing a git repo against
16 test.conf - A generic example of a config. This is based on an actual config
19 kvm.conf - A example of a config that is used to test a virtual guest running
22 snowball.conf - An example config that was used to demo ktest.pl against
26 included into other configs. This is a real use example that shows how
/Linux-v6.1/Documentation/devicetree/bindings/sound/
Drenesas,rsnd.txt36 ${LINUX}/arch/arm/boot/dts/r8a7790-lager.dts can be good example.
37 This is example of
42 see "Example: simple sound card"
45 ${LINUX}/arch/arm/boot/dts/r8a7790.dts can be good example.
71 for example digital TV case.
79 see "Example: simple sound card for Asynchronous mode"
116 see "Example: simple sound card for channel convert"
123 example of using matrix
132 example of changing connection
152 see "Example: simple sound card for MIXer"
[all …]
/Linux-v6.1/Documentation/ABI/testing/
Dima_policy74 For example, "selinux" to measure critical data for SELinux.
76 For example, "sha256,sha512" to only accept to appraise
141 Example of measure rules using alternate PCRs::
146 Example of appraise rule allowing modsig appended signatures:
150 Example of measure rule using KEY_CHECK to measure all keys:
154 Example of measure rule using KEY_CHECK to only measure
159 Example of the special SETXATTR_CHECK appraise rule, that
165 Example of a 'measure' rule requiring fs-verity's digests
171 Example of 'measure' and 'appraise' rules requiring fs-verity
188 All of these policy rules could, for example, be constrained
/Linux-v6.1/Documentation/leds/
Dleds-lm3556.rst28 * if STROBE pin is enabled, below example control brightness only, and
31 Flash Example:
55 * if TORCH pin is enabled, below example control brightness only,
58 Torch Example:
86 Indicator pattern example:
101 Example:
123 Example::
134 Example::
/Linux-v6.1/Documentation/driver-api/dmaengine/
Ddmatest.rst41 Example of usage::
57 Example of multi-channel test usage (new in the 5.0 kernel)::
96 before returning. For example, the following scripts wait for 42 tests
100 Example::
131 Example of output::
142 Example::
160 Example::
168 Example::
173 More channels can be added by repeating the example above.
176 Example::
[all …]
/Linux-v6.1/tools/power/pm-graph/config/
Dcustom-timeline-functions.cfg92 # example: _cpu_up:
99 # example: CPU_ON[{cpu}]
105 # example: [color=#CC00CC]
110 # example: cpu=%di:s32
112 # Example: Display cpu resume in the timeline
157 # example: ata_eh_recover:
164 # example: ata{port}_port_reset
170 # example: [color=#CC00CC]
175 # example: port=+36(%di):s32
177 # Example: Display ATA port reset as ataN_port_reset in the timeline
/Linux-v6.1/tools/perf/pmu-events/arch/x86/jaketown/
Duncore-interconnect.json8 …QPI LL. This clock runs at 1/8th the 'GT/s' speed of the QPI link. For example, a 8GT/s link wil…
67 …nk entered L1. Link power states are per link and per direction, so for example the Tx direction …
76 …k entered L0p. Link power states are per link and per direction, so for example the Tx direction …
85 …nk entered L0. Link power states are per link and per direction, so for example the Tx direction …
208example, 8.0 GT/s), the 'transfers' here refer to 'fits'. Therefore, in L0, the system will trans…
218example, 8.0 GT/s), the 'transfers' here refer to 'fits'. Therefore, in L0, the system will trans…
228example, 8.0 GT/s), the 'transfers' here refer to 'fits'. Therefore, in L0, the system will trans…
239example, 8.0 GT/s), the 'transfers' here refer to 'fits'. Therefore, in L0, the system will trans…
250example, 8.0 GT/s), the 'transfers' here refer to 'fits'. Therefore, in L0, the system will trans…
261example, 8.0 GT/s), the 'transfers' here refer to 'fits'. Therefore, in L0, the system will trans…
[all …]
/Linux-v6.1/Documentation/driver-api/nvdimm/
Dnvdimm.rst19 Example NVDIMM Platform
22 libndctl: instantiate a new library context example
26 libndctl: bus enumeration example
29 libndctl: DIMM enumeration example
32 libndctl: region enumeration example
37 libndctl: namespace enumeration example
38 libndctl: namespace creation example
42 libndctl: btt creation example
110 DSM Interface Example:
154 Example NVDIMM Platform
[all …]
/Linux-v6.1/samples/kfifo/
DMakefile2 obj-$(CONFIG_SAMPLE_KFIFO) += bytestream-example.o dma-example.o inttype-example.o record-example.o
/Linux-v6.1/samples/user_events/
DMakefile4 example: example.o target
5 example.o: example.c
/Linux-v6.1/Documentation/translations/zh_TW/process/
Dsubmitting-patches.rst344 Signed-off-by: Random J Developer <random@developer.example.org>
359 Signed-off-by: Random J Developer <random@developer.example.org>
360 [lucky@maintainer.example.org: struct foo moved from foo.c to foo.h]
361 Signed-off-by: Lucky K Maintainer <lucky@maintainer.example.org>
420 Co-developed-by: First Co-Author <first@coauthor.example.org>
421 Signed-off-by: First Co-Author <first@coauthor.example.org>
422 Co-developed-by: Second Co-Author <second@coauthor.example.org>
423 Signed-off-by: Second Co-Author <second@coauthor.example.org>
424 Signed-off-by: From Author <from@author.example.org>
428 From: From Author <from@author.example.org>
[all …]
/Linux-v6.1/tools/memory-model/Documentation/
Dcontrol-dependencies.txt22 from "a". This means that an explicit read barrier is required, for example
33 following example:
50 the original example by eliminating the "if" statement as follows:
91 have been applied. Therefore, if you need ordering in this example,
92 you must use explicit memory ordering, for example, smp_store_release():
104 guaranteed only when the stores differ, for example:
121 preserve ordering. For example:
164 evaluation. Consider this example:
171 always true, the compiler can transform this example as follows, again
177 This is yet another example showing the importance of preventing the
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/regulator/
Dda9211.txt21 Example 1) DA9211
41 Example 2) DA9212
67 Example 3) DA9213
85 Example 4) DA9223
103 Example 5) DA9214
129 Example 6) DA9224
155 Example 7) DA9215
181 Example 8) DA9225

12345678910>>...154