/Linux-v5.4/tools/perf/ |
D | builtin-inject.c | 35 struct perf_tool tool; member 68 static int perf_event__repipe_synth(struct perf_tool *tool, in perf_event__repipe_synth() argument 71 struct perf_inject *inject = container_of(tool, struct perf_inject, in perf_event__repipe_synth() 72 tool); in perf_event__repipe_synth() 77 static int perf_event__repipe_oe_synth(struct perf_tool *tool, in perf_event__repipe_oe_synth() argument 81 return perf_event__repipe_synth(tool, event); in perf_event__repipe_oe_synth() 85 static int perf_event__drop_oe(struct perf_tool *tool __maybe_unused, in perf_event__drop_oe() 96 return perf_event__repipe_synth(session->tool, event); in perf_event__repipe_op2_synth() 99 static int perf_event__repipe_attr(struct perf_tool *tool, in perf_event__repipe_attr() argument 103 struct perf_inject *inject = container_of(tool, struct perf_inject, in perf_event__repipe_attr() [all …]
|
D | builtin-record.c | 76 struct perf_tool tool; member 477 static int process_synthesized_event(struct perf_tool *tool, in process_synthesized_event() argument 482 struct record *rec = container_of(tool, struct record, tool); in process_synthesized_event() 530 static int record__process_auxtrace(struct perf_tool *tool, in record__process_auxtrace() argument 535 struct record *rec = container_of(tool, struct record, tool); in record__process_auxtrace() 573 ret = auxtrace_mmap__read(map, rec->itr, &rec->tool, in record__auxtrace_mmap_read() 589 ret = auxtrace_mmap__read_snapshot(map, rec->itr, &rec->tool, in record__auxtrace_mmap_read_snapshot() 821 static int process_sample_event(struct perf_tool *tool, in process_sample_event() argument 827 struct record *rec = container_of(tool, struct record, tool); in process_sample_event() 838 return build_id__mark_dso_hit(tool, event, sample, evsel, machine); in process_sample_event() [all …]
|
D | builtin-script.c | 1633 struct perf_tool tool; member 1992 static int process_sample_event(struct perf_tool *tool, in process_sample_event() argument 1998 struct perf_script *scr = container_of(tool, struct perf_script, tool); in process_sample_event() 2039 static int process_attr(struct perf_tool *tool, union perf_event *event, in process_attr() argument 2042 struct perf_script *scr = container_of(tool, struct perf_script, tool); in process_attr() 2048 err = perf_event__process_attr(tool, event, pevlist); in process_attr() 2085 static int process_comm_event(struct perf_tool *tool, in process_comm_event() argument 2091 struct perf_script *script = container_of(tool, struct perf_script, tool); in process_comm_event() 2102 if (perf_event__process_comm(tool, event, sample, machine) < 0) in process_comm_event() 2122 static int process_namespaces_event(struct perf_tool *tool, in process_namespaces_event() argument [all …]
|
D | builtin-report.c | 71 struct perf_tool tool; member 216 struct report *rep = container_of(session->tool, struct report, tool); in process_feature_event() 236 static int process_sample_event(struct perf_tool *tool, in process_sample_event() argument 242 struct report *rep = container_of(tool, struct report, tool); in process_sample_event() 306 static int process_read_event(struct perf_tool *tool, in process_read_event() argument 312 struct report *rep = container_of(tool, struct report, tool); in process_read_event() 666 memset(&rep->tool, 0, sizeof(rep->tool)); in stats_setup() 667 rep->tool.no_warn = true; in stats_setup() 680 memset(&rep->tool, 0, sizeof(rep->tool)); in tasks_setup() 681 rep->tool.ordered_events = true; in tasks_setup() [all …]
|
D | builtin-mem.c | 26 struct perf_tool tool; member 153 dump_raw_samples(struct perf_tool *tool, in dump_raw_samples() argument 158 struct perf_mem *mem = container_of(tool, struct perf_mem, tool); in dump_raw_samples() 233 static int process_sample_event(struct perf_tool *tool, in process_sample_event() argument 239 return dump_raw_samples(tool, event, sample, machine); in process_sample_event() 251 &mem->tool); in report_raw_events() 392 .tool = { in cmd_mem()
|
D | builtin-sched.c | 177 struct perf_tool tool; member 1478 static int process_sched_wakeup_event(struct perf_tool *tool, in process_sched_wakeup_event() argument 1483 struct perf_sched *sched = container_of(tool, struct perf_sched, tool); in process_sched_wakeup_event() 1663 static int process_sched_switch_event(struct perf_tool *tool, in process_sched_switch_event() argument 1668 struct perf_sched *sched = container_of(tool, struct perf_sched, tool); in process_sched_switch_event() 1689 static int process_sched_runtime_event(struct perf_tool *tool, in process_sched_runtime_event() argument 1694 struct perf_sched *sched = container_of(tool, struct perf_sched, tool); in process_sched_runtime_event() 1702 static int perf_sched__process_fork_event(struct perf_tool *tool, in perf_sched__process_fork_event() argument 1707 struct perf_sched *sched = container_of(tool, struct perf_sched, tool); in perf_sched__process_fork_event() 1710 perf_event__process_fork(tool, event, sample, machine); in perf_sched__process_fork_event() [all …]
|
D | builtin-kvm.c | 657 static int process_lost_event(struct perf_tool *tool, in process_lost_event() argument 662 struct perf_kvm_stat *kvm = container_of(tool, struct perf_kvm_stat, tool); in process_lost_event() 678 static int process_sample_event(struct perf_tool *tool, in process_sample_event() argument 686 struct perf_kvm_stat *kvm = container_of(tool, struct perf_kvm_stat, in process_sample_event() 687 tool); in process_sample_event() 1095 kvm->tool = eops; in read_events() 1096 kvm->session = perf_session__new(&file, false, &kvm->tool); in read_events() 1386 kvm->tool.sample = process_sample_event; in kvm_events_live() 1387 kvm->tool.comm = perf_event__process_comm; in kvm_events_live() 1388 kvm->tool.exit = perf_event__process_exit; in kvm_events_live() [all …]
|
/Linux-v5.4/tools/perf/util/ |
D | synthetic-events.h | 29 typedef int (*perf_event__handler_t)(struct perf_tool *tool, union perf_event *event, 32 int perf_event__synthesize_attrs(struct perf_tool *tool, struct evlist *evlist, perf_event__handler… 33 int perf_event__synthesize_attr(struct perf_tool *tool, struct perf_event_attr *attr, u32 ids, u64 … 34 int perf_event__synthesize_build_id(struct perf_tool *tool, struct dso *pos, u16 misc, perf_event__… 35 int perf_event__synthesize_cpu_map(struct perf_tool *tool, struct perf_cpu_map *cpus, perf_event__h… 36 int perf_event__synthesize_event_update_cpus(struct perf_tool *tool, struct evsel *evsel, perf_even… 37 int perf_event__synthesize_event_update_name(struct perf_tool *tool, struct evsel *evsel, perf_even… 38 int perf_event__synthesize_event_update_scale(struct perf_tool *tool, struct evsel *evsel, perf_eve… 39 int perf_event__synthesize_event_update_unit(struct perf_tool *tool, struct evsel *evsel, perf_even… 40 int perf_event__synthesize_extra_attr(struct perf_tool *tool, struct evlist *evsel_list, perf_event… [all …]
|
D | session.c | 101 struct perf_tool *tool, 184 session->tool, event->file_offset); in ordered_events__deliver_event() 188 bool repipe, struct perf_tool *tool) in perf_session__new() argument 197 session->tool = tool; in perf_session__new() 254 if ((!data || !data->is_pipe) && tool && tool->ordering_requires_timestamps && in perf_session__new() 255 tool->ordered_events && !perf_evlist__sample_id_all(session->evlist)) { in perf_session__new() 257 tool->ordered_events = false; in perf_session__new() 313 static int process_event_synth_attr_stub(struct perf_tool *tool __maybe_unused, in process_event_synth_attr_stub() 322 static int process_event_synth_event_update_stub(struct perf_tool *tool __maybe_unused, in process_event_synth_event_update_stub() 334 static int process_event_sample_stub(struct perf_tool *tool __maybe_unused, in process_event_sample_stub() [all …]
|
D | synthetic-events.c | 48 int perf_tool__process_synth_event(struct perf_tool *tool, in perf_tool__process_synth_event() argument 63 return process(tool, event, &synth_sample, machine); in perf_tool__process_synth_event() 175 pid_t perf_event__synthesize_comm(struct perf_tool *tool, in perf_event__synthesize_comm() argument 185 if (perf_tool__process_synth_event(tool, event, machine, process) != 0) in perf_event__synthesize_comm() 204 int perf_event__synthesize_namespaces(struct perf_tool *tool, in perf_event__synthesize_namespaces() argument 213 if (!tool || !tool->namespace_events) in perf_event__synthesize_namespaces() 237 if (perf_tool__process_synth_event(tool, event, machine, process) != 0) in perf_event__synthesize_namespaces() 243 static int perf_event__synthesize_fork(struct perf_tool *tool, in perf_event__synthesize_fork() argument 270 if (perf_tool__process_synth_event(tool, event, machine, process) != 0) in perf_event__synthesize_fork() 276 int perf_event__synthesize_mmap_events(struct perf_tool *tool, in perf_event__synthesize_mmap_events() argument [all …]
|
D | event.h | 290 int perf_event__process_comm(struct perf_tool *tool, 294 int perf_event__process_lost(struct perf_tool *tool, 298 int perf_event__process_lost_samples(struct perf_tool *tool, 302 int perf_event__process_aux(struct perf_tool *tool, 306 int perf_event__process_itrace_start(struct perf_tool *tool, 310 int perf_event__process_switch(struct perf_tool *tool, 314 int perf_event__process_namespaces(struct perf_tool *tool, 318 int perf_event__process_mmap(struct perf_tool *tool, 322 int perf_event__process_mmap2(struct perf_tool *tool, 326 int perf_event__process_fork(struct perf_tool *tool, [all …]
|
D | tool.h | 18 typedef int (*event_sample)(struct perf_tool *tool, union perf_event *event, 22 typedef int (*event_op)(struct perf_tool *tool, union perf_event *event, 25 typedef int (*event_attr_op)(struct perf_tool *tool, 33 typedef int (*event_oe)(struct perf_tool *tool, union perf_event *event,
|
D | event.c | 183 int perf_event__process_comm(struct perf_tool *tool __maybe_unused, in perf_event__process_comm() 191 int perf_event__process_namespaces(struct perf_tool *tool __maybe_unused, in perf_event__process_namespaces() 199 int perf_event__process_lost(struct perf_tool *tool __maybe_unused, in perf_event__process_lost() 207 int perf_event__process_aux(struct perf_tool *tool __maybe_unused, in perf_event__process_aux() 215 int perf_event__process_itrace_start(struct perf_tool *tool __maybe_unused, in perf_event__process_itrace_start() 223 int perf_event__process_lost_samples(struct perf_tool *tool __maybe_unused, in perf_event__process_lost_samples() 231 int perf_event__process_switch(struct perf_tool *tool __maybe_unused, in perf_event__process_switch() 239 int perf_event__process_ksymbol(struct perf_tool *tool __maybe_unused, in perf_event__process_ksymbol() 247 int perf_event__process_bpf(struct perf_tool *tool __maybe_unused, in perf_event__process_bpf() 311 int perf_event__process_mmap(struct perf_tool *tool __maybe_unused, in perf_event__process_mmap() [all …]
|
D | auxtrace.h | 152 struct perf_tool *tool); 155 struct perf_tool *tool); 157 struct perf_tool *tool); 447 typedef int (*process_auxtrace_t)(struct perf_tool *tool, 453 struct perf_tool *tool, process_auxtrace_t fn); 457 struct perf_tool *tool, process_auxtrace_t fn, 551 struct perf_sample *sample, struct perf_tool *tool); 552 int auxtrace__flush_events(struct perf_session *session, struct perf_tool *tool); 654 struct perf_tool *tool __maybe_unused) in auxtrace__process_event() 661 struct perf_tool *tool __maybe_unused) in auxtrace__flush_events()
|
D | jitdump.c | 64 struct perf_tool tool; member 71 #define get_jit_tool(t) (container_of(tool, struct jit_tool, tool)) 390 struct perf_tool *tool = jd->session->tool; in jit_repipe_code_load() local 488 ret = perf_event__process_mmap2(tool, event, &sample, jd->machine); in jit_repipe_code_load() 497 build_id__mark_dso_hit(tool, event, &sample, NULL, jd->machine); in jit_repipe_code_load() 506 struct perf_tool *tool = jd->session->tool; in jit_repipe_code_move() local 580 ret = perf_event__process_mmap2(tool, event, &sample, jd->machine); in jit_repipe_code_move() 586 build_id__mark_dso_hit(tool, event, &sample, NULL, jd->machine); in jit_repipe_code_move()
|
D | session.h | 38 struct perf_tool *tool; member 58 bool repipe, struct perf_tool *tool); 73 void perf_tool__fill_defaults(struct perf_tool *tool);
|
D | data-convert-bt.c | 84 struct perf_tool tool; member 786 static int process_sample_event(struct perf_tool *tool, in process_sample_event() argument 792 struct convert *c = container_of(tool, struct convert, tool); in process_sample_event() 865 static int process_##_name##_event(struct perf_tool *tool, \ 870 struct convert *c = container_of(tool, struct convert, tool);\ 897 return perf_event__process_##_name(tool, _event, sample, machine);\ 1586 .tool = { in bt_convert__perf2ctf() 1605 c.tool.comm = process_comm_event; in bt_convert__perf2ctf() 1606 c.tool.exit = process_exit_event; in bt_convert__perf2ctf() 1607 c.tool.fork = process_fork_event; in bt_convert__perf2ctf() [all …]
|
/Linux-v5.4/tools/perf/tests/ |
D | event_update.c | 15 static int process_event_unit(struct perf_tool *tool __maybe_unused, in process_event_unit() 28 static int process_event_scale(struct perf_tool *tool __maybe_unused, in process_event_scale() 45 struct perf_tool tool; member 49 static int process_event_name(struct perf_tool *tool, in process_event_name() argument 54 struct event_name *tmp = container_of(tool, struct event_name, tool); in process_event_name() 63 static int process_event_cpus(struct perf_tool *tool __maybe_unused, in process_event_cpus() 115 !perf_event__synthesize_event_update_name(&tmp.tool, evsel, process_event_name)); in test__event_update() 120 !perf_event__synthesize_event_update_cpus(&tmp.tool, evsel, process_event_cpus)); in test__event_update()
|
D | stat.c | 24 static int process_stat_config_event(struct perf_tool *tool __maybe_unused, in process_stat_config_event() 64 static int process_stat_event(struct perf_tool *tool __maybe_unused, in process_stat_event() 94 static int process_stat_round_event(struct perf_tool *tool __maybe_unused, in process_stat_round_event()
|
/Linux-v5.4/drivers/input/tablet/ |
D | wacom_serial4.c | 173 unsigned int tool; member 312 unsigned int tool; in wacom_handle_packet() local 333 tool = (button & wacom->eraser_mask) ? ERASER : STYLUS; in wacom_handle_packet() 335 tool = CURSOR; in wacom_handle_packet() 337 if (tool != wacom->tool && wacom->tool != 0) { in wacom_handle_packet() 338 input_report_key(wacom->dev, tools[wacom->tool].input_id, 0); in wacom_handle_packet() 341 wacom->tool = tool; in wacom_handle_packet() 343 input_report_key(wacom->dev, tools[tool].input_id, in_proximity_p); in wacom_handle_packet() 345 in_proximity_p ? tools[tool].device_id : 0); in wacom_handle_packet() 532 wacom->tool = wacom->idx = 0; in wacom_connect()
|
/Linux-v5.4/Documentation/s390/ |
D | zfcpdump.rst | 2 The s390 SCSI dump tool (zfcpdump) 6 dumps on SCSI disks. The dump process is initiated by booting a dump tool, which 8 not overwrite memory of the crashed Linux with data of the dump tool, the 10 dump tool is loaded. There exists an SCLP hardware interface to obtain the saved 14 a user space dump tool, which are loaded together into the saved memory region 20 The user space dump tool accesses the memory of the crashed system by means 32 The s390 zipl tool looks for the zfcpdump kernel and optional initrd/initramfs
|
/Linux-v5.4/arch/mips/ |
D | Makefile | 26 32bit-tool-archpref = mipsel 27 64bit-tool-archpref = mips64el 33 32bit-tool-archpref = mips 34 64bit-tool-archpref = mips64 42 tool-archpref = $(32bit-tool-archpref) 46 tool-archpref = $(64bit-tool-archpref) 52 …CROSS_COMPILE := $(call cc-cross-prefix, $(tool-archpref)-linux- $(tool-archpref)-linux-gnu- $(t…
|
/Linux-v5.4/Documentation/input/ |
D | multi-touch-protocol.rst | 174 of the contact area and approaching tool, respectively. 222 The ABS_MT_TOOL_TYPE may be used to specify whether the touching tool is a 245 tool. This should be understood as the size of the tool itself. The 246 orientation of the contact and the approaching tool are assumed to be the 251 tool. Omit if circular [#f4]_. 296 The surface X coordinate of the center of the approaching tool. Omit if 298 tool itself. 301 The surface Y coordinate of the center of the approaching tool. Omit if the 302 device cannot distinguish between the intended touch point and the tool 306 from the position of the tool. If both positions are present, the major [all …]
|
/Linux-v5.4/tools/perf/arch/x86/util/ |
D | tsc.c | 54 struct perf_tool *tool, in perf_event__synth_time_conv() argument 83 return process(tool, &event, NULL, machine); in perf_event__synth_time_conv()
|
D | event.c | 15 int perf_event__synthesize_extra_kmaps(struct perf_tool *tool, in perf_event__synthesize_extra_kmaps() argument 67 if (perf_tool__process_synth_event(tool, event, machine, in perf_event__synthesize_extra_kmaps()
|