Home
last modified time | relevance | path

Searched full:inject (Results 1 – 25 of 633) sorted by relevance

12345678910>>...26

/kernel/linux/linux-5.10/tools/perf/
Dbuiltin-inject.c3 * builtin-inject.c
5 * Builtin inject command: Examine the live mode (stdin) event stream
64 static int output_bytes(struct perf_inject *inject, void *buf, size_t sz) in output_bytes() argument
68 size = perf_data__write(&inject->output, buf, sz); in output_bytes()
72 inject->bytes_written += size; in output_bytes()
79 struct perf_inject *inject = container_of(tool, struct perf_inject, in perf_event__repipe_synth() local
82 return output_bytes(inject, event, event->header.size); in perf_event__repipe_synth()
118 struct perf_inject *inject = container_of(tool, struct perf_inject, in perf_event__repipe_attr() local
126 if (!inject->output.is_pipe) in perf_event__repipe_attr()
141 static int copy_bytes(struct perf_inject *inject, int fd, off_t size) in copy_bytes() argument
[all …]
/kernel/linux/linux-6.6/tools/perf/
Dbuiltin-inject.c3 * builtin-inject.c
5 * Builtin inject command: Examine the live mode (stdin) event stream
140 static int output_bytes(struct perf_inject *inject, void *buf, size_t sz) in output_bytes() argument
144 size = perf_data__write(&inject->output, buf, sz); in output_bytes()
148 inject->bytes_written += size; in output_bytes()
155 struct perf_inject *inject = container_of(tool, struct perf_inject, in perf_event__repipe_synth() local
158 return output_bytes(inject, event, event->header.size); in perf_event__repipe_synth()
195 struct perf_inject *inject = container_of(tool, struct perf_inject, in perf_event__repipe_attr() local
203 if (!inject->is_pipe) in perf_event__repipe_attr()
218 static int copy_bytes(struct perf_inject *inject, struct perf_data *data, off_t size) in copy_bytes() argument
[all …]
/kernel/linux/linux-5.10/Documentation/fault-injection/
Dnotifier-error-inject.rst4 Notifier error injection provides the ability to inject artificial errors to
18 /sys/kernel/debug/notifier-error-inject/pm/actions/<notifier event>/error
26 Example: Inject PM suspend error (-12 = -ENOMEM)::
28 # cd /sys/kernel/debug/notifier-error-inject/pm/
37 /sys/kernel/debug/notifier-error-inject/memory/actions/<notifier event>/error
44 Example: Inject memory hotplug offline error (-12 == -ENOMEM)::
46 # cd /sys/kernel/debug/notifier-error-inject/memory
55 /sys/kernel/debug/notifier-error-inject/pSeries-reconfig/actions/<notifier event>/error
68 /sys/kernel/debug/notifier-error-inject/netdev/actions/<notifier event>/error
82 Example: Inject netdevice mtu change error (-22 == -EINVAL)::
[all …]
Dfault-injection.rst46 inject NVMe status code and retry flag on devices permitted by setting
58 fault-inject-debugfs kernel module provides some debugfs entries for runtime
129 default is 'N', setting it to 'Y' won't inject failures into
137 default is 'N', setting it to 'Y' will inject failures
152 - /sys/kernel/debug/fail_function/inject:
172 specifies the "error" return value to inject to the given function.
181 In order to inject faults while debugfs is not available (early boot time),
212 - #include <linux/fault-inject.h>
218 Please see the definition of struct fault_attr in fault-inject.h
245 Upon should_fail() returning true, client code should inject a failure:
[all …]
/kernel/linux/linux-6.6/Documentation/fault-injection/
Dnotifier-error-inject.rst4 Notifier error injection provides the ability to inject artificial errors to
18 /sys/kernel/debug/notifier-error-inject/pm/actions/<notifier event>/error
26 Example: Inject PM suspend error (-12 = -ENOMEM)::
28 # cd /sys/kernel/debug/notifier-error-inject/pm/
37 /sys/kernel/debug/notifier-error-inject/memory/actions/<notifier event>/error
44 Example: Inject memory hotplug offline error (-12 == -ENOMEM)::
46 # cd /sys/kernel/debug/notifier-error-inject/memory
55 /sys/kernel/debug/notifier-error-inject/pSeries-reconfig/actions/<notifier event>/error
68 /sys/kernel/debug/notifier-error-inject/netdev/actions/<notifier event>/error
82 Example: Inject netdevice mtu change error (-22 == -EINVAL)::
[all …]
Dfault-injection.rst50 inject NVMe status code and retry flag on devices permitted by setting
57 inject IO timeouts by setting config items under
59 inject requeue requests by setting config items under
61 inject init_hctx() errors by setting config items under
70 fault-inject-debugfs kernel module provides some debugfs entries for runtime
141 default is 'Y', setting it to 'N' will also inject failures into
149 default is 'Y', setting it to 'N' will also inject failures
185 - /sys/kernel/debug/fail_function/inject:
205 specifies the "error" return value to inject to the given function.
214 In order to inject faults while debugfs is not available (early boot time),
[all …]
/kernel/linux/linux-6.6/drivers/misc/
Dxilinx_tmr_inject.c3 * Driver for Xilinx TMR Inject IP.
8 * This driver is developed for TMR Inject IP,The Triple Modular Redundancy(TMR)
9 * Inject provides fault injection.
16 #include <linux/fault-inject.h>
18 /* TMR Inject Register offsets */
33 * struct xtmr_inject_dev - Driver data for TMR Inject
94 /* Initialize the address inject and instruction inject registers */ in xtmr_inject_init()
136 /* Initialize TMR Inject */ in xtmr_inject_probe()
155 .compatible = "xlnx,tmr-inject-1.0",
171 MODULE_DESCRIPTION("Xilinx TMR Inject Driver");
/kernel/linux/linux-5.10/tools/perf/Documentation/
Dperf-inject.txt1 perf-inject(1)
6 perf-inject - Filter to augment the events stream with additional information
11 'perf inject <options>'
15 perf-inject reads a perf-record event stream and repipes it to stdout. At any
16 point the processing code can inject other events into the event stream - in
20 Build-ids are just the first user of perf-inject - potentially anything that
28 Inject build-ids into the output stream
31 Inject build-ids of all DSOs into the output stream
/kernel/linux/linux-6.6/tools/perf/Documentation/
Dperf-inject.txt1 perf-inject(1)
6 perf-inject - Filter to augment the events stream with additional information
11 'perf inject <options>'
15 perf-inject reads a perf-record event stream and repipes it to stdout. At any
16 point the processing code can inject other events into the event stream - in
20 Build-ids are just the first user of perf-inject - potentially anything that
28 Inject build-ids of DSOs hit by samples into the output stream.
32 Inject build-ids of all DSOs into the output stream regardless of hits
36 Override build-ids to inject using these comma-separated pairs of
112 :GMEXAMPLECMD: inject
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/misc/
Dxlnx,tmr-inject.yaml4 $id: http://devicetree.org/schemas/misc/xlnx,tmr-inject.yaml#
7 title: Xilinx Triple Modular Redundancy(TMR) Inject IP
13 The Triple Modular Redundancy(TMR) Inject core provides functional fault
21 - xlnx,tmr-inject-1.0
43 fault-inject@44a30000 {
44 compatible = "xlnx,tmr-inject-1.0";
/kernel/linux/linux-6.6/Documentation/sound/designs/
Djack-injection.rst8 Here jack injection means users could inject plugin or plugout events
13 in this case, we could inject plugin or plugout events to an audio
26 To inject events to audio jacks, we need to enable the jack injection
28 change the state by hardware events anymore, we could inject plugin or
132 Jack: Headphone Jack Inject Enabled: 0
139 Jack: Headphone Jack Inject Enabled: 1
154 write-only, inject plugin or plugout
156 - to inject plugin:
162 - to inject plugout:
/kernel/linux/linux-5.10/drivers/edac/
Di7core_edac.c258 struct i7core_inject inject; member
656 Also, since a change at an inject parameter will be applied only at enable,
664 pvt->inject.enable = 0; in disable_inject()
666 if (!pvt->pci_ch[pvt->inject.channel][0]) in disable_inject()
669 pci_write_config_dword(pvt->pci_ch[pvt->inject.channel][0], in disable_inject()
676 * i7core inject inject.section
678 * accept and store error injection inject.section value
691 if (pvt->inject.enable) in i7core_inject_section_store()
698 pvt->inject.section = (u32) value; in i7core_inject_section_store()
708 return sprintf(data, "0x%08x\n", pvt->inject.section); in i7core_inject_section_show()
[all …]
Docteon_edac-lmc.c29 unsigned long inject; member
78 if (!pvt->inject) in octeon_lmc_edac_poll_o2()
90 if (likely(!pvt->inject)) in octeon_lmc_edac_poll_o2()
120 if (likely(!pvt->inject)) in octeon_lmc_edac_poll_o2()
123 pvt->inject = 0; in octeon_lmc_edac_poll_o2()
154 TEMPLATE_SHOW(inject);
155 TEMPLATE_STORE(inject);
197 static DEVICE_ATTR(inject, S_IRUGO | S_IWUSR,
/kernel/linux/linux-6.6/drivers/edac/
Di7core_edac.c258 struct i7core_inject inject; member
656 Also, since a change at an inject parameter will be applied only at enable,
664 pvt->inject.enable = 0; in disable_inject()
666 if (!pvt->pci_ch[pvt->inject.channel][0]) in disable_inject()
669 pci_write_config_dword(pvt->pci_ch[pvt->inject.channel][0], in disable_inject()
676 * i7core inject inject.section
678 * accept and store error injection inject.section value
691 if (pvt->inject.enable) in i7core_inject_section_store()
698 pvt->inject.section = (u32) value; in i7core_inject_section_store()
708 return sprintf(data, "0x%08x\n", pvt->inject.section); in i7core_inject_section_show()
[all …]
Docteon_edac-lmc.c29 unsigned long inject; member
78 if (!pvt->inject) in octeon_lmc_edac_poll_o2()
90 if (likely(!pvt->inject)) in octeon_lmc_edac_poll_o2()
120 if (likely(!pvt->inject)) in octeon_lmc_edac_poll_o2()
123 pvt->inject = 0; in octeon_lmc_edac_poll_o2()
154 TEMPLATE_SHOW(inject);
155 TEMPLATE_STORE(inject);
197 static DEVICE_ATTR(inject, S_IRUGO | S_IWUSR,
/kernel/linux/linux-6.6/net/rxrpc/
DKconfig34 bool "Inject packet loss into RxRPC packet stream"
36 Say Y here to inject packet loss by discarding some received and some
40 bool "Inject delay into packet reception"
43 Say Y here to inject a delay into packet reception, allowing an
/kernel/linux/linux-6.6/arch/x86/kernel/cpu/mce/
DMakefile9 mce-inject-y := inject.o
10 obj-$(CONFIG_X86_MCE_INJECT) += mce-inject.o
/kernel/linux/linux-5.10/arch/x86/kernel/cpu/mce/
DMakefile9 mce-inject-y := inject.o
10 obj-$(CONFIG_X86_MCE_INJECT) += mce-inject.o
/kernel/linux/linux-6.6/drivers/powercap/
Didle_inject.c63 * @idle_duration_us: duration of CPU idle time to inject
70 * This structure is used to define per instance idle inject device data. Each
71 * instance has an idle duration, a run duration and mask of CPUs to inject
78 * update() - This callback is invoked just before waking up CPUs to inject
79 * idle. If it returns false, CPUs are not woken up to inject idle in the given
120 * play_idle_precise() to inject a specified amount of CPU idle time.
145 * This function calls play_idle_precise() to inject a specified amount of CPU
169 * @idle_duration_us: CPU idle time to inject in microseconds
216 * injection kthreads associated with @ii_dev to let them inject CPU idle time
319 * @update: This callback is called just before waking up CPUs to inject
/kernel/linux/linux-6.6/drivers/vfio/
Dvirqfd.c53 schedule_work(&virqfd->inject); in virqfd_wakeup()
91 flush_work(&virqfd->inject); in virqfd_shutdown()
99 struct virqfd *virqfd = container_of(work, struct virqfd, inject); in virqfd_inject()
108 flush_work(&virqfd->inject); in virqfd_flush_inject()
133 INIT_WORK(&virqfd->inject, virqfd_inject); in vfio_virqfd_enable()
182 schedule_work(&virqfd->inject); in vfio_virqfd_enable()
/kernel/linux/linux-6.6/tools/perf/tests/shell/
Dpipe_test.sh15 if ! perf record -e task-clock:u -o - ${prog} | perf inject -b | perf report -i - | grep ${sym}; th…
20 perf record -e task-clock:u -o - ${prog} | perf inject -b -o ${data}
27 if ! perf inject -b -i ${data} | perf report -i - | grep ${sym}; then
/kernel/linux/linux-5.10/drivers/vfio/
Dvirqfd.c53 schedule_work(&virqfd->inject); in virqfd_wakeup()
91 flush_work(&virqfd->inject); in virqfd_shutdown()
99 struct virqfd *virqfd = container_of(work, struct virqfd, inject); in virqfd_inject()
126 INIT_WORK(&virqfd->inject, virqfd_inject); in vfio_virqfd_enable()
174 schedule_work(&virqfd->inject); in vfio_virqfd_enable()
/kernel/linux/linux-6.6/Documentation/mm/
Dhwpoison.rst49 KVM can inject the machine check into the guest with the proper
112 * hwpoison-inject module through debugfs ``/sys/kernel/debug/hwpoison/``
115 Inject hwpoison fault at PFN echoed into this file. This does
159 x86 has mce-inject, mce-test
172 git://git.kernel.org/pub/scm/utils/cpu/mce/mce-inject.git
/kernel/linux/linux-5.10/Documentation/vm/
Dhwpoison.rst51 KVM can inject the machine check into the guest with the proper
116 * hwpoison-inject module through debugfs ``/sys/kernel/debug/hwpoison/``
119 Inject hwpoison fault at PFN echoed into this file. This does
162 x86 has mce-inject, mce-test
175 git://git.kernel.org/pub/scm/utils/cpu/mce/mce-inject.git
/kernel/linux/linux-5.10/lib/
DMakefile16 KCOV_INSTRUMENT_fault-inject.o := n
212 obj-$(CONFIG_FAULT_INJECTION) += fault-inject.o
213 obj-$(CONFIG_FAULT_INJECTION_USERCOPY) += fault-inject-usercopy.o
214 obj-$(CONFIG_NOTIFIER_ERROR_INJECTION) += notifier-error-inject.o
215 obj-$(CONFIG_PM_NOTIFIER_ERROR_INJECT) += pm-notifier-error-inject.o
216 obj-$(CONFIG_NETDEV_NOTIFIER_ERROR_INJECT) += netdev-notifier-error-inject.o
217 obj-$(CONFIG_MEMORY_NOTIFIER_ERROR_INJECT) += memory-notifier-error-inject.o
219 of-reconfig-notifier-error-inject.o
220 obj-$(CONFIG_FUNCTION_ERROR_INJECTION) += error-inject.o

12345678910>>...26