Home
last modified time | relevance | path

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

12345678910>>...14

/kernel/linux/linux-5.10/tools/perf/
Dbuiltin-inject.c38 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 …]
Dbuiltin-record.c89 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 …]
Dbuiltin-script.c121 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 …]
Dbuiltin-report.c71 struct perf_tool tool; member
220 struct report *rep = container_of(session->tool, struct report, tool); in process_feature_event()
240 static int process_sample_event(struct perf_tool *tool, in process_sample_event() argument
246 struct report *rep = container_of(tool, struct report, tool); in process_sample_event()
314 static int process_read_event(struct perf_tool *tool, in process_read_event() argument
320 struct report *rep = container_of(tool, struct report, tool); in process_read_event()
732 memset(&rep->tool, 0, sizeof(rep->tool)); in stats_setup()
733 rep->tool.no_warn = true; in stats_setup()
746 memset(&rep->tool, 0, sizeof(rep->tool)); in tasks_setup()
747 rep->tool.ordered_events = true; in tasks_setup()
[all …]
Dbuiltin-mem.c26 struct perf_tool tool; member
143 dump_raw_samples(struct perf_tool *tool, in dump_raw_samples() argument
148 struct perf_mem *mem = container_of(tool, struct perf_mem, tool); in dump_raw_samples()
223 static int process_sample_event(struct perf_tool *tool, in process_sample_event() argument
229 return dump_raw_samples(tool, event, sample, machine); in process_sample_event()
241 &mem->tool); in report_raw_events()
382 .tool = { in cmd_mem()
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-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, 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 …]
/kernel/linux/linux-5.10/tools/perf/util/
Dsynthetic-events.h29 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 …]
Dsession.c100 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 …]
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()
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 …]
Devent.h298 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 …]
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,
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.h185 struct perf_tool *tool);
188 struct perf_tool *tool);
195 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,
612 struct perf_sample *sample, struct perf_tool *tool);
615 int auxtrace__flush_events(struct perf_session *session, struct perf_tool *tool);
745 struct perf_tool *tool __maybe_unused) in auxtrace__process_event()
758 struct perf_tool *tool __maybe_unused) in auxtrace__flush_events()
Dbpf-event.c172 struct perf_tool *tool = session->tool; in perf_event__synthesize_one_bpf_prog() local
256 err = perf_tool__process_synth_event(tool, event, in perf_event__synthesize_one_bpf_prog()
290 err = perf_tool__process_synth_event(tool, event, in perf_event__synthesize_one_bpf_prog()
304 struct perf_tool *tool; member
333 return perf_tool__process_synth_event(data->tool, event, machine, in process_bpf_image()
427 .tool = session->tool, in perf_event__synthesize_bpf_events()
Dsession.h38 struct perf_tool *tool; member
58 bool repipe, struct perf_tool *tool);
78 void perf_tool__fill_defaults(struct perf_tool *tool);
Djitdump.c65 struct perf_tool tool; member
72 #define get_jit_tool(t) (container_of(tool, struct jit_tool, tool))
405 struct perf_tool *tool = jd->session->tool; in jit_repipe_code_load() local
503 ret = perf_event__process_mmap2(tool, event, &sample, jd->machine); in jit_repipe_code_load()
512 build_id__mark_dso_hit(tool, event, &sample, NULL, jd->machine); in jit_repipe_code_load()
521 struct perf_tool *tool = jd->session->tool; in jit_repipe_code_move() local
595 ret = perf_event__process_mmap2(tool, event, &sample, jd->machine); in jit_repipe_code_move()
601 build_id__mark_dso_hit(tool, event, &sample, NULL, jd->machine); in jit_repipe_code_move()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/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…
/kernel/uniproton/build/uniproton_ci_lib/
Dget_config_info.py82 for tool in tool_list:
83 if getNodeAtrrValue(tool, "tool_name") == tool_name:
84 return getChildNodeValueByNodeName(tool, node_name)
/kernel/linux/linux-5.10/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]_.
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 …]
/kernel/linux/linux-5.10/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