/Linux-v4.19/tools/perf/ |
D | builtin-inject.c | 31 struct perf_tool tool; member 64 static int perf_event__repipe_synth(struct perf_tool *tool, in perf_event__repipe_synth() argument 67 struct perf_inject *inject = container_of(tool, struct perf_inject, in perf_event__repipe_synth() 68 tool); in perf_event__repipe_synth() 73 static int perf_event__repipe_oe_synth(struct perf_tool *tool, in perf_event__repipe_oe_synth() argument 77 return perf_event__repipe_synth(tool, event); in perf_event__repipe_oe_synth() 81 static int perf_event__drop_oe(struct perf_tool *tool __maybe_unused, in perf_event__drop_oe() 89 static int perf_event__repipe_op2_synth(struct perf_tool *tool, in perf_event__repipe_op2_synth() argument 94 return perf_event__repipe_synth(tool, event); in perf_event__repipe_op2_synth() 97 static int perf_event__repipe_attr(struct perf_tool *tool, in perf_event__repipe_attr() argument [all …]
|
D | builtin-record.c | 67 struct perf_tool tool; member 124 static int process_synthesized_event(struct perf_tool *tool, in process_synthesized_event() argument 129 struct record *rec = container_of(tool, struct record, tool); in process_synthesized_event() 172 static int record__process_auxtrace(struct perf_tool *tool, in record__process_auxtrace() argument 176 struct record *rec = container_of(tool, struct record, tool); in record__process_auxtrace() 214 ret = auxtrace_mmap__read(mm, rec->itr, &rec->tool, in record__auxtrace_mmap_read() 230 ret = auxtrace_mmap__read_snapshot(mm, rec->itr, &rec->tool, in record__auxtrace_mmap_read_snapshot() 428 static int process_sample_event(struct perf_tool *tool, in process_sample_event() argument 434 struct record *rec = container_of(tool, struct record, tool); in process_sample_event() 445 return build_id__mark_dso_hit(tool, event, sample, evsel, machine); in process_sample_event() [all …]
|
D | builtin-report.c | 58 struct perf_tool tool; member 204 static int process_feature_event(struct perf_tool *tool, in process_feature_event() argument 208 struct report *rep = container_of(tool, struct report, tool); in process_feature_event() 211 return perf_event__process_feature(tool, event, session); in process_feature_event() 228 static int process_sample_event(struct perf_tool *tool, in process_sample_event() argument 234 struct report *rep = container_of(tool, struct report, tool); in process_sample_event() 290 static int process_read_event(struct perf_tool *tool, in process_read_event() argument 296 struct report *rep = container_of(tool, struct report, tool); in process_read_event() 633 memset(&rep->tool, 0, sizeof(rep->tool)); in stats_setup() 634 rep->tool.no_warn = true; in stats_setup() [all …]
|
D | builtin-script.c | 1490 struct perf_tool tool; member 1783 static int process_sample_event(struct perf_tool *tool, in process_sample_event() argument 1789 struct perf_script *scr = container_of(tool, struct perf_script, tool); in process_sample_event() 1830 static int process_attr(struct perf_tool *tool, union perf_event *event, in process_attr() argument 1833 struct perf_script *scr = container_of(tool, struct perf_script, tool); in process_attr() 1839 err = perf_event__process_attr(tool, event, pevlist); in process_attr() 1876 static int process_comm_event(struct perf_tool *tool, in process_comm_event() argument 1882 struct perf_script *script = container_of(tool, struct perf_script, tool); in process_comm_event() 1893 if (perf_event__process_comm(tool, event, sample, machine) < 0) in process_comm_event() 1911 static int process_namespaces_event(struct perf_tool *tool, in process_namespaces_event() argument [all …]
|
D | builtin-mem.c | 22 struct perf_tool tool; member 149 dump_raw_samples(struct perf_tool *tool, in dump_raw_samples() argument 154 struct perf_mem *mem = container_of(tool, struct perf_mem, tool); in dump_raw_samples() 229 static int process_sample_event(struct perf_tool *tool, in process_sample_event() argument 235 return dump_raw_samples(tool, event, sample, machine); in process_sample_event() 249 &mem->tool); in report_raw_events() 390 .tool = { in cmd_mem()
|
D | builtin-sched.c | 170 struct perf_tool tool; member 1468 static int process_sched_wakeup_event(struct perf_tool *tool, in process_sched_wakeup_event() argument 1473 struct perf_sched *sched = container_of(tool, struct perf_sched, tool); in process_sched_wakeup_event() 1653 static int process_sched_switch_event(struct perf_tool *tool, in process_sched_switch_event() argument 1658 struct perf_sched *sched = container_of(tool, struct perf_sched, tool); in process_sched_switch_event() 1679 static int process_sched_runtime_event(struct perf_tool *tool, in process_sched_runtime_event() argument 1684 struct perf_sched *sched = container_of(tool, struct perf_sched, tool); in process_sched_runtime_event() 1692 static int perf_sched__process_fork_event(struct perf_tool *tool, in perf_sched__process_fork_event() argument 1697 struct perf_sched *sched = container_of(tool, struct perf_sched, tool); in perf_sched__process_fork_event() 1700 perf_event__process_fork(tool, event, sample, machine); in perf_sched__process_fork_event() [all …]
|
D | builtin-annotate.c | 41 struct perf_tool tool; member 256 static int process_sample_event(struct perf_tool *tool, in process_sample_event() argument 262 struct perf_annotate *ann = container_of(tool, struct perf_annotate, tool); in process_sample_event() 286 static int process_feature_event(struct perf_tool *tool, in process_feature_event() argument 291 return perf_event__process_feature(tool, event, session); in process_feature_event() 472 .tool = { in cmd_annotate() 583 annotate.session = perf_session__new(&data, false, &annotate.tool); in cmd_annotate()
|
D | builtin-kvm.c | 651 static int process_lost_event(struct perf_tool *tool, in process_lost_event() argument 656 struct perf_kvm_stat *kvm = container_of(tool, struct perf_kvm_stat, tool); in process_lost_event() 672 static int process_sample_event(struct perf_tool *tool, in process_sample_event() argument 680 struct perf_kvm_stat *kvm = container_of(tool, struct perf_kvm_stat, in process_sample_event() 681 tool); in process_sample_event() 1090 kvm->tool = eops; in read_events() 1091 kvm->session = perf_session__new(&file, false, &kvm->tool); in read_events() 1381 kvm->tool.sample = process_sample_event; in kvm_events_live() 1382 kvm->tool.comm = perf_event__process_comm; in kvm_events_live() 1383 kvm->tool.exit = perf_event__process_exit; in kvm_events_live() [all …]
|
/Linux-v4.19/tools/perf/util/ |
D | session.c | 30 struct perf_tool *tool, 113 session->tool, event->file_offset); in ordered_events__deliver_event() 117 bool repipe, struct perf_tool *tool) in perf_session__new() argument 125 session->tool = tool; in perf_session__new() 166 if ((!data || !data->is_pipe) && tool && tool->ordering_requires_timestamps && in perf_session__new() 167 tool->ordered_events && !perf_evlist__sample_id_all(session->evlist)) { in perf_session__new() 169 tool->ordered_events = false; in perf_session__new() 202 static int process_event_synth_tracing_data_stub(struct perf_tool *tool in process_event_synth_tracing_data_stub() 213 static int process_event_synth_attr_stub(struct perf_tool *tool __maybe_unused, in process_event_synth_attr_stub() 222 static int process_event_synth_event_update_stub(struct perf_tool *tool __maybe_unused, in process_event_synth_event_update_stub() [all …]
|
D | header.h | 109 int perf_event__synthesize_features(struct perf_tool *tool, 114 int perf_event__synthesize_extra_attr(struct perf_tool *tool, 119 int perf_event__process_feature(struct perf_tool *tool, 123 int perf_event__synthesize_attr(struct perf_tool *tool, 126 int perf_event__synthesize_attrs(struct perf_tool *tool, 129 int perf_event__synthesize_event_update_unit(struct perf_tool *tool, 132 int perf_event__synthesize_event_update_scale(struct perf_tool *tool, 135 int perf_event__synthesize_event_update_name(struct perf_tool *tool, 138 int perf_event__synthesize_event_update_cpus(struct perf_tool *tool, 141 int perf_event__process_attr(struct perf_tool *tool, union perf_event *event, [all …]
|
D | event.h | 664 typedef int (*perf_event__handler_t)(struct perf_tool *tool, 669 int perf_event__synthesize_thread_map(struct perf_tool *tool, 674 int perf_event__synthesize_thread_map2(struct perf_tool *tool, 678 int perf_event__synthesize_cpu_map(struct perf_tool *tool, 682 int perf_event__synthesize_threads(struct perf_tool *tool, 687 int perf_event__synthesize_kernel_mmap(struct perf_tool *tool, 690 int perf_event__synthesize_stat_config(struct perf_tool *tool, 696 int perf_event__synthesize_stat(struct perf_tool *tool, 701 int perf_event__synthesize_stat_round(struct perf_tool *tool, 705 int perf_event__synthesize_modules(struct perf_tool *tool, [all …]
|
D | event.c | 91 int perf_tool__process_synth_event(struct perf_tool *tool, in perf_tool__process_synth_event() argument 106 return process(tool, event, &synth_sample, machine); in perf_tool__process_synth_event() 220 pid_t perf_event__synthesize_comm(struct perf_tool *tool, in perf_event__synthesize_comm() argument 230 if (perf_tool__process_synth_event(tool, event, machine, process) != 0) in perf_event__synthesize_comm() 249 int perf_event__synthesize_namespaces(struct perf_tool *tool, in perf_event__synthesize_namespaces() argument 258 if (!tool || !tool->namespace_events) in perf_event__synthesize_namespaces() 282 if (perf_tool__process_synth_event(tool, event, machine, process) != 0) in perf_event__synthesize_namespaces() 288 static int perf_event__synthesize_fork(struct perf_tool *tool, in perf_event__synthesize_fork() argument 314 if (perf_tool__process_synth_event(tool, event, machine, process) != 0) in perf_event__synthesize_fork() 320 int perf_event__synthesize_mmap_events(struct perf_tool *tool, in perf_event__synthesize_mmap_events() argument [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, 29 typedef int (*event_op2)(struct perf_tool *tool, union perf_event *event, 32 typedef int (*event_oe)(struct perf_tool *tool, union perf_event *event, 35 typedef s64 (*event_op3)(struct perf_tool *tool, union perf_event *event,
|
D | auxtrace.h | 143 struct perf_tool *tool); 146 struct perf_tool *tool); 148 struct perf_tool *tool); 436 typedef int (*process_auxtrace_t)(struct perf_tool *tool, 441 struct perf_tool *tool, process_auxtrace_t fn); 445 struct perf_tool *tool, process_auxtrace_t fn, 517 struct perf_tool *tool, 520 int perf_event__process_auxtrace_info(struct perf_tool *tool, 523 s64 perf_event__process_auxtrace(struct perf_tool *tool, 526 int perf_event__process_auxtrace_error(struct perf_tool *tool, [all …]
|
D | session.h | 37 struct perf_tool *tool; member 43 bool repipe, struct perf_tool *tool); 58 void perf_tool__fill_defaults(struct perf_tool *tool); 123 int perf_event__process_id_index(struct perf_tool *tool, 127 int perf_event__synthesize_id_index(struct perf_tool *tool,
|
D | jitdump.c | 63 struct perf_tool tool; member 70 #define get_jit_tool(t) (container_of(tool, struct jit_tool, tool)) 389 struct perf_tool *tool = jd->session->tool; in jit_repipe_code_load() local 489 ret = perf_event__process_mmap2(tool, event, &sample, jd->machine); in jit_repipe_code_load() 498 build_id__mark_dso_hit(tool, event, &sample, NULL, jd->machine); in jit_repipe_code_load() 507 struct perf_tool *tool = jd->session->tool; in jit_repipe_code_move() local 581 ret = perf_event__process_mmap2(tool, event, &sample, jd->machine); in jit_repipe_code_move() 587 build_id__mark_dso_hit(tool, event, &sample, NULL, jd->machine); in jit_repipe_code_move()
|
/Linux-v4.19/tools/perf/tests/ |
D | event_update.c | 9 static int process_event_unit(struct perf_tool *tool __maybe_unused, in process_event_unit() 22 static int process_event_scale(struct perf_tool *tool __maybe_unused, in process_event_scale() 39 struct perf_tool tool; member 43 static int process_event_name(struct perf_tool *tool, in process_event_name() argument 48 struct event_name *tmp = container_of(tool, struct event_name, tool); in process_event_name() 57 static int process_event_cpus(struct perf_tool *tool __maybe_unused, in process_event_cpus() 109 !perf_event__synthesize_event_update_name(&tmp.tool, evsel, process_event_name)); in test__event_update() 114 !perf_event__synthesize_event_update_cpus(&tmp.tool, evsel, process_event_cpus)); in test__event_update()
|
D | stat.c | 23 static int process_stat_config_event(struct perf_tool *tool __maybe_unused, in process_stat_config_event() 63 static int process_stat_event(struct perf_tool *tool __maybe_unused, in process_stat_event() 93 static int process_stat_round_event(struct perf_tool *tool __maybe_unused, in process_stat_round_event()
|
/Linux-v4.19/drivers/input/tablet/ |
D | wacom_serial4.c | 178 unsigned int tool; member 315 unsigned int tool; in wacom_handle_packet() local 336 tool = (button & wacom->eraser_mask) ? ERASER : STYLUS; in wacom_handle_packet() 338 tool = CURSOR; in wacom_handle_packet() 340 if (tool != wacom->tool && wacom->tool != 0) { in wacom_handle_packet() 341 input_report_key(wacom->dev, tools[wacom->tool].input_id, 0); in wacom_handle_packet() 344 wacom->tool = tool; in wacom_handle_packet() 346 input_report_key(wacom->dev, tools[tool].input_id, in_proximity_p); in wacom_handle_packet() 348 in_proximity_p ? tools[tool].device_id : 0); in wacom_handle_packet() 535 wacom->tool = wacom->idx = 0; in wacom_connect()
|
/Linux-v4.19/Documentation/s390/ |
D | zfcpdump.txt | 1 The s390 SCSI dump tool (zfcpdump) 4 dumps on SCSI disks. The dump process is initiated by booting a dump tool, which 6 not overwrite memory of the crashed Linux with data of the dump tool, the 8 dump tool is loaded. There exists an SCLP hardware interface to obtain the saved 12 a user space dump tool, which are loaded together into the saved memory region 18 The user space dump tool accesses the memory of the crashed system by means 30 The s390 zipl tool looks for the zfcpdump kernel and optional initrd/initramfs
|
/Linux-v4.19/arch/mips/ |
D | Makefile | 24 32bit-tool-archpref = mipsel 25 64bit-tool-archpref = mips64el 31 32bit-tool-archpref = mips 32 64bit-tool-archpref = mips64 40 tool-archpref = $(32bit-tool-archpref) 44 tool-archpref = $(64bit-tool-archpref) 50 …CROSS_COMPILE := $(call cc-cross-prefix, $(tool-archpref)-linux- $(tool-archpref)-linux-gnu- $(t…
|
/Linux-v4.19/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-v4.19/tools/perf/arch/x86/util/ |
D | tsc.c | 52 struct perf_tool *tool, in perf_event__synth_time_conv() argument 81 return process(tool, &event, NULL, machine); in perf_event__synth_time_conv()
|
D | event.c | 13 int perf_event__synthesize_extra_kmaps(struct perf_tool *tool, in perf_event__synthesize_extra_kmaps() argument 65 if (perf_tool__process_synth_event(tool, event, machine, in perf_event__synthesize_extra_kmaps()
|
/Linux-v4.19/tools/power/pm-graph/config/ |
D | cgskip.txt | 10 # The sleepgraph tool automatically pulls this file in when 12 # the tool is called with "-cgskip off".
|