Home
last modified time | relevance | path

Searched refs:tool (Results 1 – 25 of 341) sorted by relevance

12345678910>>...14

/Linux-v5.15/tools/perf/
Dbuiltin-inject.c39 struct perf_tool tool; member
65 static int dso__inject_build_id(struct dso *dso, struct perf_tool *tool,
80 static int perf_event__repipe_synth(struct perf_tool *tool, in perf_event__repipe_synth() argument
83 struct perf_inject *inject = container_of(tool, struct perf_inject, in perf_event__repipe_synth()
84 tool); in perf_event__repipe_synth()
89 static int perf_event__repipe_oe_synth(struct perf_tool *tool, in perf_event__repipe_oe_synth() argument
93 return perf_event__repipe_synth(tool, event); in perf_event__repipe_oe_synth()
97 static int perf_event__drop_oe(struct perf_tool *tool __maybe_unused, in perf_event__drop_oe()
108 return perf_event__repipe_synth(session->tool, event); in perf_event__repipe_op2_synth()
115 return perf_event__repipe_synth(session->tool, event); in perf_event__repipe_op4_synth()
[all …]
Dbuiltin-report.c71 struct perf_tool tool; member
227 struct report *rep = container_of(session->tool, struct report, tool); in process_feature_event()
249 static int process_sample_event(struct perf_tool *tool, in process_sample_event() argument
255 struct report *rep = container_of(tool, struct report, tool); in process_sample_event()
323 static int process_read_event(struct perf_tool *tool, in process_read_event() argument
329 struct report *rep = container_of(tool, struct report, tool); in process_read_event()
720 static int count_sample_event(struct perf_tool *tool __maybe_unused, in count_sample_event()
732 static int process_attr(struct perf_tool *tool __maybe_unused,
738 memset(&rep->tool, 0, sizeof(rep->tool)); in stats_setup()
739 rep->tool.attr = process_attr; in stats_setup()
[all …]
Dbuiltin-record.c91 struct perf_tool tool; member
512 static int process_synthesized_event(struct perf_tool *tool, in process_synthesized_event() argument
517 struct record *rec = container_of(tool, struct record, tool); in process_synthesized_event()
521 static int process_locked_synthesized_event(struct perf_tool *tool, in process_locked_synthesized_event() argument
530 ret = process_synthesized_event(tool, event, sample, machine); in process_locked_synthesized_event()
596 static int record__process_auxtrace(struct perf_tool *tool, in record__process_auxtrace() argument
601 struct record *rec = container_of(tool, struct record, tool); in record__process_auxtrace()
639 ret = auxtrace_mmap__read(map, rec->itr, &rec->tool, in record__auxtrace_mmap_read()
655 ret = auxtrace_mmap__read_snapshot(map, rec->itr, &rec->tool, in record__auxtrace_mmap_read_snapshot()
983 static int process_sample_event(struct perf_tool *tool, in process_sample_event() argument
[all …]
Dbuiltin-script.c128 struct perf_tool tool; member
2176 static int process_sample_event(struct perf_tool *tool, in process_sample_event() argument
2182 struct perf_script *scr = container_of(tool, struct perf_script, tool); in process_sample_event()
2260 static int process_attr(struct perf_tool *tool, union perf_event *event, in process_attr() argument
2263 struct perf_script *scr = container_of(tool, struct perf_script, tool); in process_attr()
2270 err = perf_event__process_attr(tool, event, pevlist); in process_attr()
2328 static int print_event_with_time(struct perf_tool *tool, in print_event_with_time() argument
2334 struct perf_script *script = container_of(tool, struct perf_script, tool); in print_event_with_time()
2364 static int print_event(struct perf_tool *tool, union perf_event *event, in print_event() argument
2368 return print_event_with_time(tool, event, sample, machine, pid, tid, 0); in print_event()
[all …]
Dbuiltin-sched.c181 struct perf_tool tool; member
1484 static int process_sched_wakeup_event(struct perf_tool *tool, in process_sched_wakeup_event() argument
1489 struct perf_sched *sched = container_of(tool, struct perf_sched, tool); in process_sched_wakeup_event()
1669 static int process_sched_switch_event(struct perf_tool *tool, in process_sched_switch_event() argument
1674 struct perf_sched *sched = container_of(tool, struct perf_sched, tool); in process_sched_switch_event()
1695 static int process_sched_runtime_event(struct perf_tool *tool, in process_sched_runtime_event() argument
1700 struct perf_sched *sched = container_of(tool, struct perf_sched, tool); in process_sched_runtime_event()
1708 static int perf_sched__process_fork_event(struct perf_tool *tool, in perf_sched__process_fork_event() argument
1713 struct perf_sched *sched = container_of(tool, struct perf_sched, tool); in perf_sched__process_fork_event()
1716 perf_event__process_fork(tool, event, sample, machine); in perf_sched__process_fork_event()
[all …]
Dbuiltin-mem.c29 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()
Dbuiltin-kvm.c657 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, &kvm->tool); 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()
[all …]
/Linux-v5.15/tools/perf/util/
Dsynthetic-events.h30 typedef int (*perf_event__handler_t)(struct perf_tool *tool, union perf_event *event,
33 int perf_event__synthesize_attrs(struct perf_tool *tool, struct evlist *evlist, perf_event__handler…
34 int perf_event__synthesize_attr(struct perf_tool *tool, struct perf_event_attr *attr, u32 ids, u64 …
35 int perf_event__synthesize_build_id(struct perf_tool *tool, struct dso *pos, u16 misc, perf_event__…
36 int perf_event__synthesize_cpu_map(struct perf_tool *tool, struct perf_cpu_map *cpus, perf_event__h…
37 int perf_event__synthesize_event_update_cpus(struct perf_tool *tool, struct evsel *evsel, perf_even…
38 int perf_event__synthesize_event_update_name(struct perf_tool *tool, struct evsel *evsel, perf_even…
39 int perf_event__synthesize_event_update_scale(struct perf_tool *tool, struct evsel *evsel, perf_eve…
40 int perf_event__synthesize_event_update_unit(struct perf_tool *tool, struct evsel *evsel, perf_even…
41 int perf_event__synthesize_extra_attr(struct perf_tool *tool, struct evlist *evsel_list, perf_event…
[all …]
Dsession.c102 struct perf_tool *tool,
185 session->tool, event->file_offset); in ordered_events__deliver_event()
190 struct perf_tool *tool) in __perf_session__new() argument
199 session->tool = tool; in __perf_session__new()
260 if ((!data || !data->is_pipe) && tool && tool->ordering_requires_timestamps && in __perf_session__new()
261 tool->ordered_events && !evlist__sample_id_all(session->evlist)) { in __perf_session__new()
263 tool->ordered_events = false; in __perf_session__new()
323 static int process_event_synth_attr_stub(struct perf_tool *tool __maybe_unused, in process_event_synth_attr_stub()
332 static int process_event_synth_event_update_stub(struct perf_tool *tool __maybe_unused, in process_event_synth_event_update_stub()
344 static int process_event_sample_stub(struct perf_tool *tool __maybe_unused, in process_event_sample_stub()
[all …]
Dsynthetic-events.c50 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()
190 pid_t perf_event__synthesize_comm(struct perf_tool *tool, in perf_event__synthesize_comm() argument
202 if (perf_tool__process_synth_event(tool, event, machine, process) != 0) in perf_event__synthesize_comm()
221 int perf_event__synthesize_namespaces(struct perf_tool *tool, in perf_event__synthesize_namespaces() argument
230 if (!tool || !tool->namespace_events) in perf_event__synthesize_namespaces()
254 if (perf_tool__process_synth_event(tool, event, machine, process) != 0) in perf_event__synthesize_namespaces()
260 static int perf_event__synthesize_fork(struct perf_tool *tool, in perf_event__synthesize_fork() argument
287 if (perf_tool__process_synth_event(tool, event, machine, process) != 0) in perf_event__synthesize_fork()
391 int perf_event__synthesize_mmap_events(struct perf_tool *tool, in perf_event__synthesize_mmap_events() argument
[all …]
Devent.h313 int perf_event__process_comm(struct perf_tool *tool,
317 int perf_event__process_lost(struct perf_tool *tool,
321 int perf_event__process_lost_samples(struct perf_tool *tool,
325 int perf_event__process_aux(struct perf_tool *tool,
329 int perf_event__process_itrace_start(struct perf_tool *tool,
333 int perf_event__process_switch(struct perf_tool *tool,
337 int perf_event__process_namespaces(struct perf_tool *tool,
341 int perf_event__process_cgroup(struct perf_tool *tool,
345 int perf_event__process_mmap(struct perf_tool *tool,
349 int perf_event__process_mmap2(struct perf_tool *tool,
[all …]
Ddata-convert-json.c31 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()
Dtool.h18 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,
Dsession.h38 struct perf_tool *tool; member
59 struct perf_tool *tool);
62 struct perf_tool *tool) in perf_session__new() argument
64 return __perf_session__new(data, false, -1, tool); in perf_session__new()
86 void perf_tool__fill_defaults(struct perf_tool *tool);
Devent.c192 int perf_event__process_comm(struct perf_tool *tool __maybe_unused, in perf_event__process_comm()
200 int perf_event__process_namespaces(struct perf_tool *tool __maybe_unused, in perf_event__process_namespaces()
208 int perf_event__process_cgroup(struct perf_tool *tool __maybe_unused, in perf_event__process_cgroup()
216 int perf_event__process_lost(struct perf_tool *tool __maybe_unused, in perf_event__process_lost()
224 int perf_event__process_aux(struct perf_tool *tool __maybe_unused, in perf_event__process_aux()
232 int perf_event__process_itrace_start(struct perf_tool *tool __maybe_unused, in perf_event__process_itrace_start()
240 int perf_event__process_lost_samples(struct perf_tool *tool __maybe_unused, in perf_event__process_lost_samples()
248 int perf_event__process_switch(struct perf_tool *tool __maybe_unused, in perf_event__process_switch()
256 int perf_event__process_ksymbol(struct perf_tool *tool __maybe_unused, in perf_event__process_ksymbol()
264 int perf_event__process_bpf(struct perf_tool *tool __maybe_unused, in perf_event__process_bpf()
[all …]
Dauxtrace.h195 struct perf_tool *tool);
198 struct perf_tool *tool);
205 struct perf_tool *tool);
490 typedef int (*process_auxtrace_t)(struct perf_tool *tool,
496 struct perf_tool *tool, process_auxtrace_t fn);
500 struct perf_tool *tool, process_auxtrace_t fn,
616 struct perf_sample *sample, struct perf_tool *tool);
619 int auxtrace__flush_events(struct perf_session *session, struct perf_tool *tool);
779 struct perf_tool *tool __maybe_unused) in auxtrace__process_event()
792 struct perf_tool *tool __maybe_unused) in auxtrace__flush_events()
Dbpf-event.c179 struct perf_tool *tool = session->tool; in perf_event__synthesize_one_bpf_prog() local
270 err = perf_tool__process_synth_event(tool, event, in perf_event__synthesize_one_bpf_prog()
304 err = perf_tool__process_synth_event(tool, event, in perf_event__synthesize_one_bpf_prog()
318 struct perf_tool *tool; member
347 return perf_tool__process_synth_event(data->tool, event, machine, in process_bpf_image()
441 .tool = session->tool, in perf_event__synthesize_bpf_events()
/Linux-v5.15/tools/perf/tests/
Devent_update.c15 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()
Dstat.c24 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()
Ddlfilter-test.c40 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-v5.15/drivers/input/tablet/
Dwacom_serial4.c173 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.15/Documentation/s390/
Dzfcpdump.rst2 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.15/arch/mips/
DMakefile29 32bit-tool-archpref = mipsel
30 64bit-tool-archpref = mips64el
36 32bit-tool-archpref = mips
37 64bit-tool-archpref = mips64
45 tool-archpref = $(32bit-tool-archpref)
49 tool-archpref = $(64bit-tool-archpref)
55 …CROSS_COMPILE := $(call cc-cross-prefix, $(tool-archpref)-linux- $(tool-archpref)-linux-gnu- $(t…
/Linux-v5.15/Documentation/input/
Dmulti-touch-protocol.rst174 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]_.
300 The surface X coordinate of the center of the approaching tool. Omit if
302 tool itself.
305 The surface Y coordinate of the center of the approaching tool. Omit if the
306 device cannot distinguish between the intended touch point and the tool
310 from the position of the tool. If both positions are present, the major
[all …]
/Linux-v5.15/drivers/gpu/drm/i915/gt/shaders/
DREADME21 IGT GPU tool scripts and the Mesa's i965 instruction assembler tool are used
24 Please make sure your Mesa tool is compiled with "-Dtools=intel" and

12345678910>>...14