/Linux-v6.6/tools/perf/util/ |
D | synthetic-events.h | 43 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 …]
|
D | session.c | 105 struct perf_tool *tool, 189 session->tool, event->file_offset, in ordered_events__deliver_event() 195 struct perf_tool *tool) in __perf_session__new() argument 204 session->tool = tool; in __perf_session__new() 267 if ((!data || !data->is_pipe) && tool && tool->ordering_requires_timestamps && in __perf_session__new() 268 tool->ordered_events && !evlist__sample_id_all(session->evlist)) { in __perf_session__new() 270 tool->ordered_events = false; in __perf_session__new() 326 static int process_event_synth_attr_stub(struct perf_tool *tool __maybe_unused, in process_event_synth_attr_stub() 335 static int process_event_synth_event_update_stub(struct perf_tool *tool __maybe_unused, in process_event_synth_event_update_stub() 347 static int process_event_sample_stub(struct perf_tool *tool __maybe_unused, in process_event_sample_stub() [all …]
|
D | synthetic-events.c | 50 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 …]
|
D | event.h | 270 int perf_event__process_comm(struct perf_tool *tool, 274 int perf_event__process_lost(struct perf_tool *tool, 278 int perf_event__process_lost_samples(struct perf_tool *tool, 282 int perf_event__process_aux(struct perf_tool *tool, 286 int perf_event__process_itrace_start(struct perf_tool *tool, 290 int perf_event__process_aux_output_hw_id(struct perf_tool *tool, 294 int perf_event__process_switch(struct perf_tool *tool, 298 int perf_event__process_namespaces(struct perf_tool *tool, 302 int perf_event__process_cgroup(struct perf_tool *tool, 306 int perf_event__process_mmap(struct perf_tool *tool, [all …]
|
D | data-convert-json.c | 35 struct perf_tool tool; member 121 static void output_sample_callchain_entry(struct perf_tool *tool, in output_sample_callchain_entry() argument 124 struct convert_json *c = container_of(tool, struct convert_json, tool); in output_sample_callchain_entry() 149 static int process_sample_event(struct perf_tool *tool, in process_sample_event() argument 155 struct convert_json *c = container_of(tool, struct convert_json, tool); in process_sample_event() 223 output_sample_callchain_entry(tool, ip, ok ? &tal : NULL); in process_sample_event() 227 output_sample_callchain_entry(tool, sample->ip, &al); in process_sample_event() 319 .tool = { in bt_convert__perf2json() 375 session = perf_session__new(&data, &c.tool); in bt_convert__perf2json()
|
D | session.h | 46 struct perf_tool *tool; member 68 struct perf_tool *tool); 71 struct perf_tool *tool) in perf_session__new() argument 73 return __perf_session__new(data, false, -1, tool); in perf_session__new() 95 void perf_tool__fill_defaults(struct perf_tool *tool); 160 int perf_event__process_finished_round(struct perf_tool *tool,
|
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, 34 typedef int (*event_oe)(struct perf_tool *tool, union perf_event *event,
|
D | event.c | 219 int perf_event__process_comm(struct perf_tool *tool __maybe_unused, in perf_event__process_comm() 227 int perf_event__process_namespaces(struct perf_tool *tool __maybe_unused, in perf_event__process_namespaces() 235 int perf_event__process_cgroup(struct perf_tool *tool __maybe_unused, in perf_event__process_cgroup() 243 int perf_event__process_lost(struct perf_tool *tool __maybe_unused, in perf_event__process_lost() 251 int perf_event__process_aux(struct perf_tool *tool __maybe_unused, in perf_event__process_aux() 259 int perf_event__process_itrace_start(struct perf_tool *tool __maybe_unused, in perf_event__process_itrace_start() 267 int perf_event__process_aux_output_hw_id(struct perf_tool *tool __maybe_unused, in perf_event__process_aux_output_hw_id() 275 int perf_event__process_lost_samples(struct perf_tool *tool __maybe_unused, in perf_event__process_lost_samples() 283 int perf_event__process_switch(struct perf_tool *tool __maybe_unused, in perf_event__process_switch() 291 int perf_event__process_ksymbol(struct perf_tool *tool __maybe_unused, in perf_event__process_ksymbol() [all …]
|
/Linux-v6.6/tools/perf/ |
D | builtin-inject.c | 81 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 …]
|
D | builtin-report.c | 75 struct perf_tool tool; member 242 struct report *rep = container_of(session->tool, struct report, tool); in process_feature_event() 264 static int process_sample_event(struct perf_tool *tool, in process_sample_event() argument 270 struct report *rep = container_of(tool, struct report, tool); in process_sample_event() 340 static int process_read_event(struct perf_tool *tool, in process_read_event() argument 346 struct report *rep = container_of(tool, struct report, tool); in process_read_event() 753 static int count_sample_event(struct perf_tool *tool __maybe_unused, in count_sample_event() 765 static int count_lost_samples_event(struct perf_tool *tool, in count_lost_samples_event() argument 770 struct report *rep = container_of(tool, struct report, tool); in count_lost_samples_event() 781 static int process_attr(struct perf_tool *tool __maybe_unused, [all …]
|
D | builtin-kwork.c | 779 static int process_irq_handler_entry_event(struct perf_tool *tool, in process_irq_handler_entry_event() argument 784 struct perf_kwork *kwork = container_of(tool, struct perf_kwork, tool); in process_irq_handler_entry_event() 792 static int process_irq_handler_exit_event(struct perf_tool *tool, in process_irq_handler_exit_event() argument 797 struct perf_kwork *kwork = container_of(tool, struct perf_kwork, tool); in process_irq_handler_exit_event() 850 static int process_softirq_raise_event(struct perf_tool *tool, in process_softirq_raise_event() argument 855 struct perf_kwork *kwork = container_of(tool, struct perf_kwork, tool); in process_softirq_raise_event() 864 static int process_softirq_entry_event(struct perf_tool *tool, in process_softirq_entry_event() argument 869 struct perf_kwork *kwork = container_of(tool, struct perf_kwork, tool); in process_softirq_entry_event() 878 static int process_softirq_exit_event(struct perf_tool *tool, in process_softirq_exit_event() argument 883 struct perf_kwork *kwork = container_of(tool, struct perf_kwork, tool); in process_softirq_exit_event() [all …]
|
D | builtin-script.c | 140 struct perf_tool tool; member 2348 static int process_sample_event(struct perf_tool *tool, in process_sample_event() argument 2354 struct perf_script *scr = container_of(tool, struct perf_script, tool); in process_sample_event() 2435 static int process_attr(struct perf_tool *tool, union perf_event *event, in process_attr() argument 2438 struct perf_script *scr = container_of(tool, struct perf_script, tool); in process_attr() 2444 err = perf_event__process_attr(tool, event, pevlist); in process_attr() 2501 static int print_event_with_time(struct perf_tool *tool, in print_event_with_time() argument 2507 struct perf_script *script = container_of(tool, struct perf_script, tool); in print_event_with_time() 2537 static int print_event(struct perf_tool *tool, union perf_event *event, in print_event() argument 2541 return print_event_with_time(tool, event, sample, machine, pid, tid, 0); in print_event() [all …]
|
D | builtin-sched.c | 182 struct perf_tool tool; member 1513 static int process_sched_wakeup_event(struct perf_tool *tool, in process_sched_wakeup_event() argument 1518 struct perf_sched *sched = container_of(tool, struct perf_sched, tool); in process_sched_wakeup_event() 1526 static int process_sched_wakeup_ignore(struct perf_tool *tool __maybe_unused, in process_sched_wakeup_ignore() 1711 static int process_sched_switch_event(struct perf_tool *tool, in process_sched_switch_event() argument 1716 struct perf_sched *sched = container_of(tool, struct perf_sched, tool); in process_sched_switch_event() 1737 static int process_sched_runtime_event(struct perf_tool *tool, in process_sched_runtime_event() argument 1742 struct perf_sched *sched = container_of(tool, struct perf_sched, tool); in process_sched_runtime_event() 1750 static int perf_sched__process_fork_event(struct perf_tool *tool, in perf_sched__process_fork_event() argument 1755 struct perf_sched *sched = container_of(tool, struct perf_sched, tool); in perf_sched__process_fork_event() [all …]
|
/Linux-v6.6/tools/tracing/rtla/src/ |
D | osnoise_hist.c | 125 static void osnoise_hist_update_multiple(struct osnoise_tool *tool, int cpu, in osnoise_hist_update_multiple() argument 128 struct osnoise_hist_params *params = tool->params; in osnoise_hist_update_multiple() 129 struct osnoise_hist_data *data = tool->data; in osnoise_hist_update_multiple() 158 static void osnoise_destroy_trace_hist(struct osnoise_tool *tool) in osnoise_destroy_trace_hist() argument 160 struct osnoise_hist_data *data = tool->data; in osnoise_destroy_trace_hist() 162 tracefs_hist_pause(tool->trace.inst, data->trace_hist); in osnoise_destroy_trace_hist() 163 tracefs_hist_destroy(tool->trace.inst, data->trace_hist); in osnoise_destroy_trace_hist() 169 static int osnoise_init_trace_hist(struct osnoise_tool *tool) in osnoise_init_trace_hist() argument 171 struct osnoise_hist_params *params = tool->params; in osnoise_init_trace_hist() 172 struct osnoise_hist_data *data = tool->data; in osnoise_init_trace_hist() [all …]
|
D | timerlat_aa.c | 114 struct osnoise_tool *tool; member 482 function = tep_find_function(taa_ctx->tool->trace.tep, caller[i]); in timerlat_aa_stack_handler() 691 struct trace_instance *trace = &taa_ctx->tool->trace; in timerlat_auto_analysis_collect_trace() 756 tep = taa_ctx->tool->trace.tep; in timerlat_auto_analysis() 881 static void timerlat_aa_unregister_events(struct osnoise_tool *tool, int dump_tasks) in timerlat_aa_unregister_events() argument 884 tep_unregister_event_handler(tool->trace.tep, -1, "ftrace", "timerlat", in timerlat_aa_unregister_events() 885 timerlat_aa_handler, tool); in timerlat_aa_unregister_events() 887 tracefs_event_disable(tool->trace.inst, "osnoise", NULL); in timerlat_aa_unregister_events() 889 tep_unregister_event_handler(tool->trace.tep, -1, "osnoise", "nmi_noise", in timerlat_aa_unregister_events() 890 timerlat_aa_nmi_handler, tool); in timerlat_aa_unregister_events() [all …]
|
D | osnoise_top.c | 112 struct osnoise_tool *tool; in osnoise_top_handler() local 118 tool = container_of(trace, struct osnoise_tool, trace); in osnoise_top_handler() 120 data = tool->data; in osnoise_top_handler() 209 static void osnoise_top_print(struct osnoise_tool *tool, int cpu) in osnoise_top_print() argument 211 struct osnoise_top_params *params = tool->params; in osnoise_top_print() 212 struct trace_seq *s = tool->trace.seq; in osnoise_top_print() 218 data = tool->data; in osnoise_top_print() 527 osnoise_top_apply_config(struct osnoise_tool *tool, struct osnoise_top_params *params) in osnoise_top_apply_config() argument 535 retval = osnoise_set_cpus(tool->context, params->cpus); in osnoise_top_apply_config() 543 retval = osnoise_set_runtime_period(tool->context, in osnoise_top_apply_config() [all …]
|
D | timerlat_hist.c | 168 timerlat_hist_update(struct osnoise_tool *tool, int cpu, in timerlat_hist_update() argument 172 struct timerlat_hist_params *params = tool->params; in timerlat_hist_update() 173 struct timerlat_hist_data *data = tool->data; in timerlat_hist_update() 219 struct osnoise_tool *tool; in timerlat_hist_handler() local 222 tool = container_of(trace, struct osnoise_tool, trace); in timerlat_hist_handler() 227 timerlat_hist_update(tool, cpu, context, latency); in timerlat_hist_handler() 235 static void timerlat_hist_header(struct osnoise_tool *tool) in timerlat_hist_header() argument 237 struct timerlat_hist_params *params = tool->params; in timerlat_hist_header() 238 struct timerlat_hist_data *data = tool->data; in timerlat_hist_header() 239 struct trace_seq *s = tool->trace.seq; in timerlat_hist_header() [all …]
|
/Linux-v6.6/tools/perf/tests/ |
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() 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.6/Documentation/tools/rtla/ |
D | rtla-hwnoise.rst | 25 The tool also allows the configurations of the *osnoise* tracer and the 38 In the example below, the **rtla hwnoise** tool is set to run on CPUs *1-7* 41 The tool is set to detect any noise higher than *one microsecond*, 59 *Periods* the tool ran during the session. The *Runtime* is the time 60 the tool effectively runs on the CPU. The *Noise* column is the sum of 61 all noise that the tool observed, and the *% CPU Aval* is the relation 64 The *Max Noise* column is the maximum hardware noise the tool detected in a 68 occurrence observed by the tool. 78 The tool should report *0* hardware-related noise in the ideal situation.
|
D | rtla-osnoise-top.rst | 22 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
|
D | rtla-osnoise-hist.rst | 18 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.6/drivers/input/tablet/ |
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-v6.6/Documentation/arch/s390/ |
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-v6.6/arch/loongarch/ |
D | Makefile | 22 64bit-tool-archpref = loongarch64 34 tool-archpref = $(64bit-tool-archpref) 40 …CROSS_COMPILE := $(call cc-cross-prefix, $(tool-archpref)-linux- $(tool-archpref)-linux-gnu- $(t…
|
/Linux-v6.6/drivers/net/wireless/virtual/ |
D | Kconfig | 2 tristate "Simulated radio testing tool for mac80211" 5 This driver is a developer testing tool that can be used to test 9 to use this tool.
|