Home
last modified time | relevance | path

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

1234

/linux/tools/perf/
H A Dbuiltin-inject.c3 * builtin-inject.c
5 * Builtin inject command: Examine the live mode (stdin) event stream
164 static int output_bytes(struct perf_inject *inject, void *buf, size_t sz) in output_bytes() argument
168 size = perf_data__write(&inject->output, buf, sz); in output_bytes()
172 inject->bytes_written += size; in output_bytes()
180 struct perf_inject *inject = container_of(tool, struct perf_inject, in perf_event__repipe_synth() local
183 return output_bytes(inject, event, event->header.size); in perf_event__repipe_synth()
222 struct perf_inject *inject = container_of(tool, struct perf_inject, in perf_event__repipe_attr() local
231 if (!inject->output.is_pipe) in perf_event__repipe_attr()
244 static int copy_bytes(struct perf_inject *inject, struc argument
267 struct perf_inject *inject = container_of(tool, struct perf_inject, tool); perf_event__repipe_auxtrace() local
321 struct perf_inject *inject = container_of(tool, struct perf_inject, tool); perf_event__drop_aux() local
330 perf_inject__cut_auxtrace_sample(struct perf_inject * inject,union perf_event * event,struct perf_sample * sample) perf_inject__cut_auxtrace_sample() argument
369 struct perf_inject *inject = container_of(tool, struct perf_inject, perf_event__repipe_sample() local
394 struct perf_inject *inject = container_of(tool, struct perf_inject, tool); perf_event__convert_sample_callchain() local
522 inject__mmap_evsel(struct perf_inject * inject) inject__mmap_evsel() argument
553 struct perf_inject *inject = container_of(tool, struct perf_inject, tool); perf_event__repipe_common_mmap() local
808 perf_inject__lookup_known_build_id(struct perf_inject * inject,struct dso * dso) perf_inject__lookup_known_build_id() argument
845 struct perf_inject *inject = container_of(tool, struct perf_inject, tool); tool__inject_build_id() local
913 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
975 const struct perf_inject *inject; global() member
998 struct perf_inject *inject = container_of(tool, struct perf_inject, tool); perf_event__inject_buildid() local
1040 struct perf_inject *inject = container_of(tool, struct perf_inject, tool); perf_inject__sched_process_exit() local
1060 struct perf_inject *inject = container_of(tool, struct perf_inject, tool); perf_inject__sched_switch() local
1088 struct perf_inject *inject = container_of(tool, struct perf_inject, tool); perf_inject__sched_stat() local
1294 struct perf_inject *inject = container_of(tool, struct perf_inject, tool); process_attr() local
1301 struct perf_inject *inject = container_of(gs, struct perf_inject, guest_session); guest_session__add_attr() local
1370 synthesize_id_index(struct perf_inject * inject,size_t new_cnt) synthesize_id_index() argument
1423 struct perf_inject *inject = container_of(tool, struct perf_inject, tool); process_build_id() local
1428 synthesize_build_id(struct perf_inject * inject,struct dso * dso,pid_t machine_pid) synthesize_build_id() argument
1457 struct perf_inject *inject = container_of(gs, struct perf_inject, guest_session); guest_session__add_build_ids_cb() local
1468 struct perf_inject *inject = container_of(gs, struct perf_inject, guest_session); guest_session__add_build_ids() local
1611 struct perf_inject *inject = container_of(gs, struct perf_inject, guest_session); guest_session__get_tc() local
1731 struct perf_inject *inject = container_of(gs, struct perf_inject, guest_session); guest_session__inject_events() local
1847 struct perf_inject *inject = container_of(tool, struct perf_inject, tool); host__repipe() local
1860 struct perf_inject *inject = container_of(tool, struct perf_inject, tool); host__finished_init() local
1920 struct perf_inject *inject = container_of(tool, struct perf_inject, tool); host__finished_round() local
1939 struct perf_inject *inject = container_of(tool, struct perf_inject, tool); host__context_switch() local
1997 strip_init(struct perf_inject * inject) strip_init() argument
2010 struct perf_inject *inject = opt->value; parse_vm_time_correlation() local
2040 struct perf_inject *inject = opt->value; parse_guest_data() local
2097 struct perf_inject *inject = data; save_section_info_cb() local
2103 save_section_info(struct perf_inject * inject) save_section_info() argument
2111 keep_feat(struct perf_inject * inject,int feat) keep_feat() argument
2166 feat_copy(struct perf_inject * inject,int feat,struct feat_writer * fw) feat_copy() argument
2189 struct perf_inject *inject; global() member
2195 struct perf_inject *inject = inj_fc->inject; feat_copy_cb() local
2209 copy_kcore_dir(struct perf_inject * inject) copy_kcore_dir() argument
2226 struct perf_inject *inject = container_of(gs, struct perf_inject, guest_session); guest_session__copy_kcore_dir() local
2240 output_fd(struct perf_inject * inject) output_fd() argument
2245 __cmd_inject(struct perf_inject * inject) __cmd_inject() argument
2476 struct perf_inject inject = { cmd_inject() local
[all...]
/linux/tools/testing/selftests/net/
H A Dvlan_bridge_binding.sh120 local inject=$1; shift
131 $inject
137 $inject
143 $inject
149 $inject
158 local inject=$1; shift
161 do_test_binding "$inject" "$what" \
170 local inject=$1; shift
173 do_test_binding "$inject" "$what" \
/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
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
/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/drivers/edac/
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/arch/x86/kernel/cpu/mce/
H A DMakefile9 mce-inject-y := inject.o
10 obj-$(CONFIG_X86_MCE_INJECT) += mce-inject.o
/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
154 write-only, inject plugin or plugout
156 - to inject plugin:
162 - to inject plugout:
/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
36 Override build-ids to inject using these comma-separated pairs of
117 :GMEXAMPLECMD: inject
H 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/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/lib/
H A Dtest_firmware.c134 struct upload_inject_err inject; member
1147 tst->inject.prog = prog; in upload_err_inject_error()
1148 tst->inject.err_code = err; in upload_err_inject_error()
1205 if (tst->inject.err_code == FW_UPLOAD_ERR_NONE || in test_fw_upload_prepare()
1206 strncmp(tst->inject.prog, progress, strlen(progress)) != 0) in test_fw_upload_prepare()
1209 if (tst->inject.err_code == FW_UPLOAD_ERR_CANCELED) in test_fw_upload_prepare()
1212 ret = tst->inject.err_code; in test_fw_upload_prepare()
1219 tst->inject.err_code = FW_UPLOAD_ERR_NONE; in test_fw_upload_prepare()
1220 tst->inject.prog = NULL; in test_fw_upload_prepare()
1241 if (tst->inject.err_code == FW_UPLOAD_ERR_NONE || in test_fw_upload_write()
[all …]
/linux/tools/testing/selftests/mm/
H A Dmemory-failure.c55 int (*inject)(FIXTURE_DATA(memory_failure) * self, void *vaddr); in FIXTURE_VARIANT()
66 .inject = madv_hard_inject, in FIXTURE_VARIANT_ADD()
77 .inject = madv_soft_inject, in FIXTURE_VARIANT_ADD()
191 SKIP(return, "unexpected inject type %d.\n", type); in check()
236 ASSERT_EQ(variant->inject(self, addr), 0); in TEST_F()
301 ASSERT_EQ(variant->inject(self, addr), 0); in TEST_F()
342 ASSERT_EQ(variant->inject(self, addr), 0); in TEST_F()
56 int (*inject)(FIXTURE_DATA(memory_failure) * self, void *vaddr); FIXTURE_VARIANT() local
/linux/Documentation/translations/zh_CN/mm/
H 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/kernel/irq/
H A Dresend.c122 int check_irq_resend(struct irq_desc *desc, bool inject) in check_irq_resend() argument
139 if (!(desc->istate & IRQS_PENDING) && !inject) in check_irq_resend()
/linux/arch/riscv/kvm/
H A Daia_aplic.c246 bool inject; in aplic_update_irq_range() local
262 inject = false; in aplic_update_irq_range()
267 inject = true; in aplic_update_irq_range()
272 if (inject) in aplic_update_irq_range()
280 bool inject = false, ie; in kvm_riscv_aia_aplic_inject() local
325 inject = true; in kvm_riscv_aia_aplic_inject()
331 if (inject) in kvm_riscv_aia_aplic_inject()
/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()
/linux/mm/
H A Dhwpoison-inject.c119 goto inject; in hwpoison_inject()
138 inject: in hwpoison_inject()
/linux/tools/testing/selftests/powerpc/mce/
H A D.gitignore1 inject-ra-err
H A DMakefile3 TEST_GEN_PROGS := inject-ra-err
/linux/net/rxrpc/
H 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
/linux/arch/csky/lib/
H A DMakefile3 obj-$(CONFIG_FUNCTION_ERROR_INJECTION) += error-inject.o
/linux/tools/testing/fault-injection/
H A Dfailcmd.sh59 inject slab allocation failures
61 inject page allocation failures
/linux/arch/loongarch/lib/
H A DMakefile13 obj-$(CONFIG_FUNCTION_ERROR_INJECTION) += error-inject.o
/linux/include/linux/
H A Dkvm_irqfd.h48 struct work_struct inject; member
/linux/Documentation/networking/
H A Dmac80211-injection.rst8 interface from userland. The packet you inject needs to be composed in the
102 You can also find a link to a complete inject application here:

1234