/kernel/linux/linux-4.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() 639 memset(&rep->tool, 0, sizeof(rep->tool)); in stats_setup() 640 rep->tool.no_warn = true; in stats_setup() [all …]
|
D | builtin-script.c | 1494 struct perf_tool tool; member 1782 static int process_sample_event(struct perf_tool *tool, in process_sample_event() argument 1788 struct perf_script *scr = container_of(tool, struct perf_script, tool); in process_sample_event() 1829 static int process_attr(struct perf_tool *tool, union perf_event *event, in process_attr() argument 1832 struct perf_script *scr = container_of(tool, struct perf_script, tool); in process_attr() 1838 err = perf_event__process_attr(tool, event, pevlist); in process_attr() 1875 static int process_comm_event(struct perf_tool *tool, in process_comm_event() argument 1881 struct perf_script *script = container_of(tool, struct perf_script, tool); in process_comm_event() 1892 if (perf_event__process_comm(tool, event, sample, machine) < 0) in process_comm_event() 1910 static int process_namespaces_event(struct perf_tool *tool, in process_namespaces_event() argument [all …]
|
/kernel/linux/linux-5.10/tools/perf/ |
D | builtin-inject.c | 38 struct perf_tool tool; member 61 static int dso__inject_build_id(struct dso *dso, struct perf_tool *tool, 76 static int perf_event__repipe_synth(struct perf_tool *tool, in perf_event__repipe_synth() argument 79 struct perf_inject *inject = container_of(tool, struct perf_inject, in perf_event__repipe_synth() 80 tool); in perf_event__repipe_synth() 85 static int perf_event__repipe_oe_synth(struct perf_tool *tool, in perf_event__repipe_oe_synth() argument 89 return perf_event__repipe_synth(tool, event); in perf_event__repipe_oe_synth() 93 static int perf_event__drop_oe(struct perf_tool *tool __maybe_unused, in perf_event__drop_oe() 104 return perf_event__repipe_synth(session->tool, event); in perf_event__repipe_op2_synth() 111 return perf_event__repipe_synth(session->tool, event); in perf_event__repipe_op4_synth() [all …]
|
D | builtin-record.c | 89 struct perf_tool tool; member 509 static int process_synthesized_event(struct perf_tool *tool, in process_synthesized_event() argument 514 struct record *rec = container_of(tool, struct record, tool); in process_synthesized_event() 518 static int process_locked_synthesized_event(struct perf_tool *tool, in process_locked_synthesized_event() argument 527 ret = process_synthesized_event(tool, event, sample, machine); in process_locked_synthesized_event() 593 static int record__process_auxtrace(struct perf_tool *tool, in record__process_auxtrace() argument 598 struct record *rec = container_of(tool, struct record, tool); in record__process_auxtrace() 636 ret = auxtrace_mmap__read(map, rec->itr, &rec->tool, in record__auxtrace_mmap_read() 652 ret = auxtrace_mmap__read_snapshot(map, rec->itr, &rec->tool, in record__auxtrace_mmap_read_snapshot() 967 static int process_sample_event(struct perf_tool *tool, in process_sample_event() argument [all …]
|
D | builtin-script.c | 121 struct perf_tool tool; member 2103 static int process_sample_event(struct perf_tool *tool, in process_sample_event() argument 2109 struct perf_script *scr = container_of(tool, struct perf_script, tool); in process_sample_event() 2150 static int process_attr(struct perf_tool *tool, union perf_event *event, in process_attr() argument 2153 struct perf_script *scr = container_of(tool, struct perf_script, tool); in process_attr() 2160 err = perf_event__process_attr(tool, event, pevlist); in process_attr() 2219 static int print_event_with_time(struct perf_tool *tool, in print_event_with_time() argument 2225 struct perf_script *script = container_of(tool, struct perf_script, tool); in print_event_with_time() 2255 static int print_event(struct perf_tool *tool, union perf_event *event, in print_event() argument 2259 return print_event_with_time(tool, event, sample, machine, pid, tid, 0); in print_event() [all …]
|
/kernel/linux/linux-5.10/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 | 100 struct perf_tool *tool, 183 session->tool, event->file_offset); in ordered_events__deliver_event() 187 bool repipe, struct perf_tool *tool) in perf_session__new() argument 196 session->tool = tool; in perf_session__new() 257 if ((!data || !data->is_pipe) && tool && tool->ordering_requires_timestamps && in perf_session__new() 258 tool->ordered_events && !evlist__sample_id_all(session->evlist)) { in perf_session__new() 260 tool->ordered_events = false; in perf_session__new() 316 static int process_event_synth_attr_stub(struct perf_tool *tool __maybe_unused, in process_event_synth_attr_stub() 325 static int process_event_synth_event_update_stub(struct perf_tool *tool __maybe_unused, in process_event_synth_event_update_stub() 337 static int process_event_sample_stub(struct perf_tool *tool __maybe_unused, in process_event_sample_stub() [all …]
|
D | synthetic-events.c | 50 int perf_tool__process_synth_event(struct perf_tool *tool, in perf_tool__process_synth_event() argument 65 return process(tool, event, &synth_sample, machine); in perf_tool__process_synth_event() 176 pid_t perf_event__synthesize_comm(struct perf_tool *tool, in perf_event__synthesize_comm() argument 186 if (perf_tool__process_synth_event(tool, event, machine, process) != 0) in perf_event__synthesize_comm() 205 int perf_event__synthesize_namespaces(struct perf_tool *tool, in perf_event__synthesize_namespaces() argument 214 if (!tool || !tool->namespace_events) in perf_event__synthesize_namespaces() 238 if (perf_tool__process_synth_event(tool, event, machine, process) != 0) in perf_event__synthesize_namespaces() 244 static int perf_event__synthesize_fork(struct perf_tool *tool, in perf_event__synthesize_fork() argument 271 if (perf_tool__process_synth_event(tool, event, machine, process) != 0) in perf_event__synthesize_fork() 350 int perf_event__synthesize_mmap_events(struct perf_tool *tool, in perf_event__synthesize_mmap_events() argument [all …]
|
D | event.h | 298 int perf_event__process_comm(struct perf_tool *tool, 302 int perf_event__process_lost(struct perf_tool *tool, 306 int perf_event__process_lost_samples(struct perf_tool *tool, 310 int perf_event__process_aux(struct perf_tool *tool, 314 int perf_event__process_itrace_start(struct perf_tool *tool, 318 int perf_event__process_switch(struct perf_tool *tool, 322 int perf_event__process_namespaces(struct perf_tool *tool, 326 int perf_event__process_cgroup(struct perf_tool *tool, 330 int perf_event__process_mmap(struct perf_tool *tool, 334 int perf_event__process_mmap2(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,
|
/kernel/linux/linux-4.19/tools/perf/util/ |
D | session.c | 31 struct perf_tool *tool, 114 session->tool, event->file_offset); in ordered_events__deliver_event() 118 bool repipe, struct perf_tool *tool) in perf_session__new() argument 126 session->tool = tool; in perf_session__new() 170 if ((!data || !data->is_pipe) && tool && tool->ordering_requires_timestamps && in perf_session__new() 171 tool->ordered_events && !perf_evlist__sample_id_all(session->evlist)) { in perf_session__new() 173 tool->ordered_events = false; in perf_session__new() 206 static int process_event_synth_tracing_data_stub(struct perf_tool *tool in process_event_synth_tracing_data_stub() 217 static int process_event_synth_attr_stub(struct perf_tool *tool __maybe_unused, in process_event_synth_attr_stub() 226 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 | 146 struct perf_tool *tool); 149 struct perf_tool *tool); 151 struct perf_tool *tool); 439 typedef int (*process_auxtrace_t)(struct perf_tool *tool, 444 struct perf_tool *tool, process_auxtrace_t fn); 448 struct perf_tool *tool, process_auxtrace_t fn, 520 struct perf_tool *tool, 523 int perf_event__process_auxtrace_info(struct perf_tool *tool, 526 s64 perf_event__process_auxtrace(struct perf_tool *tool, 529 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,
|
/kernel/linux/linux-4.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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-4.19/drivers/input/tablet/ |
D | wacom_serial4.c | 178 unsigned int tool; member 317 unsigned int tool; in wacom_handle_packet() local 338 tool = (button & wacom->eraser_mask) ? ERASER : STYLUS; in wacom_handle_packet() 340 tool = CURSOR; in wacom_handle_packet() 342 if (tool != wacom->tool && wacom->tool != 0) { in wacom_handle_packet() 343 input_report_key(wacom->dev, tools[wacom->tool].input_id, 0); in wacom_handle_packet() 346 wacom->tool = tool; in wacom_handle_packet() 348 input_report_key(wacom->dev, tools[tool].input_id, in_proximity_p); in wacom_handle_packet() 350 in_proximity_p ? tools[tool].device_id : 0); in wacom_handle_packet() 537 wacom->tool = wacom->idx = 0; in wacom_connect()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-4.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
|
/kernel/linux/linux-5.10/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
|