Home
last modified time | relevance | path

Searched refs:example (Results 1 – 25 of 1518) sorted by relevance

12345678910>>...61

/linux/samples/
H A 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() on multiple ips example"
45 This builds an ftrace direct function example
50 tristate "Build custom ftrace ops example"
53 This builds an ftrace ops example that hooks two functions and
76 This build several kprobes example modules.
[all …]
/linux/tools/testing/kunit/test_data/
H A 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
H A Dtest_is_test_passed-failure.log23 # Subtest: example
27 # example_simple_test: EXPECTATION FAILED at lib/kunit/example-test.c:30
36 kunit example: one or more tests failed
37 not ok 2 - example
H A Dtest_strip_hyphen.log9 # Subtest: example
15 kunit example: all tests passed
16 ok 2 example
H A Dtest_is_test_passed-all_passed.log23 # Subtest: example
32 kunit example: all tests passed
33 ok 2 - example
H A Dtest_is_test_passed-missing_plan.log21 # Subtest: example
30 kunit example: all tests passed
31 ok 2 - example
/linux/samples/kfifo/
H A DMakefile2 obj-$(CONFIG_SAMPLE_KFIFO) += bytestream-example.o dma-example.o inttype-example.o record-example.o
/linux/samples/user_events/
H A DMakefile4 example: example.o target
5 example.o: example.c
/linux/tools/testing/ktest/examples/
H A 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/tools/bpf/bpftool/Documentation/
H A Dbpftool-gen.rst95 file name, i.e., if BPF object file name is **example.o**, BPF object name
96 will be **example**. Object name can be also specified explicitly through
98 provided (assuming **example** as the object name):
265 This is example BPF application with three BPF programs and a mix of BPF
275 **$ bpftool gen object example.bpf.o example1.bpf.o example2.bpf.o example3.bpf.o**
279 files into the final BPF ELF object file *example.bpf.o*.
281 **$ bpftool gen skeleton example.bpf.o name example | tee example.skel.h**
294 struct example {
334 static void example__destroy(struct example *obj);
335 static inline struct example *example__open_opts(
[all …]
/linux/Documentation/translations/zh_TW/process/
H A Dsubmitting-patches.rst325 Signed-off-by: Random J Developer <random@developer.example.org>
372 Co-developed-by: First Co-Author <first@coauthor.example.org>
373 Signed-off-by: First Co-Author <first@coauthor.example.org>
374 Co-developed-by: Second Co-Author <second@coauthor.example.org>
375 Signed-off-by: Second Co-Author <second@coauthor.example.org>
376 Signed-off-by: From Author <from@author.example.org>
380 From: From Author <from@author.example.org>
384 Co-developed-by: Random Co-Author <random@coauthor.example.org>
385 Signed-off-by: Random Co-Author <random@coauthor.example.org>
386 Signed-off-by: From Author <from@author.example.org>
[all …]
/linux/Documentation/translations/zh_CN/process/
H A Dsubmitting-patches.rst321 Signed-off-by: Random J Developer <random@developer.example.org>
368 Co-developed-by: First Co-Author <first@coauthor.example.org>
369 Signed-off-by: First Co-Author <first@coauthor.example.org>
370 Co-developed-by: Second Co-Author <second@coauthor.example.org>
371 Signed-off-by: Second Co-Author <second@coauthor.example.org>
372 Signed-off-by: From Author <from@author.example.org>
376 From: From Author <from@author.example.org>
380 Co-developed-by: Random Co-Author <random@coauthor.example.org>
381 Signed-off-by: Random Co-Author <random@coauthor.example.org>
382 Signed-off-by: From Author <from@author.example.org>
[all …]
/linux/Documentation/dev-tools/kunit/
H A 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 …]
H A 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 …]
H A 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, we need to be able to allocate an array to test the ``sort()``
174 For example:
186 .name = "example",
195 In the above example, the test suite ``example_test_suite`` would first run
[all …]
/linux/Documentation/admin-guide/gpio/
H A Dgpio-virtuser.rst29 **Group:** ``/config/gpio-consumer/example-name``
31 **Attribute:** ``/config/gpio-consumer/example-name/live``
33 **Attribute:** ``/config/gpio-consumer/example-name/dev_name``
51 **Group:** ``/config/gpio-consumer/example-name/con_id``
54 to the ``'con_id'`` argument of the ``gpiod_get()`` function. For example:
60 **Attribute:** ``/config/gpio-consumer/example-name/con_id/0/key``
62 **Attribute:** ``/config/gpio-consumer/example-name/con_id/0/offset``
64 **Attribute:** ``/config/gpio-consumer/example-name/con_id/0/drive``
66 **Attribute:** ``/config/gpio-consumer/example-name/con_id/0/pull``
68 **Attribute:** ``/config/gpio-consumer/example-name/con_id/0/active_low``
[all …]
/linux/Documentation/translations/zh_CN/maintainer/
H A Dmodifying-patches.rst24 Signed-off-by: Random J Developer <random@developer.example.org>
25 [lucky@maintainer.example.org: struct foo moved from foo.c to foo.h]
26 Signed-off-by: Lucky K Maintainer <lucky@maintainer.example.org>
/linux/Documentation/networking/devlink/
H A Ddevlink-resource.rst14 For example, the ``netdevsim`` driver enables ``/IPv4/fib`` and
23 specify the path of the resource. For example ``/IPv4/fib`` is the id for
40 example usage
43 The resources exposed by the driver can be observed, for example:
63 attribute, which represents the pending change in size. For example:
/linux/Documentation/ABI/testing/
H A Dsysfs-driver-input-exc30004 Description: Reports the firmware version provided by the touchscreen, for example "00_T6" on a …
13 Description: Reports the model identification provided by the touchscreen, for example "Orion_13…
22 Description: Reports the type identification provided by the touchscreen, for example "PCAP82H80 Se…
/linux/Documentation/trace/rv/
H A Ddeterministic_automata.rst19 For example, a given automaton named 'wip' (wakeup in preemptive) can
32 in multiple formats. For example, using a *graphical representation*, using
55 For example, the 'wip' automata can be presented as (augmented with comments)::
102 in O(1). For example::
113 For example, this is the 'wip' model in DOT::
143 in the example above and automatically convert it to the C representation
146 For example, having the previous 'wip' model into a file named 'wip.dot',
161 For example, the formal description using set theory is better suitable
/linux/Documentation/iio/
H A Diio_tools.rst13 * lsiio: example application that provides a list of IIO devices and triggers
14 * iio_event_monitor: example application that reads events from an IIO device
16 * iio_generic_buffer: example application that reads data from buffer
/linux/Documentation/driver-api/nvdimm/
H A Dnvdimm.rst22 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
158 referenced for any example sysfs layouts::
202 API. The example sysfs paths and diagrams are relative to the Example
215 LIBNDCTL: instantiate a new library context example
[all …]
/linux/tools/sched_ext/
H A DREADME.md6 This directory contains a number of example sched_ext schedulers. These
17 This README will describe these example schedulers, including describing the
25 There are a few toolchain dependencies for compiling the example schedulers.
78 You may notice that most of the example schedulers include a "vmlinux.h" file.
93 example, using vmlinux.h allows a scheduler to access fields defined directly
108 bpf_printk("Task %s enabled in example scheduler", p->comm);
115 .name = "example",
144 example above, we print out a task name with `p->comm`. CO-RE would perform
159 This directory contains the following example schedulers. These schedulers are
168 A simple scheduler that provides an example of a minimal sched_ext scheduler.
[all …]
/linux/tools/power/pm-graph/config/
H A Dcustom-timeline-functions.cfg92 # example: _cpu_up:
99 # example: CPU_ON[{cpu}]
105 # example: [color=#CC00CC]
110 # example: cpu=%di:s32
157 # example: ata_eh_recover:
164 # example: ata{port}_port_reset
170 # example: [color=#CC00CC]
175 # example: port=+36(%di):s32
/linux/Documentation/devicetree/bindings/fsi/
H A Dfsi.txt7 busses, which are then exposed by the device tree. For example, an FSI engine
48 be needed as well, for example:
71 required. For an example, a slave on link 1, with ID 2, could be represented
98 For example, for a slave using a single 0x400-byte page starting at address
106 Full example
109 Here's an example that illustrates:
134 /* FSI engine at 0xc00, using a single page. In this example,

12345678910>>...61