Home
last modified time | relevance | path

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

/linux-4.4.14/tools/perf/
Dbuiltin-inject.c46 static int output_bytes(struct perf_inject *inject, void *buf, size_t sz) in output_bytes() argument
50 size = perf_data_file__write(&inject->output, buf, sz); in output_bytes()
54 inject->bytes_written += size; in output_bytes()
61 struct perf_inject *inject = container_of(tool, struct perf_inject, in perf_event__repipe_synth() local
64 return output_bytes(inject, event, event->header.size); in perf_event__repipe_synth()
86 struct perf_inject *inject = container_of(tool, struct perf_inject, in perf_event__repipe_attr() local
94 if (!inject->output.is_pipe) in perf_event__repipe_attr()
102 static int copy_bytes(struct perf_inject *inject, int fd, off_t size) in copy_bytes() argument
112 ret = output_bytes(inject, buf, ssz); in copy_bytes()
126 struct perf_inject *inject = container_of(tool, struct perf_inject, in perf_event__repipe_auxtrace() local
[all …]
Dcommand-list.txt13 perf-inject mainporcelain common
DBuild19 perf-y += builtin-inject.o
/linux-4.4.14/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,
DKconfig111 allows the operator/user to inject Uncorrectable and Correctable
119 - inject_ecc_vector (hex ecc vector: select bits of inject word)
/linux-4.4.14/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
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
Dintel-pt.txt27 'perf script', 'perf report' and 'perf inject'. See below for more information
760 perf inject
763 perf inject also accepts the --itrace option in which case tracing data is
766 perf inject --itrace -i perf.data -o perf.data.new
787 $ perf inject -i perf.data -o inj --itrace=i100usle --strip
/linux-4.4.14/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.txt38 fault-inject-debugfs kernel module provides some debugfs entries for runtime
105 default is 'N', setting it to 'Y' won't inject failures into
112 default is 'N', setting it to 'Y' will inject failures
128 In order to inject faults while debugfs is not available (early boot time),
140 o #include <linux/fault-inject.h>
146 Please see the definition of struct fault_attr in fault-inject.h
173 Upon should_fail() returning true, client code should inject a failure.
275 Same as above except to inject page allocation failure instead of slab
/linux-4.4.14/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.4.14/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.4.14/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.4.14/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.4.14/lib/
DMakefile119 obj-$(CONFIG_FAULT_INJECTION) += fault-inject.o
120 obj-$(CONFIG_NOTIFIER_ERROR_INJECTION) += notifier-error-inject.o
121 obj-$(CONFIG_CPU_NOTIFIER_ERROR_INJECT) += cpu-notifier-error-inject.o
122 obj-$(CONFIG_PM_NOTIFIER_ERROR_INJECT) += pm-notifier-error-inject.o
123 obj-$(CONFIG_MEMORY_NOTIFIER_ERROR_INJECT) += memory-notifier-error-inject.o
125 of-reconfig-notifier-error-inject.o
DKconfig.debug615 This option provides the ability to inject artificial errors to
617 debugfs interface under /sys/kernel/debug/notifier-error-inject/memory
624 # cd /sys/kernel/debug/notifier-error-inject/memory
630 be called memory-notifier-error-inject.
1416 This option provides the ability to inject artificial errors to
1429 debugfs interface under /sys/kernel/debug/notifier-error-inject/cpu
1436 # cd /sys/kernel/debug/notifier-error-inject/cpu
1442 be called cpu-notifier-error-inject.
1451 This option provides the ability to inject artificial errors to
1453 interface /sys/kernel/debug/notifier-error-inject/pm
[all …]
/linux-4.4.14/mm/
Dhwpoison-inject.c35 goto inject; in hwpoison_inject()
54 inject: in hwpoison_inject()
DMakefile67 obj-$(CONFIG_HWPOISON_INJECT) += hwpoison-inject.o
/linux-4.4.14/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.4.14/arch/x86/kernel/cpu/mcheck/
DMakefile7 obj-$(CONFIG_X86_MCE_INJECT) += mce-inject.o
/linux-4.4.14/include/linux/
Dkvm_irqfd.h55 struct work_struct inject; member
Dvfio.h125 struct work_struct inject; member
/linux-4.4.14/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:
Dpktgen.txt215 pgset "xmit_mode netif_receive" RX inject into stack netif_receive_skb()
/linux-4.4.14/arch/x86/ras/
DKconfig6 This is a simple debugfs interface to inject MCEs and test different
/linux-4.4.14/tools/testing/fault-injection/
Dfailcmd.sh58 inject slab allocation failures
60 inject page allocation failures
/linux-4.4.14/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.4.14/virt/kvm/
Deventfd.c51 container_of(work, struct kvm_kernel_irqfd, inject); in irqfd_inject()
134 flush_work(&irqfd->inject); in irqfd_shutdown()
207 schedule_work(&irqfd->inject); in irqfd_wakeup()
303 INIT_WORK(&irqfd->inject, irqfd_inject); in kvm_irqfd_assign()
403 schedule_work(&irqfd->inject); in kvm_irqfd_assign()
/linux-4.4.14/Documentation/devicetree/bindings/arm/
Dxen.txt15 - interrupts: the interrupt used by Xen to inject event notifications.
/linux-4.4.14/drivers/acpi/apei/
Deinj.c536 goto inject; in einj_error_inject()
541 goto inject; in einj_error_inject()
543 goto inject; in einj_error_inject()
554 inject: in einj_error_inject()
/linux-4.4.14/arch/x86/kvm/
Di8254.c285 int inject = 0; in pit_do_work() local
292 inject = 1; in pit_do_work()
295 inject = 1; in pit_do_work()
298 if (inject) { in pit_do_work()
/linux-4.4.14/Documentation/virtual/kvm/arm/
Dvgic-mapped-irqs.txt6 allowing software to inject virtual interrupts to a VM, which the guest
18 and KVM must therefore somehow inject a virtual interrupt on behalf of
99 option is to not use HW bit at all, and inject edge-triggered interrupts
/linux-4.4.14/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.4.14/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.4.14/Documentation/virtual/kvm/devices/
Darm-vgic.txt10 controller, requiring emulated user-space devices to inject interrupts to the
/linux-4.4.14/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.4.14/tools/perf/util/
Dauxtrace.h74 bool inject; member
Dintel-pt.c1008 if (pt->synth_opts.inject) { in intel_pt_synth_branch_sample()
1062 if (pt->synth_opts.inject) { in intel_pt_synth_instruction_sample()
1117 if (pt->synth_opts.inject) { in intel_pt_synth_transaction_sample()
Dintel-bts.c293 if (bts->synth_opts.inject) { in intel_bts_synth_branch_sample()
/linux-4.4.14/arch/ia64/
DKconfig490 call MC error injection PAL procedures to inject various errors.
503 firmware extensions, such as the ability to inject memory-errors
/linux-4.4.14/Documentation/acpi/apei/
Deinj.txt105 The error injection mechanism is a two-step process. First inject the
/linux-4.4.14/Documentation/virtual/kvm/
Dppc-pv.txt188 That way we can inject an arbitrary amount of code as replacement for a single
Dapi.txt2152 Directly inject a MSI message. Only valid with in-kernel irqchip that handles
2382 Allows to inject an interrupt to the guest. Interrupts can be floating
2708 - KVM_GUESTDBG_INJECT_DB: inject DB type exception [x86]
2709 - KVM_GUESTDBG_INJECT_BP: inject BP type exception [x86]
2922 Allows to inject an interrupt to the guest.
2925 to inject additional payload which is not
3045 Request that KVM_RUN return when it becomes possible to inject external
Dmmu.txt367 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.4.14/net/
DKconfig306 This module will inject preconfigured packets, at a configurable
/linux-4.4.14/drivers/scsi/
Dscsi_debug.c3942 int k, num_in_q, qdepth, inject; in schedule_resp() local
3968 inject = 0; in schedule_resp()
3982 inject = 1; in schedule_resp()
4056 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.4.14/Documentation/arm64/
Dacpi_object_usage.txt85 conditions; it allows one to inject an error into the system as
/linux-4.4.14/Documentation/
Dedac.txt683 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.txt1756 Default is 0 (don't ignore, but inject #GP)
/linux-4.4.14/Documentation/DocBook/
Ddevice-drivers.xml.db986 API-input-inject-event
/linux-4.4.14/Documentation/scsi/
Dscsi_mid_low_api.txt1184 (*queuecommand)() - primary callback that the mid level uses to inject
/linux-4.4.14/
DMAINTAINERS4304 F: lib/fault-inject.c
4866 F: mm/hwpoison-inject.c