Home
last modified time | relevance | path

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

12345678910>>...16

/Linux-v6.1/tools/perf/util/
Dsynthetic-events.h43 typedef int (*perf_event__handler_t)(struct perf_tool *tool, union perf_event *event,
46 int perf_event__synthesize_attrs(struct perf_tool *tool, struct evlist *evlist, perf_event__handler…
47 int perf_event__synthesize_attr(struct perf_tool *tool, struct perf_event_attr *attr, u32 ids, u64 …
48 int perf_event__synthesize_build_id(struct perf_tool *tool, struct dso *pos, u16 misc, perf_event__…
49 int perf_event__synthesize_cpu_map(struct perf_tool *tool, const struct perf_cpu_map *cpus, perf_ev…
50 int perf_event__synthesize_event_update_cpus(struct perf_tool *tool, struct evsel *evsel, perf_even…
51 int perf_event__synthesize_event_update_name(struct perf_tool *tool, struct evsel *evsel, perf_even…
52 int perf_event__synthesize_event_update_scale(struct perf_tool *tool, struct evsel *evsel, perf_eve…
53 int perf_event__synthesize_event_update_unit(struct perf_tool *tool, struct evsel *evsel, perf_even…
54 int perf_event__synthesize_extra_attr(struct perf_tool *tool, struct evlist *evsel_list, perf_event…
[all …]
Dsession.c104 struct perf_tool *tool,
188 session->tool, event->file_offset, in ordered_events__deliver_event()
194 struct perf_tool *tool) in __perf_session__new() argument
203 session->tool = tool; in __perf_session__new()
266 if ((!data || !data->is_pipe) && tool && tool->ordering_requires_timestamps && in __perf_session__new()
267 tool->ordered_events && !evlist__sample_id_all(session->evlist)) { in __perf_session__new()
269 tool->ordered_events = false; in __perf_session__new()
329 static int process_event_synth_attr_stub(struct perf_tool *tool __maybe_unused, in process_event_synth_attr_stub()
338 static int process_event_synth_event_update_stub(struct perf_tool *tool __maybe_unused, in process_event_synth_event_update_stub()
350 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()
421 int perf_event__synthesize_mmap_events(struct perf_tool *tool, in perf_event__synthesize_mmap_events() argument
[all …]
Devent.h380 int perf_event__process_comm(struct perf_tool *tool,
384 int perf_event__process_lost(struct perf_tool *tool,
388 int perf_event__process_lost_samples(struct perf_tool *tool,
392 int perf_event__process_aux(struct perf_tool *tool,
396 int perf_event__process_itrace_start(struct perf_tool *tool,
400 int perf_event__process_aux_output_hw_id(struct perf_tool *tool,
404 int perf_event__process_switch(struct perf_tool *tool,
408 int perf_event__process_namespaces(struct perf_tool *tool,
412 int perf_event__process_cgroup(struct perf_tool *tool,
416 int perf_event__process_mmap(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()
213 output_sample_callchain_entry(tool, ip, ok ? &tal : NULL); in process_sample_event()
216 output_sample_callchain_entry(tool, sample->ip, &al); in process_sample_event()
286 .tool = { in bt_convert__perf2json()
340 session = perf_session__new(&data, &c.tool); in bt_convert__perf2json()
Dsession.h44 struct perf_tool *tool; member
66 struct perf_tool *tool);
69 struct perf_tool *tool) in perf_session__new() argument
71 return __perf_session__new(data, false, -1, tool); in perf_session__new()
93 void perf_tool__fill_defaults(struct perf_tool *tool);
158 int perf_event__process_finished_round(struct perf_tool *tool,
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,
34 typedef int (*event_oe)(struct perf_tool *tool, union perf_event *event,
Devent.c194 int perf_event__process_comm(struct perf_tool *tool __maybe_unused, in perf_event__process_comm()
202 int perf_event__process_namespaces(struct perf_tool *tool __maybe_unused, in perf_event__process_namespaces()
210 int perf_event__process_cgroup(struct perf_tool *tool __maybe_unused, in perf_event__process_cgroup()
218 int perf_event__process_lost(struct perf_tool *tool __maybe_unused, in perf_event__process_lost()
226 int perf_event__process_aux(struct perf_tool *tool __maybe_unused, in perf_event__process_aux()
234 int perf_event__process_itrace_start(struct perf_tool *tool __maybe_unused, in perf_event__process_itrace_start()
242 int perf_event__process_aux_output_hw_id(struct perf_tool *tool __maybe_unused, in perf_event__process_aux_output_hw_id()
250 int perf_event__process_lost_samples(struct perf_tool *tool __maybe_unused, in perf_event__process_lost_samples()
258 int perf_event__process_switch(struct perf_tool *tool __maybe_unused, in perf_event__process_switch()
266 int perf_event__process_ksymbol(struct perf_tool *tool __maybe_unused, in perf_event__process_ksymbol()
[all …]
/Linux-v6.1/tools/perf/
Dbuiltin-inject.c81 struct perf_tool tool; member
107 struct perf_tool tool; member
137 static int dso__inject_build_id(struct dso *dso, struct perf_tool *tool,
152 static int perf_event__repipe_synth(struct perf_tool *tool, in perf_event__repipe_synth() argument
155 struct perf_inject *inject = container_of(tool, struct perf_inject, in perf_event__repipe_synth()
156 tool); in perf_event__repipe_synth()
161 static int perf_event__repipe_oe_synth(struct perf_tool *tool, in perf_event__repipe_oe_synth() argument
165 return perf_event__repipe_synth(tool, event); in perf_event__repipe_oe_synth()
169 static int perf_event__drop_oe(struct perf_tool *tool __maybe_unused, in perf_event__drop_oe()
180 return perf_event__repipe_synth(session->tool, event); in perf_event__repipe_op2_synth()
[all …]
Dbuiltin-report.c71 struct perf_tool tool; member
233 struct report *rep = container_of(session->tool, struct report, tool); in process_feature_event()
255 static int process_sample_event(struct perf_tool *tool, in process_sample_event() argument
261 struct report *rep = container_of(tool, struct report, tool); in process_sample_event()
329 static int process_read_event(struct perf_tool *tool, in process_read_event() argument
335 struct report *rep = container_of(tool, struct report, tool); in process_read_event()
743 static int count_sample_event(struct perf_tool *tool __maybe_unused, in count_sample_event()
755 static int count_lost_samples_event(struct perf_tool *tool, in count_lost_samples_event() argument
760 struct report *rep = container_of(tool, struct report, tool); in count_lost_samples_event()
771 static int process_attr(struct perf_tool *tool __maybe_unused,
[all …]
Dbuiltin-kwork.c757 static int process_irq_handler_entry_event(struct perf_tool *tool, in process_irq_handler_entry_event() argument
762 struct perf_kwork *kwork = container_of(tool, struct perf_kwork, tool); in process_irq_handler_entry_event()
770 static int process_irq_handler_exit_event(struct perf_tool *tool, in process_irq_handler_exit_event() argument
775 struct perf_kwork *kwork = container_of(tool, struct perf_kwork, tool); in process_irq_handler_exit_event()
828 static int process_softirq_raise_event(struct perf_tool *tool, in process_softirq_raise_event() argument
833 struct perf_kwork *kwork = container_of(tool, struct perf_kwork, tool); in process_softirq_raise_event()
842 static int process_softirq_entry_event(struct perf_tool *tool, in process_softirq_entry_event() argument
847 struct perf_kwork *kwork = container_of(tool, struct perf_kwork, tool); in process_softirq_entry_event()
856 static int process_softirq_exit_event(struct perf_tool *tool, in process_softirq_exit_event() argument
861 struct perf_kwork *kwork = container_of(tool, struct perf_kwork, tool); in process_softirq_exit_event()
[all …]
Dbuiltin-script.c133 struct perf_tool tool; member
2309 static int process_sample_event(struct perf_tool *tool, in process_sample_event() argument
2315 struct perf_script *scr = container_of(tool, struct perf_script, tool); in process_sample_event()
2393 static int process_attr(struct perf_tool *tool, union perf_event *event, in process_attr() argument
2396 struct perf_script *scr = container_of(tool, struct perf_script, tool); in process_attr()
2403 err = perf_event__process_attr(tool, event, pevlist); in process_attr()
2461 static int print_event_with_time(struct perf_tool *tool, in print_event_with_time() argument
2467 struct perf_script *script = container_of(tool, struct perf_script, tool); in print_event_with_time()
2497 static int print_event(struct perf_tool *tool, union perf_event *event, in print_event() argument
2501 return print_event_with_time(tool, event, sample, machine, pid, tid, 0); in print_event()
[all …]
Dbuiltin-sched.c182 struct perf_tool tool; member
1506 static int process_sched_wakeup_event(struct perf_tool *tool, in process_sched_wakeup_event() argument
1511 struct perf_sched *sched = container_of(tool, struct perf_sched, tool); in process_sched_wakeup_event()
1696 static int process_sched_switch_event(struct perf_tool *tool, in process_sched_switch_event() argument
1701 struct perf_sched *sched = container_of(tool, struct perf_sched, tool); in process_sched_switch_event()
1722 static int process_sched_runtime_event(struct perf_tool *tool, in process_sched_runtime_event() argument
1727 struct perf_sched *sched = container_of(tool, struct perf_sched, tool); in process_sched_runtime_event()
1735 static int perf_sched__process_fork_event(struct perf_tool *tool, in perf_sched__process_fork_event() argument
1740 struct perf_sched *sched = container_of(tool, struct perf_sched, tool); in perf_sched__process_fork_event()
1743 perf_event__process_fork(tool, event, sample, machine); in perf_sched__process_fork_event()
[all …]
Dbuiltin-mem.c30 struct perf_tool tool; member
193 dump_raw_samples(struct perf_tool *tool, in dump_raw_samples() argument
198 struct perf_mem *mem = container_of(tool, struct perf_mem, tool); in dump_raw_samples()
261 static int process_sample_event(struct perf_tool *tool, in process_sample_event() argument
267 return dump_raw_samples(tool, event, sample, machine); in process_sample_event()
284 struct perf_session *session = perf_session__new(&data, &mem->tool); in report_raw_events()
448 .tool = { in cmd_mem()
/Linux-v6.1/tools/tracing/rtla/src/
Dosnoise_hist.c119 static void osnoise_hist_update_multiple(struct osnoise_tool *tool, int cpu, in osnoise_hist_update_multiple() argument
122 struct osnoise_hist_params *params = tool->params; in osnoise_hist_update_multiple()
123 struct osnoise_hist_data *data = tool->data; in osnoise_hist_update_multiple()
149 static void osnoise_destroy_trace_hist(struct osnoise_tool *tool) in osnoise_destroy_trace_hist() argument
151 struct osnoise_hist_data *data = tool->data; in osnoise_destroy_trace_hist()
153 tracefs_hist_pause(tool->trace.inst, data->trace_hist); in osnoise_destroy_trace_hist()
154 tracefs_hist_destroy(tool->trace.inst, data->trace_hist); in osnoise_destroy_trace_hist()
160 static int osnoise_init_trace_hist(struct osnoise_tool *tool) in osnoise_init_trace_hist() argument
162 struct osnoise_hist_params *params = tool->params; in osnoise_init_trace_hist()
163 struct osnoise_hist_data *data = tool->data; in osnoise_init_trace_hist()
[all …]
Dosnoise_top.c100 struct osnoise_tool *tool; in osnoise_top_handler() local
106 tool = container_of(trace, struct osnoise_tool, trace); in osnoise_top_handler()
108 data = tool->data; in osnoise_top_handler()
182 static void osnoise_top_print(struct osnoise_tool *tool, int cpu) in osnoise_top_print() argument
184 struct trace_seq *s = tool->trace.seq; in osnoise_top_print()
190 data = tool->data; in osnoise_top_print()
449 osnoise_top_apply_config(struct osnoise_tool *tool, struct osnoise_top_params *params) in osnoise_top_apply_config() argument
457 retval = osnoise_set_cpus(tool->context, params->cpus); in osnoise_top_apply_config()
465 retval = osnoise_set_runtime_period(tool->context, in osnoise_top_apply_config()
475 retval = osnoise_set_stop_us(tool->context, params->stop_us); in osnoise_top_apply_config()
[all …]
Dtimerlat_hist.c141 timerlat_hist_update(struct osnoise_tool *tool, int cpu, in timerlat_hist_update() argument
145 struct timerlat_hist_params *params = tool->params; in timerlat_hist_update()
146 struct timerlat_hist_data *data = tool->data; in timerlat_hist_update()
186 struct osnoise_tool *tool; in timerlat_hist_handler() local
189 tool = container_of(trace, struct osnoise_tool, trace); in timerlat_hist_handler()
194 timerlat_hist_update(tool, cpu, thread, latency); in timerlat_hist_handler()
202 static void timerlat_hist_header(struct osnoise_tool *tool) in timerlat_hist_header() argument
204 struct timerlat_hist_params *params = tool->params; in timerlat_hist_header()
205 struct timerlat_hist_data *data = tool->data; in timerlat_hist_header()
206 struct trace_seq *s = tool->trace.seq; in timerlat_hist_header()
[all …]
/Linux-v6.1/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()
42 struct perf_tool tool; member
46 static int process_event_name(struct perf_tool *tool, in process_event_name() argument
51 struct event_name *tmp = container_of(tool, struct event_name, tool); in process_event_name()
60 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()
/Linux-v6.1/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-v6.1/arch/loongarch/
DMakefile22 64bit-tool-archpref = loongarch64
29 tool-archpref = $(64bit-tool-archpref)
35 …CROSS_COMPILE := $(call cc-cross-prefix, $(tool-archpref)-linux- $(tool-archpref)-linux-gnu- $(t…
/Linux-v6.1/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-v6.1/Documentation/tools/rtla/
Drtla-osnoise-top.rst22 The tool also allows many configurations of the *osnoise* tracer and the
35 In the example below, the **rtla osnoise top** tool is set to run with a
38 the rtla tool. The tool is also set to run for *one minute* and to display
Drtla-osnoise-hist.rst18 The **rtla osnoise hist** tool collects all **osnoise:sample_threshold**
20 The tool also allows many configurations of the *osnoise* tracer and the
36 **rtla** tool. The tool is also set to run for *one minute*. The output
/Linux-v6.1/Documentation/rust/
Dquick-start.rst39 rustup override set $(scripts/min-tool-version.sh rustc)
63 --branch $(scripts/min-tool-version.sh rustc) \
97 the ``bindgen`` tool. A particular version is required.
99 Install it via (note that this will download and build the tool from source)::
101 cargo install --locked --version $(scripts/min-tool-version.sh bindgen) bindgen
114 The ``rustfmt`` tool is used to automatically format all the Rust kernel code,
118 If ``rustup`` is being used, its ``default`` profile already installs the tool,
134 If ``rustup`` is being used, its ``default`` profile already installs the tool,
151 If ``rustup`` is being used, all the profiles already install the tool,
160 ``rustdoc`` is the documentation tool for Rust. It generates pretty HTML
[all …]
/Linux-v6.1/arch/mips/
DMakefile28 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…

12345678910>>...16