/linux/tools/perf/ |
A D | builtin-inject.c | 39 struct perf_tool tool; member 84 tool); in perf_event__repipe_synth() 123 tool); in perf_event__repipe_attr() 167 struct perf_tool *tool = session->tool; in perf_event__repipe_auxtrace() local 169 tool); in perf_event__repipe_auxtrace() 235 struct perf_inject *inject = container_of(tool, struct perf_inject, tool); in perf_event__drop_aux() 278 tool); in perf_event__repipe_sample() 312 struct perf_inject *inject = container_of(tool, struct perf_inject, tool); in perf_event__jit_repipe_mmap() 425 struct perf_inject *inject = container_of(tool, struct perf_inject, tool); in perf_event__jit_repipe_mmap2() 805 memset(&inject->tool, 0, sizeof(inject->tool)); in __cmd_inject() [all …]
|
A D | builtin-report.c | 71 struct perf_tool tool; member 227 struct report *rep = container_of(session->tool, struct report, tool); in process_feature_event() 255 struct report *rep = container_of(tool, struct report, tool); in process_sample_event() 329 struct report *rep = container_of(tool, struct report, tool); in process_read_event() 741 memset(&rep->tool, 0, sizeof(rep->tool)); in stats_setup() 742 rep->tool.attr = process_attr; in stats_setup() 744 rep->tool.no_warn = true; in stats_setup() 758 memset(&rep->tool, 0, sizeof(rep->tool)); in tasks_setup() 764 rep->tool.attr = process_attr; in tasks_setup() 768 rep->tool.no_warn = true; in tasks_setup() [all …]
|
A D | builtin-record.c | 91 struct perf_tool tool; member 517 struct record *rec = container_of(tool, struct record, tool); in process_synthesized_event() 601 struct record *rec = container_of(tool, struct record, tool); in record__process_auxtrace() 989 struct record *rec = container_of(tool, struct record, tool); in process_sample_event() 1025 rec->tool.sample = NULL; in process_buildids() 1033 struct perf_tool *tool = data; in perf_event__synthesize_guest_os() local 1392 struct perf_tool *tool = &rec->tool; in record__synthesize() local 1627 struct perf_tool *tool = &rec->tool; in __cmd_record() local 1647 tool->cgroup_events = true; in __cmd_record() 2397 struct record *rec = container_of(tool, struct record, tool); in process_timestamp_boundary() [all …]
|
A D | builtin-script.c | 129 struct perf_tool tool; member 2192 struct perf_script *scr = container_of(tool, struct perf_script, tool); in process_sample_event() 2273 struct perf_script *scr = container_of(tool, struct perf_script, tool); in process_attr() 2344 struct perf_script *script = container_of(tool, struct perf_script, tool); in print_event_with_time() 2471 struct perf_script *script = container_of(tool, struct perf_script, tool); in process_switch_event() 3532 struct perf_tool *tool = session->tool; in process_thread_map_event() local 3533 struct perf_script *script = container_of(tool, struct perf_script, tool); in process_thread_map_event() 3551 struct perf_tool *tool = session->tool; in process_cpu_map_event() local 3552 struct perf_script *script = container_of(tool, struct perf_script, tool); in process_cpu_map_event() 3578 struct perf_tool *tool = session->tool; in perf_script__process_auxtrace_info() local [all …]
|
A D | builtin-sched.c | 181 struct perf_tool tool; member 1489 struct perf_sched *sched = container_of(tool, struct perf_sched, tool); in process_sched_wakeup_event() 1674 struct perf_sched *sched = container_of(tool, struct perf_sched, tool); in process_sched_switch_event() 1700 struct perf_sched *sched = container_of(tool, struct perf_sched, tool); in process_sched_runtime_event() 1713 struct perf_sched *sched = container_of(tool, struct perf_sched, tool); in perf_sched__process_fork_event() 1730 struct perf_sched *sched = container_of(tool, struct perf_sched, tool); in process_sched_migrate_task_event() 2419 struct perf_sched *sched = container_of(tool, struct perf_sched, tool); in timehist_sched_wakeup_event() 2503 struct perf_sched *sched = container_of(tool, struct perf_sched, tool); in timehist_migrate_task_event() 2531 struct perf_sched *sched = container_of(tool, struct perf_sched, tool); in timehist_sched_change_event() 2936 struct perf_sched *sched = container_of(tool, struct perf_sched, tool); in perf_timehist__process_sample() [all …]
|
A D | builtin-mem.c | 29 struct perf_tool tool; member 183 dump_raw_samples(struct perf_tool *tool, in dump_raw_samples() argument 188 struct perf_mem *mem = container_of(tool, struct perf_mem, tool); in dump_raw_samples() 251 static int process_sample_event(struct perf_tool *tool, in process_sample_event() argument 257 return dump_raw_samples(tool, event, sample, machine); in process_sample_event() 274 struct perf_session *session = perf_session__new(&data, &mem->tool); in report_raw_events() 438 .tool = { in cmd_mem()
|
A 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() 687 tool); in process_sample_event() 1095 kvm->tool = eops; in read_events() 1385 kvm->tool.sample = process_sample_event; in kvm_events_live() 1386 kvm->tool.comm = perf_event__process_comm; in kvm_events_live() 1387 kvm->tool.exit = perf_event__process_exit; in kvm_events_live() 1388 kvm->tool.fork = perf_event__process_fork; in kvm_events_live() 1389 kvm->tool.lost = process_lost_event; in kvm_events_live() 1391 kvm->tool.ordered_events = true; in kvm_events_live() [all …]
|
/linux/tools/perf/util/ |
A D | synthetic-events.h | 42 typedef int (*perf_event__handler_t)(struct perf_tool *tool, union perf_event *event, 45 int perf_event__synthesize_attrs(struct perf_tool *tool, struct evlist *evlist, perf_event__handler… 49 int perf_event__synthesize_event_update_cpus(struct perf_tool *tool, struct evsel *evsel, perf_even… 54 int perf_event__synthesize_extra_kmaps(struct perf_tool *tool, perf_event__handler_t process, struc… 57 int perf_event__synthesize_kernel_mmap(struct perf_tool *tool, perf_event__handler_t process, struc… 59 int perf_event__synthesize_modules(struct perf_tool *tool, perf_event__handler_t process, struct ma… 61 int perf_event__synthesize_cgroups(struct perf_tool *tool, perf_event__handler_t process, struct ma… 78 int __machine__synthesize_threads(struct machine *machine, struct perf_tool *tool, 87 int perf_event__synthesize_auxtrace_info(struct auxtrace_record *itr, struct perf_tool *tool, 96 struct perf_tool *tool __maybe_unused, in perf_event__synthesize_auxtrace_info() [all …]
|
A D | session.c | 198 session->tool = tool; in __perf_session__new() 1512 return tool->mmap(tool, event, sample, machine); in machines__deliver_event() 1518 return tool->comm(tool, event, sample, machine); in machines__deliver_event() 1551 return tool->aux(tool, event, sample, machine); in machines__deliver_event() 1560 return tool->bpf(tool, event, sample, machine); in machines__deliver_event() 1604 struct perf_tool *tool = session->tool; in perf_session__process_user_event() local 1642 return tool->finished_round(tool, event, oe); in perf_session__process_user_event() 1684 struct perf_tool *tool = session->tool; in perf_session__deliver_synth_event() local 1791 struct perf_tool *tool = session->tool; in perf_session__process_event() local 1978 struct perf_tool *tool = session->tool; in __perf_session__process_pipe_events() local [all …]
|
A D | synthetic-events.c | 230 if (!tool || !tool->namespace_events) in perf_event__synthesize_namespaces() 611 if (!tool || !tool->cgroup_events) in perf_event__synthesize_cgroups() 839 process, tool, machine, in perf_event__synthesize_thread_map() 865 process, tool, machine, in perf_event__synthesize_thread_map() 947 struct perf_tool *tool; member 1020 args[i].tool = tool; in perf_event__synthesize_threads() 1775 err = process(tool, ev, NULL, machine); in perf_event__synthesize_id_index() 2012 err = process(tool, ev, NULL, NULL); in perf_event__synthesize_attr() 2053 process(tool, &ev, NULL, NULL); in perf_event__synthesize_tracing_data() 2088 return process(tool, &ev, NULL, machine); in perf_event__synthesize_build_id() [all …]
|
A D | event.h | 316 int perf_event__process_comm(struct perf_tool *tool, 320 int perf_event__process_lost(struct perf_tool *tool, 328 int perf_event__process_aux(struct perf_tool *tool, 340 int perf_event__process_switch(struct perf_tool *tool, 348 int perf_event__process_cgroup(struct perf_tool *tool, 352 int perf_event__process_mmap(struct perf_tool *tool, 356 int perf_event__process_mmap2(struct perf_tool *tool, 360 int perf_event__process_fork(struct perf_tool *tool, 364 int perf_event__process_exit(struct perf_tool *tool, 372 int perf_event__process_bpf(struct perf_tool *tool, [all …]
|
A D | data-convert-json.c | 31 struct perf_tool tool; member 117 static void output_sample_callchain_entry(struct perf_tool *tool, in output_sample_callchain_entry() argument 120 struct convert_json *c = container_of(tool, struct convert_json, tool); in output_sample_callchain_entry() 143 static int process_sample_event(struct perf_tool *tool, in process_sample_event() argument 149 struct convert_json *c = container_of(tool, struct convert_json, tool); in process_sample_event() 210 output_sample_callchain_entry(tool, ip, ok ? &tal : NULL); in process_sample_event() 213 output_sample_callchain_entry(tool, sample->ip, &al); in process_sample_event() 283 .tool = { in bt_convert__perf2json() 337 session = perf_session__new(&data, &c.tool); in bt_convert__perf2json()
|
A D | event.c | 193 int perf_event__process_comm(struct perf_tool *tool __maybe_unused, in perf_event__process_comm() 209 int perf_event__process_cgroup(struct perf_tool *tool __maybe_unused, in perf_event__process_cgroup() 217 int perf_event__process_lost(struct perf_tool *tool __maybe_unused, in perf_event__process_lost() 225 int perf_event__process_aux(struct perf_tool *tool __maybe_unused, in perf_event__process_aux() 257 int perf_event__process_switch(struct perf_tool *tool __maybe_unused, in perf_event__process_switch() 273 int perf_event__process_bpf(struct perf_tool *tool __maybe_unused, in perf_event__process_bpf() 364 int perf_event__process_mmap(struct perf_tool *tool __maybe_unused, in perf_event__process_mmap() 372 int perf_event__process_mmap2(struct perf_tool *tool __maybe_unused, in perf_event__process_mmap2() 387 int perf_event__process_fork(struct perf_tool *tool __maybe_unused, in perf_event__process_fork() 395 int perf_event__process_exit(struct perf_tool *tool __maybe_unused, in perf_event__process_exit() [all …]
|
A 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,
|
A D | session.h | 44 struct perf_tool *tool; member 65 struct perf_tool *tool); 68 struct perf_tool *tool) in perf_session__new() argument 70 return __perf_session__new(data, false, -1, tool); in perf_session__new() 92 void perf_tool__fill_defaults(struct perf_tool *tool);
|
A D | auxtrace.h | 198 struct perf_tool *tool); 201 struct perf_tool *tool); 208 struct perf_tool *tool); 493 typedef int (*process_auxtrace_t)(struct perf_tool *tool, 499 struct perf_tool *tool, process_auxtrace_t fn); 503 struct perf_tool *tool, process_auxtrace_t fn, 619 struct perf_sample *sample, struct perf_tool *tool); 622 int auxtrace__flush_events(struct perf_session *session, struct perf_tool *tool); 785 struct perf_tool *tool __maybe_unused) in auxtrace__process_event() 798 struct perf_tool *tool __maybe_unused) in auxtrace__flush_events()
|
A D | bpf-event.c | 208 struct perf_tool *tool = session->tool; in perf_event__synthesize_one_bpf_prog() local 300 err = perf_tool__process_synth_event(tool, event, in perf_event__synthesize_one_bpf_prog() 334 err = perf_tool__process_synth_event(tool, event, in perf_event__synthesize_one_bpf_prog() 348 struct perf_tool *tool; member 377 return perf_tool__process_synth_event(data->tool, event, machine, in process_bpf_image() 471 .tool = session->tool, in perf_event__synthesize_bpf_events()
|
A D | jitdump.c | 67 struct perf_tool tool; member 74 #define get_jit_tool(t) (container_of(tool, struct jit_tool, tool)) 432 struct perf_tool *tool = jd->session->tool; in jit_repipe_code_load() local 531 ret = perf_event__process_mmap2(tool, event, &sample, jd->machine); in jit_repipe_code_load() 540 build_id__mark_dso_hit(tool, event, &sample, NULL, jd->machine); in jit_repipe_code_load() 549 struct perf_tool *tool = jd->session->tool; in jit_repipe_code_move() local 624 ret = perf_event__process_mmap2(tool, event, &sample, jd->machine); in jit_repipe_code_move() 630 build_id__mark_dso_hit(tool, event, &sample, NULL, jd->machine); in jit_repipe_code_move()
|
/linux/tools/perf/tests/ |
A 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()
|
A D | stat.c | 24 static int process_stat_config_event(struct perf_tool *tool __maybe_unused, in process_stat_config_event() 65 static int process_stat_event(struct perf_tool *tool __maybe_unused, in process_stat_event() 95 static int process_stat_round_event(struct perf_tool *tool __maybe_unused, in process_stat_round_event()
|
A D | dlfilter-test.c | 40 struct perf_tool tool; member 60 static int process(struct perf_tool *tool, union perf_event *event, in process() argument 64 struct test_data *td = container_of(tool, struct test_data, tool); in process() 117 return perf_event__synthesize_attr(&td->tool, &attr, 1, id, process); in write_attr() 192 err = process(&td->tool, event, &sample, td->machine); in write_sample()
|
/linux/drivers/input/tablet/ |
A 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/Documentation/s390/ |
A 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/arch/mips/ |
A D | Makefile | 28 32bit-tool-archpref = mipsel 29 64bit-tool-archpref = mips64el 35 32bit-tool-archpref = mips 36 64bit-tool-archpref = mips64 44 tool-archpref = $(32bit-tool-archpref) 48 tool-archpref = $(64bit-tool-archpref) 54 …CROSS_COMPILE := $(call cc-cross-prefix, $(tool-archpref)-linux- $(tool-archpref)-linux-gnu- $(t…
|
/linux/Documentation/input/ |
A 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 251 tool. Omit if circular [#f4]_. 300 The surface X coordinate of the center of the approaching tool. Omit if 302 tool itself. 306 device cannot distinguish between the intended touch point and the tool 311 tool axis points towards the touch point [#f1]_. Otherwise, the tool axes are 367 ellipse and the tool ellipse, so one has to resort to approximations. One 377 ellipse, so approximate it with an inscribed circle instead. The tool [all …]
|