Home
last modified time | relevance | path

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

12345

/linux-6.3-rc2/tools/perf/
A Dbuiltin-inject.c392 ret = jit_process(inject->session, &inject->output, machine, in perf_event__jit_repipe_mmap()
1904 struct perf_inject *inject = inj_fc->inject; in feat_copy_cb() local
1924 inject->input_name, inject->output.path); in copy_kcore_dir()
1964 if (inject->build_ids || inject->sched_stat || in __cmd_inject()
2001 memset(&inject->tool, 0, sizeof(inject->tool)); in __cmd_inject()
2010 inject->itrace_synth_opts.inject = true; in __cmd_inject()
2072 if (!inject->is_pipe && !inject->in_place_update) in __cmd_inject()
2091 if (!inject->is_pipe && !inject->in_place_update) { in __cmd_inject()
2094 .inject = inject, in __cmd_inject()
2260 if (inject.strip && !inject.itrace_synth_opts.set) { in cmd_inject()
[all …]
/linux-6.3-rc2/drivers/edac/
A Di7core_edac.c664 pvt->inject.enable = 0; in disable_inject()
691 if (pvt->inject.enable) in i7core_inject_section_store()
728 if (pvt->inject.enable) in i7core_inject_type_store()
768 if (pvt->inject.enable) in i7core_inject_eccmask_store()
929 pvt->inject.enable = 1; in i7core_inject_enable_store()
968 if (pvt->inject.col < 0) in i7core_inject_enable_store()
2211 pvt->inject.dimm = -1; in i7core_register_mci()
2212 pvt->inject.rank = -1; in i7core_register_mci()
2213 pvt->inject.bank = -1; in i7core_register_mci()
2214 pvt->inject.page = -1; in i7core_register_mci()
[all …]
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,
/linux-6.3-rc2/Documentation/fault-injection/
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
A Dfault-injection.rst50 inject NVMe status code and retry flag on devices permitted by setting
62 fault-inject-debugfs kernel module provides some debugfs entries for runtime
133 default is 'Y', setting it to 'N' will also inject failures into
141 default is 'Y', setting it to 'N' will also inject failures
177 - /sys/kernel/debug/fail_function/inject:
197 specifies the "error" return value to inject to the given function.
302 - #include <linux/fault-inject.h>
308 Please see the definition of struct fault_attr in fault-inject.h
430 echo $FAILFUNC > /sys/kernel/debug/$FAILTYPE/inject
448 echo > /sys/kernel/debug/$FAILTYPE/inject
[all …]
A Dindex.rst11 notifier-error-inject
/linux-6.3-rc2/Documentation/devicetree/bindings/misc/
A Dxlnx,tmr-inject.yaml4 $id: http://devicetree.org/schemas/misc/xlnx,tmr-inject.yaml#
21 - xlnx,tmr-inject-1.0
43 fault-inject@44a30000 {
44 compatible = "xlnx,tmr-inject-1.0";
/linux-6.3-rc2/arch/x86/kernel/cpu/mce/
A DMakefile9 mce-inject-y := inject.o
10 obj-$(CONFIG_X86_MCE_INJECT) += mce-inject.o
/linux-6.3-rc2/tools/perf/tests/shell/
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
/linux-6.3-rc2/drivers/vfio/
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()
/linux-6.3-rc2/Documentation/sound/designs/
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:
/linux-6.3-rc2/tools/perf/Documentation/
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
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
/linux-6.3-rc2/tools/testing/selftests/memory-hotplug/
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
/linux-6.3-rc2/lib/
A Dtest_firmware.c132 struct upload_inject_err inject; member
1100 tst->inject.prog = prog; in upload_err_inject_error()
1101 tst->inject.err_code = err; in upload_err_inject_error()
1158 if (tst->inject.err_code == FW_UPLOAD_ERR_NONE || in test_fw_upload_prepare()
1165 ret = tst->inject.err_code; in test_fw_upload_prepare()
1172 tst->inject.err_code = FW_UPLOAD_ERR_NONE; in test_fw_upload_prepare()
1173 tst->inject.prog = NULL; in test_fw_upload_prepare()
1201 return tst->inject.err_code; in test_fw_upload_write()
1219 return tst->inject.err_code; in test_fw_upload_complete()
1233 tst->inject.err_code = FW_UPLOAD_ERR_NONE; in test_fw_cleanup()
[all …]
A DMakefile16 KCOV_INSTRUMENT_fault-inject.o := n
219 obj-$(CONFIG_FAULT_INJECTION) += fault-inject.o
220 obj-$(CONFIG_FAULT_INJECTION_USERCOPY) += fault-inject-usercopy.o
221 obj-$(CONFIG_NOTIFIER_ERROR_INJECTION) += notifier-error-inject.o
222 obj-$(CONFIG_PM_NOTIFIER_ERROR_INJECT) += pm-notifier-error-inject.o
223 obj-$(CONFIG_NETDEV_NOTIFIER_ERROR_INJECT) += netdev-notifier-error-inject.o
224 obj-$(CONFIG_MEMORY_NOTIFIER_ERROR_INJECT) += memory-notifier-error-inject.o
226 of-reconfig-notifier-error-inject.o
227 obj-$(CONFIG_FUNCTION_ERROR_INJECTION) += error-inject.o
/linux-6.3-rc2/Documentation/translations/zh_CN/mm/
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
/linux-6.3-rc2/mm/
A Dhwpoison-inject.c31 goto inject; in hwpoison_inject()
49 inject: in hwpoison_inject()
/linux-6.3-rc2/kernel/irq/
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()
/linux-6.3-rc2/Documentation/ia64/
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
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
909 /* consume the error for "inject only"*/
961 printf("\t-i: inject errors. default: off\n");
[all …]
/linux-6.3-rc2/tools/testing/selftests/kvm/x86_64/
A Dnested_exceptions_test.c195 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-6.3-rc2/tools/testing/selftests/powerpc/mce/
A D.gitignore1 inject-ra-err
A DMakefile3 TEST_GEN_PROGS := inject-ra-err
/linux-6.3-rc2/arch/csky/lib/
A DMakefile3 obj-$(CONFIG_FUNCTION_ERROR_INJECTION) += error-inject.o
/linux-6.3-rc2/net/rxrpc/
A DKconfig36 Say Y here to inject packet loss by discarding some received and some
43 Say Y here to inject a delay into packet reception, allowing an

Completed in 48 milliseconds

12345