Home
last modified time | relevance | path

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

12345678910>>...130

/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 module
[all...]
/linux/tools/perf/tests/
H A Ddemangle-rust-v0-test.c21 "mycrate::example" }, in test__demangle_rust()
23 "<mycrate::Example>::foo" }, in test__demangle_rust()
25 "<mycrate::Example as mycrate::Trait>::foo" }, in test__demangle_rust()
27 "<mycrate::Example>::foo" }, in test__demangle_rust()
29 "<mycrate::Example>::bar" }, in test__demangle_rust()
31 "<mycrate::Example as mycrate::Trait>::example" }, in test__demangle_rust()
37 "mycrate::example::<i32, 1>" }, in test__demangle_rust()
39 "mycrate::example::<for<'a, 'b> fn(&'a u8, &'b u16)>", in test__demangle_rust()
42 "mycrate::example in test__demangle_rust()
[all...]
/linux/tools/sched_ext/
H A DREADME.md1 SCHED_EXT EXAMPLE SCHEDULERS
6 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.
71 You may notice that most of the example schedulers include a "vmlinux.h" file.
86 example, using vmlinux.h allows a scheduler to access fields defined directly
101 bpf_printk("Task %s enabled in example scheduler", p->comm);
108 .name = "example",
137 example above, we print out a task name with `p->comm`. CO-RE would perform
150 # Example scheduler
[all...]
/linux/Documentation/admin-guide/perf/
H A Dhisi-pcie-pmu.rst35 Example usage of perf::
54 Example usage of perf group::
82 For example, if target Root Port is 0000:00:00.0 (x8 lanes), bit0 of
87 Example usage of perf::
97 For example, "bdf=0x3900" means BDF of target Endpoint is 0000:39:00.0.
99 Example usage of perf::
110 For example, "trig_len=4" means trigger condition is 2^4 DW, "trig_mode=0"
114 Example usage of perf::
124 For example, "thr_len=4" means threshold is 2^4 DW, "thr_mode=0" means
128 Example usage of perf::
[all …]
H A 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::
/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
/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 Drunning_tips.rst186 # Subtest: example
190 ok 1 - example
197 For example, we'd change the config options from before to
208 $ modprobe kunit-example-test
249 So using our example config:
253 $ modprobe kunit-example-test > /dev/null
254 $ cat /sys/kernel/debug/kunit/example/results
258 $ modprobe -r kunit-example-test
259 $ cat /sys/kernel/debug/kunit/example/results
260 /sys/kernel/debug/kunit/example/results: No such file or directory
[all …]
/linux/Documentation/ABI/testing/
H A Dima_policy72 For example, "selinux" to measure critical data for SELinux.
74 For example, "sha256,sha512" to only accept to appraise
142 Example of measure rules using alternate PCRs::
147 Example of appraise rule allowing modsig appended signatures:
151 Example of measure rule using KEY_CHECK to measure all keys:
155 Example of measure rule using KEY_CHECK to only measure
160 Example of the special SETXATTR_CHECK appraise rule, that
166 Example of a 'measure' rule requiring fs-verity's digests
172 Example of 'measure' and 'appraise' rules requiring fs-verity
189 Example of a regular IMA file hash 'appraise' rule requiring
[all …]
/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/Documentation/translations/pt_BR/process/
H A Dsecurity-bugs.rst146 drivers/example.c
147 Developer One <dev1@example.com> (maintainer:example driver)
148 Developer Two <dev2@example.org> (maintainer:example driver)
154 $ ./scripts/get_maintainer.pl --no-l --no-r drivers/example.c
155 Developer One <dev1@example.com> (maintainer:example subsystem)
156 Developer Two <dev2@example.org> (maintainer:example subsystem)
157 Developer Three <dev3@example.com> (maintainer:example subsystem [GENERAL])
158 Developer Four <dev4@example.org> (maintainer:example subsystem [GENERAL])
167 --pattern-depth 1 drivers/example.c
168 dev1@example.com, dev2@example.org
[all …]
/linux/Documentation/process/
H A Dsecurity-bugs.rst20 benefit from their usual tools. For example, many subsystems have CI jobs
105 the report to the appropriate maintainers. When not possible (for example,
232 drivers/example.c
233 Developer One <dev1@example.com> (maintainer:example driver)
234 Developer Two <dev2@example.org> (maintainer:example driver)
240 $ ./scripts/get_maintainer.pl --no-l --no-r drivers/example.c
241 Developer One <dev1@example.com> (maintainer:example subsyste
[all...]
/linux/Documentation/driver-api/cxl/platform/
H A Dexample-configs.rst3 Example Platform Configurations
10 example-configurations/one-dev-per-hb.rst
11 example-configurations/multi-dev-per-hb.rst
12 example-configurations/hb-interleave.rst
13 example-configurations/flexible.rst
/linux/Documentation/leds/
H A 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/Documentation/driver-api/dmaengine/
H A 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/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
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/Documentation/admin-guide/gpio/
H A Dgpio-aggregator.rst51 Example: Instantiate a new GPIO aggregator by aggregating GPIO
64 Example: Destroy the previously-created aggregated GPIO
79 **Group:** ``/config/gpio-aggregator/<example-name>``
82 name to ``<example-name>`` (e.g. ``agg0``), except names starting with
86 **Attribute:** ``/config/gpio-aggregator/<example-name>/live``
94 **Attribute:** ``/config/gpio-aggregator/<example-name>/dev_name``
108 **Group:** ``/config/gpio-aggregator/<example-name>/<lineY>/``
112 **Attribute:** ``/config/gpio-aggregator/<example-name>/<lineY>/key``
114 **Attribute:** ``/config/gpio-aggregator/<example-name>/<lineY>/offset``
134 **Attribute:** ``/config/gpio-aggregator/<example-name>/<lineY>/name``
[all …]
/linux/tools/memory-model/Documentation/
H A 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 …]
H A Daccess-marking.txt18 1. Plain C-language accesses (unmarked), for example, "a = b;"
20 2. Data-race marking, for example, "data_race(a = b);"
22 3. READ_ONCE(), for example, "a = READ_ONCE(b);"
25 4. WRITE_ONCE(), for example, "WRITE_ONCE(a, b);"
28 5. __data_racy, for example "int __data_racy a;"
35 example:
46 C-language accesses. It is permissible to combine #2 and #3, for example,
89 the core concurrency design. For example, suppose that the core design
98 KCSAN diagnostics, use both data_race() and READ_ONCE(), for example,
112 is not a problem. For example, if a bogus value is fed into cmpxchg(),
[all …]
/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/Documentation/bpf/
H A Dkfuncs.rst37 An example is given below::
82 For example,
109 that it appears in BTF. For example, ``BTF_TYPE_SAFE_TRUSTED(struct socket)``
128 An example is given below::
148 An example is given below::
185 dynptr in the supplied storage. For example::
200 An example is given below::
210 The __nullable annotation can be combined with other annotations. For example,
228 An example is given below::
245 An example i
[all...]
/linux/Documentation/input/
H A Duinput.rst40 This first example shows how to create a new virtual device, and how to
80 strcpy(usetup.name, "Example device");
90 * to send. This pause is only needed in our example code!
115 This example shows how to create a virtual device that behaves like a physical
122 /* emit function is identical to of the first example */
143 strcpy(usetup.name, "Example device");
153 * to send. This pause is only needed in our example code!
191 /* emit function is identical to of the first example */
224 * to send. This pause is only needed in our example code!
/linux/Documentation/userspace-api/
H A Ddma-buf-alloc-exchange.rst64 One of the dimensions in a color model. For example, RGB model has
108 For example, ``DRM_FORMAT_ARGB8888`` describes a format in which each pixel has
115 As a more complex example, ``DRM_FORMAT_NV12`` describes a format in which luma
128 making use of tiled access and possibly also compression. For example, the
135 example, the ``I915_FORMAT_MOD_Y_TILED_CCS`` modifier adds a second plane to RGB
151 underlying memory storage. For example, even though a 1920x1080
163 buffer; for example, ``DRM_FORMAT_NV12`` may be stored in a single memory buffer
169 between two contiguous row. For example, a ``DRM_FORMAT_MOD_LINEAR`` buffer
177 larger area than would ordinarily be required. For example, many media decoders
204 lists. For example, if a user wants to use Vulkan to render an image to be
[all …]
/linux/Documentation/translations/ja_JP/process/
H A Dsubmitting-patches.rst152 Closes: https://example.com/issues/1234
466 Signed-off-by: Random J Developer <random@developer.example.org>
505 Acked-by: The Stakeholder <stakeholder@example.org> # As primary user
559 Co-developed-by: First Co-Author <first@coauthor.example.org>
560 Signed-off-by: First Co-Author <first@coauthor.example.org>
561 Co-developed-by: Second Co-Author <second@coauthor.example.org>
562 Signed-off-by: Second Co-Author <second@coauthor.example.org>
563 Signed-off-by: From Author <from@author.example.org>
567 From: From Author <from@author.example.org>
571 Co-developed-by: Random Co-Author <random@coauthor.example.org>
[all …]

12345678910>>...130