Home
last modified time | relevance | path

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

12345678910>>...15

/linux-5.19.10/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, struct perf_cpu_map *cpus, perf_event__h…
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()
391 int perf_event__synthesize_mmap_events(struct perf_tool *tool, in perf_event__synthesize_mmap_events() argument
[all …]
Devent.h359 int perf_event__process_comm(struct perf_tool *tool,
363 int perf_event__process_lost(struct perf_tool *tool,
367 int perf_event__process_lost_samples(struct perf_tool *tool,
371 int perf_event__process_aux(struct perf_tool *tool,
375 int perf_event__process_itrace_start(struct perf_tool *tool,
379 int perf_event__process_aux_output_hw_id(struct perf_tool *tool,
383 int perf_event__process_switch(struct perf_tool *tool,
387 int perf_event__process_namespaces(struct perf_tool *tool,
391 int perf_event__process_cgroup(struct perf_tool *tool,
395 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()
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,
34 typedef int (*event_oe)(struct perf_tool *tool, union perf_event *event,
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);
Devent.c193 int perf_event__process_comm(struct perf_tool *tool __maybe_unused, in perf_event__process_comm()
201 int perf_event__process_namespaces(struct perf_tool *tool __maybe_unused, in perf_event__process_namespaces()
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()
233 int perf_event__process_itrace_start(struct perf_tool *tool __maybe_unused, in perf_event__process_itrace_start()
241 int perf_event__process_aux_output_hw_id(struct perf_tool *tool __maybe_unused, in perf_event__process_aux_output_hw_id()
249 int perf_event__process_lost_samples(struct perf_tool *tool __maybe_unused, in perf_event__process_lost_samples()
257 int perf_event__process_switch(struct perf_tool *tool __maybe_unused, in perf_event__process_switch()
265 int perf_event__process_ksymbol(struct perf_tool *tool __maybe_unused, in perf_event__process_ksymbol()
[all …]
Dauxtrace.h201 struct perf_tool *tool);
204 struct perf_tool *tool);
211 struct perf_tool *tool);
501 typedef int (*process_auxtrace_t)(struct perf_tool *tool,
507 struct perf_tool *tool, process_auxtrace_t fn);
511 struct perf_tool *tool, process_auxtrace_t fn,
627 struct perf_sample *sample, struct perf_tool *tool);
630 int auxtrace__flush_events(struct perf_session *session, struct perf_tool *tool);
795 struct perf_tool *tool __maybe_unused) in auxtrace__process_event()
808 struct perf_tool *tool __maybe_unused) in auxtrace__flush_events()
/linux-5.19.10/tools/perf/
Dbuiltin-inject.c42 struct perf_tool tool; member
70 static int dso__inject_build_id(struct dso *dso, struct perf_tool *tool,
85 static int perf_event__repipe_synth(struct perf_tool *tool, in perf_event__repipe_synth() argument
88 struct perf_inject *inject = container_of(tool, struct perf_inject, in perf_event__repipe_synth()
89 tool); in perf_event__repipe_synth()
94 static int perf_event__repipe_oe_synth(struct perf_tool *tool, in perf_event__repipe_oe_synth() argument
98 return perf_event__repipe_synth(tool, event); in perf_event__repipe_oe_synth()
102 static int perf_event__drop_oe(struct perf_tool *tool __maybe_unused, in perf_event__drop_oe()
113 return perf_event__repipe_synth(session->tool, event); in perf_event__repipe_op2_synth()
121 return perf_event__repipe_synth(session->tool, event); in perf_event__repipe_op4_synth()
[all …]
Dbuiltin-report.c71 struct perf_tool tool; member
231 struct report *rep = container_of(session->tool, struct report, tool); in process_feature_event()
253 static int process_sample_event(struct perf_tool *tool, in process_sample_event() argument
259 struct report *rep = container_of(tool, struct report, tool); in process_sample_event()
327 static int process_read_event(struct perf_tool *tool, in process_read_event() argument
333 struct report *rep = container_of(tool, struct report, tool); in process_read_event()
741 static int count_sample_event(struct perf_tool *tool __maybe_unused, in count_sample_event()
753 static int process_attr(struct perf_tool *tool __maybe_unused,
759 memset(&rep->tool, 0, sizeof(rep->tool)); in stats_setup()
760 rep->tool.attr = process_attr; in stats_setup()
[all …]
Dbuiltin-script.c131 struct perf_tool tool; member
2299 static int process_sample_event(struct perf_tool *tool, in process_sample_event() argument
2305 struct perf_script *scr = container_of(tool, struct perf_script, tool); in process_sample_event()
2383 static int process_attr(struct perf_tool *tool, union perf_event *event, in process_attr() argument
2386 struct perf_script *scr = container_of(tool, struct perf_script, tool); in process_attr()
2393 err = perf_event__process_attr(tool, event, pevlist); in process_attr()
2451 static int print_event_with_time(struct perf_tool *tool, in print_event_with_time() argument
2457 struct perf_script *script = container_of(tool, struct perf_script, tool); in print_event_with_time()
2487 static int print_event(struct perf_tool *tool, union perf_event *event, in print_event() argument
2491 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()
1674 static int process_sched_switch_event(struct perf_tool *tool, in process_sched_switch_event() argument
1679 struct perf_sched *sched = container_of(tool, struct perf_sched, tool); in process_sched_switch_event()
1700 static int process_sched_runtime_event(struct perf_tool *tool, in process_sched_runtime_event() argument
1705 struct perf_sched *sched = container_of(tool, struct perf_sched, tool); in process_sched_runtime_event()
1713 static int perf_sched__process_fork_event(struct perf_tool *tool, in perf_sched__process_fork_event() argument
1718 struct perf_sched *sched = container_of(tool, struct perf_sched, tool); in perf_sched__process_fork_event()
1721 perf_event__process_fork(tool, event, sample, machine); in perf_sched__process_fork_event()
[all …]
Dbuiltin-mem.c30 struct perf_tool tool; member
184 dump_raw_samples(struct perf_tool *tool, in dump_raw_samples() argument
189 struct perf_mem *mem = container_of(tool, struct perf_mem, tool); in dump_raw_samples()
252 static int process_sample_event(struct perf_tool *tool, in process_sample_event() argument
258 return dump_raw_samples(tool, event, sample, machine); in process_sample_event()
275 struct perf_session *session = perf_session__new(&data, &mem->tool); in report_raw_events()
439 .tool = { in cmd_mem()
Dbuiltin-record.c147 struct perf_tool tool; member
602 static int process_synthesized_event(struct perf_tool *tool, in process_synthesized_event() argument
607 struct record *rec = container_of(tool, struct record, tool); in process_synthesized_event()
611 static int process_locked_synthesized_event(struct perf_tool *tool, in process_locked_synthesized_event() argument
620 ret = process_synthesized_event(tool, event, sample, machine); in process_locked_synthesized_event()
686 static int record__process_auxtrace(struct perf_tool *tool, in record__process_auxtrace() argument
691 struct record *rec = container_of(tool, struct record, tool); in record__process_auxtrace()
729 ret = auxtrace_mmap__read(map, rec->itr, &rec->tool, in record__auxtrace_mmap_read()
745 ret = auxtrace_mmap__read_snapshot(map, rec->itr, &rec->tool, in record__auxtrace_mmap_read_snapshot()
1310 static int process_sample_event(struct perf_tool *tool, in process_sample_event() argument
[all …]
/linux-5.19.10/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-5.19.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()
/linux-5.19.10/arch/loongarch/
DMakefile15 64bit-tool-archpref = loongarch64
22 tool-archpref = $(64bit-tool-archpref)
28 …CROSS_COMPILE := $(call cc-cross-prefix, $(tool-archpref)-linux- $(tool-archpref)-linux-gnu- $(t…
/linux-5.19.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()
/linux-5.19.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
/linux-5.19.10/Documentation/tools/rtla/
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
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
/linux-5.19.10/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>>...15