Home
last modified time | relevance | path

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

12345

/OK3568_Linux_fs/kernel/tools/perf/
H A Dbuiltin-inject.c64 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
151 ret = output_bytes(inject, buf, ssz); in copy_bytes()
164 struct perf_inject *inject = container_of(tool, struct perf_inject, in perf_event__repipe_auxtrace() local
[all …]
/OK3568_Linux_fs/kernel/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,
/OK3568_Linux_fs/kernel/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.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
179 In order to inject faults while debugfs is not available (early boot time),
210 - #include <linux/fault-inject.h>
216 Please see the definition of struct fault_attr in fault-inject.h
243 Upon should_fail() returning true, client code should inject a failure:
[all …]
H A Dindex.rst11 notifier-error-inject
/OK3568_Linux_fs/buildroot/package/aer-inject/
H A DConfig.in2 bool "aer-inject"
4 aer-inject allows to inject PCIE AER errors on the software
12 https://git.kernel.org/cgit/linux/kernel/git/gong.chen/aer-inject.git/
H A Daer-inject.hash2 sha256 2dd2bd73aa738c1cc26ba04b6e502329778d18c2cc873c0bd00e6b2d38e9477c aer-inject-9bd5e2c7886fca…
/OK3568_Linux_fs/kernel/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
H A Dintel-bts.txt80 perf inject
83 perf inject also accepts the --itrace option in which case tracing data is
86 perf inject --itrace -i perf.data -o perf.data.new
/OK3568_Linux_fs/kernel/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()
126 INIT_WORK(&virqfd->inject, virqfd_inject); in vfio_virqfd_enable()
174 schedule_work(&virqfd->inject); in vfio_virqfd_enable()
/OK3568_Linux_fs/kernel/arch/x86/kernel/cpu/mce/
H A DMakefile9 mce-inject-y := inject.o
10 obj-$(CONFIG_X86_MCE_INJECT) += mce-inject.o
/OK3568_Linux_fs/kernel/tools/testing/selftests/cpu-hotplug/
H A Dcpu-on-off-test.sh238 NOTIFIER_ERR_INJECT_DIR=$DEBUGFS/notifier-error-inject/cpu
244 /sbin/modprobe -q -r cpu-notifier-error-inject
245 /sbin/modprobe -q cpu-notifier-error-inject priority=$priority
253 echo $msg cpu-notifier-error-inject module is not available >&2
293 /sbin/modprobe -q -r cpu-notifier-error-inject
/OK3568_Linux_fs/kernel/tools/testing/selftests/memory-hotplug/
H A Dmem-on-off-test.sh231 NOTIFIER_ERR_INJECT_DIR=$DEBUGFS/notifier-error-inject/memory
237 /sbin/modprobe -q -r memory-notifier-error-inject
238 /sbin/modprobe -q memory-notifier-error-inject priority=$priority
246 echo $msg memory-notifier-error-inject module is not available >&2
289 /sbin/modprobe -q -r memory-notifier-error-inject
/OK3568_Linux_fs/yocto/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"
/OK3568_Linux_fs/kernel/lib/
H A 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
/OK3568_Linux_fs/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
/OK3568_Linux_fs/kernel/Documentation/ia64/
H A Derr_inject.rst2 IPF Machine Check (MC) error inject tool
5 IPF Machine Check (MC) error inject tool is used to inject MC
11 sample. The driver provides interface to PAL to inject error
15 (sysfs interface) to inject errors or query error injection capabilities.
19 tool to inject error. It's also very useful to integrate with other
29 this sample application to inject errors.
41 # cpu: logical cpu number the error will be inject in.
49 #On cpu2, inject only total 0x10 errors, interval 5 seconds
54 #On cpu4, inject and consume total 0x10 errors, interval 5 seconds
59 #On cpu15, inject and consume total 0x10 errors, interval 5 seconds
[all …]
/OK3568_Linux_fs/kernel/mm/
H A Dhwpoison-inject.c31 goto inject; in hwpoison_inject()
49 inject: in hwpoison_inject()
/OK3568_Linux_fs/kernel/kernel/irq/
H A Dresend.c106 int check_irq_resend(struct irq_desc *desc, bool inject) in check_irq_resend() argument
123 if (!(desc->istate & IRQS_PENDING) && !inject) in check_irq_resend()
/OK3568_Linux_fs/kernel/Documentation/vm/
H A Dhwpoison.rst51 KVM can inject the machine check into the guest with the proper
116 * hwpoison-inject module through debugfs ``/sys/kernel/debug/hwpoison/``
162 x86 has mce-inject, mce-test
175 git://git.kernel.org/pub/scm/utils/cpu/mce/mce-inject.git
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/mailbox/
H A Dbrcm,iproc-flexrm-mbox.txt24 number of completion messages for which FlexRM will inject
31 specified by this cell then it will inject one MSI interrupt
/OK3568_Linux_fs/kernel/tools/testing/fault-injection/
H A Dfailcmd.sh59 inject slab allocation failures
61 inject page allocation failures
/OK3568_Linux_fs/kernel/arch/csky/lib/
H A DMakefile3 obj-$(CONFIG_FUNCTION_ERROR_INJECTION) += error-inject.o
/OK3568_Linux_fs/kernel/virt/kvm/
H A Deventfd.c45 container_of(work, struct kvm_kernel_irqfd, inject); in irqfd_inject()
132 flush_work(&irqfd->inject); in irqfd_shutdown()
205 schedule_work(&irqfd->inject); in irqfd_wakeup()
304 INIT_WORK(&irqfd->inject, irqfd_inject); in kvm_irqfd_assign()
404 schedule_work(&irqfd->inject); in kvm_irqfd_assign()

12345