Home
last modified time | relevance | path

Searched refs:inject (Results 1 – 25 of 178) sorted by relevance

12345678

/openbmc/linux/tools/perf/
H A Dbuiltin-inject.c140 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
228 ret = output_bytes(inject, buf, ssz); in copy_bytes()
241 struct perf_inject *inject = container_of(tool, struct perf_inject, in perf_event__repipe_auxtrace() local
[all …]
/openbmc/linux/drivers/edac/
H A Di7core_edac.c258 struct i7core_inject inject; member
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()
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()
728 if (pvt->inject.enable) in i7core_inject_type_store()
735 pvt->inject.type = (u32) value; in i7core_inject_type_store()
746 return sprintf(data, "0x%08x\n", pvt->inject.type); in i7core_inject_type_show()
[all …]
H A 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,
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/aer-inject/aer-inject/
H A D0001-include-libgen.h-for-basename.patch15 aer-inject.c | 1 +
18 diff --git a/aer-inject.c b/aer-inject.c
20 --- a/aer-inject.c
21 +++ b/aer-inject.c
/openbmc/linux/Documentation/fault-injection/
H A 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
28 # cd /sys/kernel/debug/notifier-error-inject/pm/
37 /sys/kernel/debug/notifier-error-inject/memory/actions/<notifier event>/error
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
84 # cd /sys/kernel/debug/notifier-error-inject/netdev
H A 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 …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/aer-inject/
H A Daer-inject_1.0.bb3 aer-inject allows to inject PCIE AER errors on the software \
7 HOMEPAGE = "https://git.kernel.org/cgit/linux/kernel/git/gong.chen/aer-inject.git/"
13 SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/gong.chen/aer-inject.git;protocol=https;br…
29 FILES:${PN} += "${prefix}/aer-inject"
/openbmc/linux/drivers/vfio/
H A 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()
/openbmc/linux/arch/x86/kernel/cpu/mce/
H A DMakefile9 mce-inject-y := inject.o
10 obj-$(CONFIG_X86_MCE_INJECT) += mce-inject.o
/openbmc/qemu/tests/qemu-iotests/
H A D02689 [inject-error]
147 [inject-error]
186 [inject-error]
211 [inject-error]
228 [inject-error]
H A D277.out3 NBD server: Closing connection on rule match inject-error
6 NBD server: Closing connection on rule match inject-error
H A D07464 [inject-error]
78 [inject-error]
H A D099.out15 …river": "file", "filename": "TEST_DIR/t.IMGFMT"}, "driver": "blkdebug", "inject-error.0.event": "l…
19 …river": "file", "filename": "TEST_DIR/t.IMGFMT"}, "driver": "blkdebug", "inject-error.0.event": "l…
/openbmc/linux/tools/perf/tests/shell/
H A 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
/openbmc/linux/Documentation/sound/designs/
H A 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
154 write-only, inject plugin or plugout
156 - to inject plugin:
162 - to inject plugout:
/openbmc/linux/tools/perf/Documentation/
H A 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
36 Override build-ids to inject using these comma-separated pairs of
112 :GMEXAMPLECMD: inject
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/mcelog/
H A Dmce-inject_git.bb2 DESCRIPTION = "mce-inject allows to inject machine check errors on the \
7 SRC_URI = "git://git.kernel.org/pub/scm/utils/cpu/mce/mce-inject.git;branch=master"
/openbmc/linux/tools/testing/selftests/memory-hotplug/
H A Dmem-on-off-test.sh243 NOTIFIER_ERR_INJECT_DIR=$DEBUGFS/notifier-error-inject/memory
249 /sbin/modprobe -q -r memory-notifier-error-inject
250 /sbin/modprobe -q memory-notifier-error-inject priority=$priority
258 echo $msg memory-notifier-error-inject module is not available >&2
305 /sbin/modprobe -q -r memory-notifier-error-inject
/openbmc/linux/lib/
H A Dtest_firmware.c133 struct upload_inject_err inject; member
1145 tst->inject.prog = prog; in upload_err_inject_error()
1146 tst->inject.err_code = err; in upload_err_inject_error()
1203 if (tst->inject.err_code == FW_UPLOAD_ERR_NONE || in test_fw_upload_prepare()
1204 strncmp(tst->inject.prog, progress, strlen(progress)) != 0) in test_fw_upload_prepare()
1207 if (tst->inject.err_code == FW_UPLOAD_ERR_CANCELED) in test_fw_upload_prepare()
1210 ret = tst->inject.err_code; in test_fw_upload_prepare()
1217 tst->inject.err_code = FW_UPLOAD_ERR_NONE; in test_fw_upload_prepare()
1218 tst->inject.prog = NULL; in test_fw_upload_prepare()
1239 if (tst->inject.err_code == FW_UPLOAD_ERR_NONE || in test_fw_upload_write()
[all …]
H A DMakefile16 KCOV_INSTRUMENT_fault-inject.o := n
226 obj-$(CONFIG_FAULT_INJECTION) += fault-inject.o
227 obj-$(CONFIG_FAULT_INJECTION_USERCOPY) += fault-inject-usercopy.o
228 obj-$(CONFIG_NOTIFIER_ERROR_INJECTION) += notifier-error-inject.o
229 obj-$(CONFIG_PM_NOTIFIER_ERROR_INJECT) += pm-notifier-error-inject.o
230 obj-$(CONFIG_NETDEV_NOTIFIER_ERROR_INJECT) += netdev-notifier-error-inject.o
231 obj-$(CONFIG_MEMORY_NOTIFIER_ERROR_INJECT) += memory-notifier-error-inject.o
233 of-reconfig-notifier-error-inject.o
234 obj-$(CONFIG_FUNCTION_ERROR_INJECTION) += error-inject.o
/openbmc/qemu/qapi/
H A Dcxl.json32 # @cxl-inject-general-media-event:
75 { 'command': 'cxl-inject-general-media-event',
83 # @cxl-inject-dram-event:
134 { 'command': 'cxl-inject-dram-event',
144 # @cxl-inject-memory-module-event:
186 { 'command': 'cxl-inject-memory-module-event',
197 # @cxl-inject-poison:
210 # @length: Length of poison to inject; must be a multiple of 64 bytes.
214 { 'command': 'cxl-inject-poison',
220 # Type of uncorrectable CXL error to inject. These errors are
[all …]
/openbmc/qemu/block/
H A Dblkdebug.c98 } inject; member
215 rule->options.inject.error = qemu_opt_get_number(opts, "errno", EIO); in add_rule()
216 rule->options.inject.once = qemu_opt_get_bool(opts, "once", 0); in add_rule()
217 rule->options.inject.immediately = in add_rule()
220 rule->options.inject.offset = in add_rule()
232 rule->options.inject.iotype_mask = (1ull << iotype); in add_rule()
235 rule->options.inject.iotype_mask = in add_rule()
600 uint64_t inject_offset = rule->options.inject.offset; in rule_check()
605 (rule->options.inject.iotype_mask & (1ull << iotype))) in rule_check()
611 if (!rule || !rule->options.inject.error) { in rule_check()
[all …]
/openbmc/u-boot/doc/
H A DREADME.mpc83xx.ddrecc8 * define inject mask (which tells the DDR controller what type of errors
12 indicated in the inject mask
20 inject mask and enable injection, U-Boot is very likely to hang quickly as the
128 => ecc inject en
134 => ecc inject dis
/openbmc/linux/Documentation/translations/zh_CN/mm/
H A Dhwpoison.rst104 * 通过debugfs ``/sys/kernel/debug/hwpoison/`` hwpoison-inject模块
143 x86 有 mce-inject, mce-test
156 git://git.kernel.org/pub/scm/utils/cpu/mce/mce-inject.git
/openbmc/linux/mm/
H A Dhwpoison-inject.c31 goto inject; in hwpoison_inject()
49 inject: in hwpoison_inject()

12345678