Home
last modified time | relevance | path

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

/linux-4.1.27/tools/perf/
Dbuiltin-inject.c44 struct perf_inject *inject = container_of(tool, struct perf_inject, tool); in perf_event__repipe_synth() local
47 size = perf_data_file__write(&inject->output, event, in perf_event__repipe_synth()
52 inject->bytes_written += size; in perf_event__repipe_synth()
75 struct perf_inject *inject = container_of(tool, struct perf_inject, in perf_event__repipe_attr() local
83 if (!inject->output.is_pipe) in perf_event__repipe_attr()
259 struct perf_inject *inject = container_of(tool, struct perf_inject, tool); in perf_inject__sched_process_exit() local
262 list_for_each_entry(ent, &inject->samples, node) { in perf_inject__sched_process_exit()
279 struct perf_inject *inject = container_of(tool, struct perf_inject, tool); in perf_inject__sched_switch() local
293 list_add(&ent->node, &inject->samples); in perf_inject__sched_switch()
306 struct perf_inject *inject = container_of(tool, struct perf_inject, tool); in perf_inject__sched_stat() local
[all …]
Dcommand-list.txt13 perf-inject mainporcelain common
DBuild19 perf-y += builtin-inject.o
/linux-4.1.27/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
/linux-4.1.27/drivers/edac/
Di7core_edac.c260 struct i7core_inject inject; member
677 pvt->inject.enable = 0; in disable_inject()
679 if (!pvt->pci_ch[pvt->inject.channel][0]) in disable_inject()
682 pci_write_config_dword(pvt->pci_ch[pvt->inject.channel][0], in disable_inject()
704 if (pvt->inject.enable) in i7core_inject_section_store()
711 pvt->inject.section = (u32) value; in i7core_inject_section_store()
721 return sprintf(data, "0x%08x\n", pvt->inject.section); in i7core_inject_section_show()
741 if (pvt->inject.enable) in i7core_inject_type_store()
748 pvt->inject.type = (u32) value; in i7core_inject_type_store()
759 return sprintf(data, "0x%08x\n", pvt->inject.type); in i7core_inject_type_show()
[all …]
Docteon_edac-lmc.c30 unsigned long inject; member
79 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,
DKconfig68 This is a simple debugfs interface to inject MCEs and test different
120 allows the operator/user to inject Uncorrectable and Correctable
128 - inject_ecc_vector (hex ecc vector: select bits of inject word)
/linux-4.1.27/Documentation/fault-injection/
Dnotifier-error-inject.txt4 Notifier error injection provides the ability to inject artificial errors to
21 /sys/kernel/debug/notifier-error-inject/cpu/actions/<notifier event>/error
32 # cd /sys/kernel/debug/notifier-error-inject/cpu
37 Example2: inject CPU online error (-2 == -ENOENT)
46 /sys/kernel/debug/notifier-error-inject/pm/actions/<notifier event>/error
56 # cd /sys/kernel/debug/notifier-error-inject/pm/
64 /sys/kernel/debug/notifier-error-inject/memory/actions/<notifier event>/error
73 # cd /sys/kernel/debug/notifier-error-inject/memory
81 /sys/kernel/debug/notifier-error-inject/pSeries-reconfig/actions/<notifier event>/error
Dfault-injection.txt34 fault-inject-debugfs kernel module provides some debugfs entries for runtime
101 default is 'N', setting it to 'Y' won't inject failures into
108 default is 'N', setting it to 'Y' will inject failures
118 In order to inject faults while debugfs is not available (early boot time),
129 o #include <linux/fault-inject.h>
135 Please see the definition of struct fault_attr in fault-inject.h
162 Upon should_fail() returning true, client code should inject a failure.
264 Same as above except to inject page allocation failure instead of slab
/linux-4.1.27/drivers/vfio/
Dvirqfd.c56 schedule_work(&virqfd->inject); in virqfd_wakeup()
94 flush_work(&virqfd->inject); in virqfd_shutdown()
102 struct virqfd *virqfd = container_of(work, struct virqfd, inject); in virqfd_inject()
129 INIT_WORK(&virqfd->inject, virqfd_inject); in vfio_virqfd_enable()
177 schedule_work(&virqfd->inject); in vfio_virqfd_enable()
/linux-4.1.27/tools/testing/selftests/memory-hotplug/
Dmem-on-off-test.sh181 NOTIFIER_ERR_INJECT_DIR=$DEBUGFS/notifier-error-inject/memory
187 /sbin/modprobe -q -r memory-notifier-error-inject
188 /sbin/modprobe -q memory-notifier-error-inject priority=$priority
196 echo $msg memory-notifier-error-inject module is not available >&2
238 /sbin/modprobe -q -r memory-notifier-error-inject
/linux-4.1.27/tools/testing/selftests/cpu-hotplug/
Dcpu-on-off-test.sh214 NOTIFIER_ERR_INJECT_DIR=$DEBUGFS/notifier-error-inject/cpu
220 /sbin/modprobe -q -r cpu-notifier-error-inject
221 /sbin/modprobe -q cpu-notifier-error-inject priority=$priority
229 echo $msg cpu-notifier-error-inject module is not available >&2
269 /sbin/modprobe -q -r cpu-notifier-error-inject
/linux-4.1.27/lib/
DMakefile110 obj-$(CONFIG_FAULT_INJECTION) += fault-inject.o
111 obj-$(CONFIG_NOTIFIER_ERROR_INJECTION) += notifier-error-inject.o
112 obj-$(CONFIG_CPU_NOTIFIER_ERROR_INJECT) += cpu-notifier-error-inject.o
113 obj-$(CONFIG_PM_NOTIFIER_ERROR_INJECT) += pm-notifier-error-inject.o
114 obj-$(CONFIG_MEMORY_NOTIFIER_ERROR_INJECT) += memory-notifier-error-inject.o
116 of-reconfig-notifier-error-inject.o
DKconfig.debug605 This option provides the ability to inject artificial errors to
607 debugfs interface under /sys/kernel/debug/notifier-error-inject/memory
614 # cd /sys/kernel/debug/notifier-error-inject/memory
620 be called memory-notifier-error-inject.
1359 This option provides the ability to inject artificial errors to
1372 debugfs interface under /sys/kernel/debug/notifier-error-inject/cpu
1379 # cd /sys/kernel/debug/notifier-error-inject/cpu
1385 be called cpu-notifier-error-inject.
1394 This option provides the ability to inject artificial errors to
1396 interface /sys/kernel/debug/notifier-error-inject/pm
[all …]
/linux-4.1.27/drivers/pci/pcie/aer/
DKconfig.debug16 help of a user space helper tool aer-inject, which can be
18 http://www.kernel.org/pub/linux/utils/pci/aer-inject/
/linux-4.1.27/mm/
Dhwpoison-inject.c35 goto inject; in hwpoison_inject()
57 inject: in hwpoison_inject()
DMakefile67 obj-$(CONFIG_HWPOISON_INJECT) += hwpoison-inject.o
/linux-4.1.27/Documentation/ia64/
Derr_inject.txt2 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 …]
/linux-4.1.27/virt/kvm/
Deventfd.c84 struct work_struct inject; member
103 struct _irqfd *irqfd = container_of(work, struct _irqfd, inject); in irqfd_inject()
184 flush_work(&irqfd->inject); in irqfd_shutdown()
245 schedule_work(&irqfd->inject); in irqfd_wakeup()
324 INIT_WORK(&irqfd->inject, irqfd_inject); in kvm_irqfd_assign()
424 schedule_work(&irqfd->inject); in kvm_irqfd_assign()
/linux-4.1.27/arch/x86/kernel/cpu/mcheck/
DMakefile7 obj-$(CONFIG_X86_MCE_INJECT) += mce-inject.o
/linux-4.1.27/Documentation/networking/
Dmac80211-injection.txt5 interface from userland. The packet you inject needs to be composed in the
63 You can also find a link to a complete inject application here:
/linux-4.1.27/tools/testing/fault-injection/
Dfailcmd.sh58 inject slab allocation failures
60 inject page allocation failures
/linux-4.1.27/Documentation/vm/
Dhwpoison.txt44 KVM can inject the machine check into the guest with the proper
105 hwpoison-inject module through debugfs
159 x86 has mce-inject, mce-test
173 git://git.kernel.org/pub/scm/utils/cpu/mce/mce-inject.git
/linux-4.1.27/Documentation/devicetree/bindings/arm/
Dxen.txt15 - interrupts: the interrupt used by Xen to inject event notifications.
/linux-4.1.27/drivers/acpi/apei/
Deinj.c540 goto inject; in einj_error_inject()
545 goto inject; in einj_error_inject()
547 goto inject; in einj_error_inject()
558 inject: in einj_error_inject()
/linux-4.1.27/include/linux/
Dvfio.h125 struct work_struct inject; member
/linux-4.1.27/arch/x86/kvm/
Di8254.c284 int inject = 0; in pit_do_work() local
291 inject = 1; in pit_do_work()
294 inject = 1; in pit_do_work()
297 if (inject) { in pit_do_work()
/linux-4.1.27/Documentation/s390/
Dkvm.txt67 to be useful as floating interrupts, and a call to inject them will result in
92 to be useful, and a call to inject them will result in -EINVAL error code:
/linux-4.1.27/Documentation/PCI/
Dpcieaer-howto.txt265 Then, you need a user space tool named aer-inject, which can be gotten
267 http://www.kernel.org/pub/linux/utils/pci/aer-inject/
269 More information about aer-inject can be found in the document comes
/linux-4.1.27/Documentation/ABI/testing/
Ddebugfs-driver-genwqe64 Description: Possibility to inject error cases to ensure that the drivers
Ddev-kmsg19 is not possible to inject messages from userspace with the
/linux-4.1.27/Documentation/virtual/kvm/devices/
Darm-vgic.txt10 controller, requiring emulated user-space devices to inject interrupts to the
/linux-4.1.27/Documentation/thermal/
Dintel_powerclamp.txt66 If the kernel can also inject idle time to the system, then a
272 - To inject 25% idle time
/linux-4.1.27/arch/ia64/
DKconfig513 call MC error injection PAL procedures to inject various errors.
526 firmware extensions, such as the ability to inject memory-errors
/linux-4.1.27/Documentation/acpi/apei/
Deinj.txt105 The error injection mechanism is a two-step process. First inject the
/linux-4.1.27/Documentation/virtual/kvm/
Dppc-pv.txt188 That way we can inject an arbitrary amount of code as replacement for a single
Dapi.txt2116 Directly inject a MSI message. Only valid with in-kernel irqchip that handles
2346 Allows to inject an interrupt to the guest. Interrupts can be floating
2672 - KVM_GUESTDBG_INJECT_DB: inject DB type exception [x86]
2673 - KVM_GUESTDBG_INJECT_BP: inject BP type exception [x86]
2881 Allows to inject an interrupt to the guest.
2884 to inject additional payload which is not
2994 Request that KVM_RUN return when it becomes possible to inject external
Dmmu.txt361 directly inject #PF to guest due to failed permission check.
Dtimekeeping.txt490 maintain proper time. If this is not sufficient, it may be necessary to inject
/linux-4.1.27/net/
DKconfig302 This module will inject preconfigured packets, at a configurable
/linux-4.1.27/drivers/scsi/
Dscsi_debug.c3947 int k, num_in_q, qdepth, inject; in schedule_resp() local
3967 inject = 0; in schedule_resp()
3981 inject = 1; in schedule_resp()
4055 num_in_q, (inject ? "<inject> " : ""), in schedule_resp()
Dosst.c432 static int inject = 0; in osst_do_scsi() local
496 ( (++ inject % 83) == 29 || in osst_do_scsi()
/linux-4.1.27/Documentation/arm64/
Dacpi_object_usage.txt85 conditions; it allows one to inject an error into the system as
/linux-4.1.27/Documentation/
Dedac.txt713 All inject vars can be read. root permission is needed for write.
Dkprobes.txt543 to install a bug fix or to inject faults for testing. Kprobes, of
Dkernel-parameters.txt1691 Default is 0 (don't ignore, but inject #GP)
/linux-4.1.27/Documentation/scsi/
Dscsi_mid_low_api.txt1184 (*queuecommand)() - primary callback that the mid level uses to inject
/linux-4.1.27/
DMAINTAINERS3985 F: lib/fault-inject.c
4517 F: mm/hwpoison-inject.c