Home
last modified time | relevance | path

Searched full:inject (Results 1 – 25 of 325) sorted by relevance

12345678910>>...13

/linux/tools/perf/
H A Dbuiltin-inject.c3 * builtin-inject.c
5 * Builtin inject command: Examine the live mode (stdin) event stream
162 static int output_bytes(struct perf_inject *inject, void *buf, size_t sz) in output_bytes() argument
166 size = perf_data__write(&inject->output, buf, sz); in output_bytes()
170 inject->bytes_written += size; in output_bytes()
178 struct perf_inject *inject = container_of(tool, struct perf_inject, in perf_event__repipe_synth() local
181 return output_bytes(inject, event, event->header.size); in perf_event__repipe_synth()
218 struct perf_inject *inject = container_of(tool, struct perf_inject, in perf_event__repipe_attr() local
227 if (!inject->output.is_pipe) in perf_event__repipe_attr()
242 static int copy_bytes(struct perf_inject *inject, struc argument
265 struct perf_inject *inject = container_of(tool, struct perf_inject, perf_event__repipe_auxtrace() local
332 struct perf_inject *inject = container_of(tool, struct perf_inject, tool); perf_event__drop_aux() local
341 perf_inject__cut_auxtrace_sample(struct perf_inject * inject,union perf_event * event,struct perf_sample * sample) perf_inject__cut_auxtrace_sample() argument
380 struct perf_inject *inject = container_of(tool, struct perf_inject, perf_event__repipe_sample() local
449 inject__mmap_evsel(struct perf_inject * inject) inject__mmap_evsel() argument
480 struct perf_inject *inject = container_of(tool, struct perf_inject, tool); perf_event__repipe_common_mmap() local
731 perf_inject__lookup_known_build_id(struct perf_inject * inject,struct dso * dso) perf_inject__lookup_known_build_id() argument
765 struct perf_inject *inject = container_of(tool, struct perf_inject, tool); tool__inject_build_id() local
833 mark_dso_hit(const struct perf_inject * inject,const struct perf_tool * tool,struct perf_sample * sample,struct machine * machine,const struct evsel * mmap_evsel,struct map * map,bool sample_in_dso) mark_dso_hit() argument
895 const struct perf_inject *inject; global() member
918 struct perf_inject *inject = container_of(tool, struct perf_inject, tool); perf_event__inject_buildid() local
960 struct perf_inject *inject = container_of(tool, struct perf_inject, tool); perf_inject__sched_process_exit() local
980 struct perf_inject *inject = container_of(tool, struct perf_inject, tool); perf_inject__sched_switch() local
1008 struct perf_inject *inject = container_of(tool, struct perf_inject, tool); perf_inject__sched_stat() local
1214 struct perf_inject *inject = container_of(tool, struct perf_inject, tool); process_attr() local
1221 struct perf_inject *inject = container_of(gs, struct perf_inject, guest_session); guest_session__add_attr() local
1290 synthesize_id_index(struct perf_inject * inject,size_t new_cnt) synthesize_id_index() argument
1343 struct perf_inject *inject = container_of(tool, struct perf_inject, tool); process_build_id() local
1348 synthesize_build_id(struct perf_inject * inject,struct dso * dso,pid_t machine_pid) synthesize_build_id() argument
1377 struct perf_inject *inject = container_of(gs, struct perf_inject, guest_session); guest_session__add_build_ids_cb() local
1388 struct perf_inject *inject = container_of(gs, struct perf_inject, guest_session); guest_session__add_build_ids() local
1531 struct perf_inject *inject = container_of(gs, struct perf_inject, guest_session); guest_session__get_tc() local
1651 struct perf_inject *inject = container_of(gs, struct perf_inject, guest_session); guest_session__inject_events() local
1767 struct perf_inject *inject = container_of(tool, struct perf_inject, tool); host__repipe() local
1779 struct perf_inject *inject = container_of(session->tool, struct perf_inject, tool); host__finished_init() local
1839 struct perf_inject *inject = container_of(tool, struct perf_inject, tool); host__finished_round() local
1858 struct perf_inject *inject = container_of(tool, struct perf_inject, tool); host__context_switch() local
1916 strip_init(struct perf_inject * inject) strip_init() argument
1929 struct perf_inject *inject = opt->value; parse_vm_time_correlation() local
1959 struct perf_inject *inject = opt->value; parse_guest_data() local
2016 struct perf_inject *inject = data; save_section_info_cb() local
2022 save_section_info(struct perf_inject * inject) save_section_info() argument
2083 feat_copy(struct perf_inject * inject,int feat,struct feat_writer * fw) feat_copy() argument
2106 struct perf_inject *inject; global() member
2112 struct perf_inject *inject = inj_fc->inject; feat_copy_cb() local
2126 copy_kcore_dir(struct perf_inject * inject) copy_kcore_dir() argument
2143 struct perf_inject *inject = container_of(gs, struct perf_inject, guest_session); guest_session__copy_kcore_dir() local
2157 output_fd(struct perf_inject * inject) output_fd() argument
2162 __cmd_inject(struct perf_inject * inject) __cmd_inject() argument
2355 struct perf_inject inject = { cmd_inject() local
[all...]
/linux/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
26 Example: Inject PM suspend error (-12 = -ENOMEM)::
28 # cd /sys/kernel/debug/notifier-error-inject/pm/
37 /sys/kernel/debug/notifier-error-inject/memory/actions/<notifier event>/error
44 Example: Inject memory hotplug offline error (-12 == -ENOMEM)::
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
82 Example: Inject netdevice mtu change error (-22 == -EINVAL)::
[all …]
H A Dfault-injection.rst50 inject skb (socket buffer) reallocation events into the network path. The
76 inject NVMe status code and retry flag on devices permitted by setting
83 inject IO timeouts by setting config items under
85 inject requeue requests by setting config items under
87 inject init_hctx() errors by setting config items under
96 fault-inject-debugfs kernel module provides some debugfs entries for runtime
167 default is 'Y', setting it to 'N' will also inject failures into
173 default is 'N', setting it to 'Y' will only inject failures when
183 default is 'Y', setting it to 'N' will also inject failures
219 - /sys/kernel/debug/fail_function/inject:
[all …]
/linux/drivers/misc/
H A Dxilinx_tmr_inject.c3 * Driver for Xilinx TMR Inject IP.
8 * This driver is developed for TMR Inject IP,The Triple Modular Redundancy(TMR)
9 * Inject provides fault injection.
17 #include <linux/fault-inject.h>
19 /* TMR Inject Register offsets */
34 * struct xtmr_inject_dev - Driver data for TMR Inject
95 /* Initialize the address inject and instruction inject registers */ in xtmr_inject_init()
137 /* Initialize TMR Inject */ in xtmr_inject_probe()
155 .compatible = "xlnx,tmr-inject-1.0",
171 MODULE_DESCRIPTION("Xilinx TMR Inject Driver");
/linux/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
28 Inject build-ids of DSOs hit by samples into the output stream.
32 Inject build-ids of all DSOs into the output stream regardless of hits
36 Override build-ids to inject using these comma-separated pairs of
112 :GMEXAMPLECMD: inject
/linux/Documentation/devicetree/bindings/misc/
H A Dxlnx,tmr-inject.yaml4 $id: http://devicetree.org/schemas/misc/xlnx,tmr-inject.yaml#
7 title: Xilinx Triple Modular Redundancy(TMR) Inject IP
13 The Triple Modular Redundancy(TMR) Inject core provides functional fault
21 - xlnx,tmr-inject-1.0
43 fault-inject@44a30000 {
44 compatible = "xlnx,tmr-inject-1.0";
/linux/Documentation/sound/designs/
H 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
132 Jack: Headphone Jack Inject Enabled: 0
139 Jack: Headphone Jack Inject Enabled: 1
154 write-only, inject plugin or plugout
156 - to inject plugin:
162 - to inject plugout:
/linux/drivers/edac/
H A Di7core_edac.c258 struct i7core_inject inject; member
656 Also, since a change at an inject parameter will be applied only at enable,
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()
676 * i7core inject inject.section
678 * accept and store error injection inject.section value
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()
[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,
/linux/net/rxrpc/
H A DKconfig34 bool "Inject packet loss into RxRPC packet stream"
36 Say Y here to inject packet loss by discarding some received and some
40 bool "Inject delay into packet reception"
43 Say Y here to inject a delay into packet reception, allowing an
/linux/tools/testing/selftests/hid/
H A Dhidraw.c55 * Inject one event in the uhid device,
63 /* inject one event */ in TEST_F()
85 /* inject one event */ in TEST_F()
101 /* inject one other event */ in TEST_F()
145 /* inject one event */ in TEST_F()
182 /* inject one event from hidraw */ in TEST_F()
207 /* inject one other event */ in TEST_F()
H A Dhid_bpf.c152 * inject one event in the uhid device,
169 /* inject one event */ in TEST_F()
184 /* inject another event */ in TEST_F()
203 * inject one event in the uhid device,
216 /* inject one event */ in TEST_F()
228 /* inject another event */ in TEST_F()
280 /* inject one event */ in TEST_F()
309 /* inject another event */ in TEST_F()
328 /* inject one event */ in TEST_F()
346 * inject one event in the uhid device,
[all …]
/linux/drivers/powercap/
H A Didle_inject.c63 * @idle_duration_us: duration of CPU idle time to inject
70 * This structure is used to define per instance idle inject device data. Each
71 * instance has an idle duration, a run duration and mask of CPUs to inject
78 * update() - This callback is invoked just before waking up CPUs to inject
79 * idle. If it returns false, CPUs are not woken up to inject idle in the given
120 * play_idle_precise() to inject a specified amount of CPU idle time.
145 * This function calls play_idle_precise() to inject a specified amount of CPU
169 * @idle_duration_us: CPU idle time to inject in microseconds
216 * injection kthreads associated with @ii_dev to let them inject CPU idle time
319 * @update: This callback is called just before waking up CPUs to inject
/linux/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()
108 flush_work(&virqfd->inject); in virqfd_flush_inject()
132 INIT_WORK(&virqfd->inject, virqfd_inject); in vfio_virqfd_enable()
181 schedule_work(&virqfd->inject); in vfio_virqfd_enable()
/linux/arch/x86/kernel/cpu/mce/
H A DMakefile9 mce-inject-y := inject.o
10 obj-$(CONFIG_X86_MCE_INJECT) += mce-inject.o
/linux/Documentation/ABI/testing/
H A Ddebugfs-cxl7 attribute, the memdev driver sends an inject poison command to
16 It is not an error to inject poison into an address that
18 device returns 'Inject Poison Limit Reached' an -EBUSY error
57 The <error number> can be written to einj_inject to inject
/linux/lib/
H A Dtest_firmware.c133 struct upload_inject_err inject; member
1146 tst->inject.prog = prog; in upload_err_inject_error()
1147 tst->inject.err_code = err; in upload_err_inject_error()
1198 if (strncmp(data, "inject:", strlen("inject:")) == 0) in test_fw_upload_prepare()
1199 upload_err_inject_prog(tst, data + strlen("inject:")); in test_fw_upload_prepare()
1204 if (tst->inject.err_code == FW_UPLOAD_ERR_NONE || in test_fw_upload_prepare()
1205 strncmp(tst->inject.prog, progress, strlen(progress)) != 0) in test_fw_upload_prepare()
1208 if (tst->inject.err_code == FW_UPLOAD_ERR_CANCELED) in test_fw_upload_prepare()
1211 ret = tst->inject.err_code; in test_fw_upload_prepare()
1218 tst->inject.err_code = FW_UPLOAD_ERR_NONE; in test_fw_upload_prepare()
[all …]
/linux/Documentation/firmware-guide/acpi/apei/
H A Deinj.rst117 The error injection mechanism is a two-step process. First inject the
195 # echo 1 > error_inject # Inject now
215 # cd 0000:e0:01.1 # Navigate to dport to inject into
216 # echo 0x8000 > einj_inject # Inject error
223 trigger that will inject the error on the next write to the target
229 2) Use "notrigger=1" mode to inject (this will setup
230 the injection address, but will not actually inject)
/linux/Documentation/mm/
H A Dhwpoison.rst49 KVM can inject the machine check into the guest with the proper
112 * hwpoison-inject module through debugfs ``/sys/kernel/debug/hwpoison/``
115 Inject hwpoison fault at PFN echoed into this file. This does
159 x86 has mce-inject, mce-test
172 git://git.kernel.org/pub/scm/utils/cpu/mce/mce-inject.git
/linux/tools/testing/selftests/kvm/x86_64/
H A Dnested_exceptions_test.c
/linux/tools/testing/selftests/kvm/x86/
H A Dnested_exceptions_test.c190 static void queue_ss_exception(struct kvm_vcpu *vcpu, bool inject) in queue_ss_exception() argument
202 events.exception.pending = !inject; in queue_ss_exception()
203 events.exception.injected = inject; in queue_ss_exception()
264 * Inject #SS, the #SS should bypass interception and cause #GP, which in main()
273 * Inject #SS, the #SS should bypass interception and cause #GP, which in main()
282 * Inject #SS yet again. L1 is not intercepting #GP or #DF, and so in main()
/linux/drivers/s390/cio/
H A Dcio_inject.c3 * CIO inject interface
26 * crw_inject : Initiate the artificial CRW inject
94 pr_warn("CIO inject is not enabled - ignoring CRW inject\n"); in crw_inject_write()
/linux/tools/testing/selftests/memory-hotplug/
H 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/arch/arm64/kvm/
H A Dinject_fault.c159 * kvm_inject_dabt - inject a data abort into the guest
175 * kvm_inject_pabt - inject a prefetch abort into the guest
219 * kvm_inject_undefined - inject an undefined instruction into the guest
220 * @vcpu: The vCPU in which to inject the exception
240 * kvm_inject_vabt - inject an async abort / SError into the guest
/linux/kernel/irq/
H A Dresend.c124 int check_irq_resend(struct irq_desc *desc, bool inject) in check_irq_resend() argument
141 if (!(desc->istate & IRQS_PENDING) && !inject) in check_irq_resend()
157 * irq_inject_interrupt - Inject an interrupt for testing/error injection
189 * Only try to inject when the interrupt is: in irq_inject_interrupt()

12345678910>>...13