/Linux-v6.1/tools/perf/ |
D | builtin-inject.c | 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, int fd, 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 …]
|
/Linux-v6.1/drivers/edac/ |
D | i7core_edac.c | 258 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 …]
|
D | octeon_edac-lmc.c | 29 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,
|
/Linux-v6.1/Documentation/fault-injection/ |
D | notifier-error-inject.rst | 4 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
|
D | fault-injection.rst | 50 inject NVMe status code and retry flag on devices permitted by setting 62 fault-inject-debugfs kernel module provides some debugfs entries for runtime 135 default is 'Y', setting it to 'N' will also inject failures into 143 default is 'Y', setting it to 'N' will also inject failures 179 - /sys/kernel/debug/fail_function/inject: 199 specifies the "error" return value to inject to the given function. 208 In order to inject faults while debugfs is not available (early boot time), 239 - #include <linux/fault-inject.h> 245 Please see the definition of struct fault_attr in fault-inject.h 272 Upon should_fail() returning true, client code should inject a failure: [all …]
|
D | index.rst | 11 notifier-error-inject
|
/Linux-v6.1/arch/x86/kernel/cpu/mce/ |
D | Makefile | 9 mce-inject-y := inject.o 10 obj-$(CONFIG_X86_MCE_INJECT) += mce-inject.o
|
/Linux-v6.1/Documentation/sound/designs/ |
D | jack-injection.rst | 8 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:
|
/Linux-v6.1/drivers/vfio/ |
D | virqfd.c | 56 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-v6.1/tools/perf/Documentation/ |
D | perf-inject.txt | 1 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
|
D | intel-bts.txt | 80 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
|
/Linux-v6.1/tools/perf/tests/shell/ |
D | pipe_test.sh | 50 if ! perf record -e task-clock:u -o - ${file} | perf inject -b | perf report -i - | grep noploop; t… 55 perf record -e task-clock:u -o - ${file} | perf inject -b -o ${data} 62 if ! perf inject -b -i ${data} | perf report -i - | grep noploop; then
|
/Linux-v6.1/tools/testing/selftests/memory-hotplug/ |
D | mem-on-off-test.sh | 243 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
|
/Linux-v6.1/lib/ |
D | test_firmware.c | 131 struct upload_inject_err inject; member 1099 tst->inject.prog = prog; in upload_err_inject_error() 1100 tst->inject.err_code = err; in upload_err_inject_error() 1157 if (tst->inject.err_code == FW_UPLOAD_ERR_NONE || in test_fw_upload_prepare() 1158 strncmp(tst->inject.prog, progress, strlen(progress)) != 0) in test_fw_upload_prepare() 1161 if (tst->inject.err_code == FW_UPLOAD_ERR_CANCELED) in test_fw_upload_prepare() 1164 ret = tst->inject.err_code; in test_fw_upload_prepare() 1171 tst->inject.err_code = FW_UPLOAD_ERR_NONE; in test_fw_upload_prepare() 1172 tst->inject.prog = NULL; in test_fw_upload_prepare() 1193 if (tst->inject.err_code == FW_UPLOAD_ERR_NONE || in test_fw_upload_write() [all …]
|
D | Makefile | 16 KCOV_INSTRUMENT_fault-inject.o := n 215 obj-$(CONFIG_FAULT_INJECTION) += fault-inject.o 216 obj-$(CONFIG_FAULT_INJECTION_USERCOPY) += fault-inject-usercopy.o 217 obj-$(CONFIG_NOTIFIER_ERROR_INJECTION) += notifier-error-inject.o 218 obj-$(CONFIG_PM_NOTIFIER_ERROR_INJECT) += pm-notifier-error-inject.o 219 obj-$(CONFIG_NETDEV_NOTIFIER_ERROR_INJECT) += netdev-notifier-error-inject.o 220 obj-$(CONFIG_MEMORY_NOTIFIER_ERROR_INJECT) += memory-notifier-error-inject.o 222 of-reconfig-notifier-error-inject.o 223 obj-$(CONFIG_FUNCTION_ERROR_INJECTION) += error-inject.o
|
/Linux-v6.1/Documentation/translations/zh_CN/mm/ |
D | hwpoison.rst | 104 * 通过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
|
/Linux-v6.1/mm/ |
D | hwpoison-inject.c | 31 goto inject; in hwpoison_inject() 49 inject: in hwpoison_inject()
|
/Linux-v6.1/kernel/irq/ |
D | resend.c | 106 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()
|
/Linux-v6.1/Documentation/ia64/ |
D | err_inject.rst | 2 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-v6.1/tools/testing/selftests/kvm/x86_64/ |
D | nested_exceptions_test.c | 195 static void queue_ss_exception(struct kvm_vcpu *vcpu, bool inject) in queue_ss_exception() argument 207 events.exception.pending = !inject; in queue_ss_exception() 208 events.exception.injected = inject; in queue_ss_exception()
|
/Linux-v6.1/tools/testing/selftests/powerpc/mce/ |
D | .gitignore | 1 inject-ra-err
|
D | Makefile | 3 TEST_GEN_PROGS := inject-ra-err
|
/Linux-v6.1/arch/csky/lib/ |
D | Makefile | 3 obj-$(CONFIG_FUNCTION_ERROR_INJECTION) += error-inject.o
|
/Linux-v6.1/arch/riscv/lib/ |
D | Makefile | 9 obj-$(CONFIG_FUNCTION_ERROR_INJECTION) += error-inject.o
|
/Linux-v6.1/include/linux/ |
D | kvm_irqfd.h | 48 struct work_struct inject; member
|