| /kernel/linux/linux-5.10/tools/perf/ |
| D | builtin-inject.c | 18 #include "util/tool.h" 38 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() [all …]
|
| /kernel/linux/linux-6.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 | 26 #include "tool.h" 105 struct perf_tool *tool, 194 session->tool, event->file_offset, in ordered_events__deliver_event() 200 struct perf_tool *tool) in __perf_session__new() argument 209 session->tool = tool; in __perf_session__new() 272 if ((!data || !data->is_pipe) && tool && tool->ordering_requires_timestamps && in __perf_session__new() 273 tool->ordered_events && !evlist__sample_id_all(session->evlist)) { in __perf_session__new() 275 tool->ordered_events = false; in __perf_session__new() 331 static int process_event_synth_attr_stub(struct perf_tool *tool __maybe_unused, in process_event_synth_attr_stub() 340 static int process_event_synth_event_update_stub(struct perf_tool *tool __maybe_unused, in process_event_synth_event_update_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 …]
|
| /kernel/linux/linux-5.10/tools/perf/util/ |
| D | synthetic-events.h | 29 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 …]
|
| D | session.c | 24 #include "tool.h" 100 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() [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() 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 …]
|
| D | event.h | 298 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 …]
|
| /kernel/linux/linux-6.6/tools/perf/ |
| D | builtin-inject.c | 18 #include "util/tool.h" 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() [all …]
|
| /kernel/linux/linux-6.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() 157 static void osnoise_destroy_trace_hist(struct osnoise_tool *tool) in osnoise_destroy_trace_hist() argument 159 struct osnoise_hist_data *data = tool->data; in osnoise_destroy_trace_hist() 161 tracefs_hist_pause(tool->trace.inst, data->trace_hist); in osnoise_destroy_trace_hist() 162 tracefs_hist_destroy(tool->trace.inst, data->trace_hist); in osnoise_destroy_trace_hist() 168 static int osnoise_init_trace_hist(struct osnoise_tool *tool) in osnoise_init_trace_hist() argument 170 struct osnoise_hist_params *params = tool->params; in osnoise_init_trace_hist() 171 struct osnoise_hist_data *data = tool->data; in osnoise_init_trace_hist() [all …]
|
| D | timerlat_aa.c | 117 struct osnoise_tool *tool; member 126 * For now keep it simple. If needed, store it in the tool, add the *context 496 function = tep_find_function(taa_ctx->tool->trace.tep, caller[i]); in timerlat_aa_stack_handler() 708 struct trace_instance *trace = &taa_ctx->tool->trace; in timerlat_auto_analysis_collect_trace() 773 tep = taa_ctx->tool->trace.tep; in timerlat_auto_analysis() 898 static void timerlat_aa_unregister_events(struct osnoise_tool *tool, int dump_tasks) in timerlat_aa_unregister_events() argument 901 tep_unregister_event_handler(tool->trace.tep, -1, "ftrace", "timerlat", in timerlat_aa_unregister_events() 902 timerlat_aa_handler, tool); in timerlat_aa_unregister_events() 904 tracefs_event_disable(tool->trace.inst, "osnoise", NULL); in timerlat_aa_unregister_events() 906 tep_unregister_event_handler(tool->trace.tep, -1, "osnoise", "nmi_noise", 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() 154 * osnoise_top_header - print the header of the tool output 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() 528 * osnoise_top_apply_config - apply the top configs to the initialized tool 531 osnoise_top_apply_config(struct osnoise_tool *tool, struct osnoise_top_params *params) in osnoise_top_apply_config() argument [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() 218 struct osnoise_tool *tool; in timerlat_hist_handler() local 221 tool = container_of(trace, struct osnoise_tool, trace); in timerlat_hist_handler() 226 timerlat_hist_update(tool, cpu, context, latency); in timerlat_hist_handler() 234 static void timerlat_hist_header(struct osnoise_tool *tool) in timerlat_hist_header() argument 236 struct timerlat_hist_params *params = tool->params; in timerlat_hist_header() 237 struct timerlat_hist_data *data = tool->data; in timerlat_hist_header() 238 struct trace_seq *s = tool->trace.seq; in timerlat_hist_header() [all …]
|
| /kernel/linux/linux-5.10/tools/power/acpi/ |
| D | Makefile.rules | 2 # tools/power/acpi/Makefile.rules - ACPI tool Makefile 8 objdir := $(OUTPUT)tools/$(TOOL)/ 10 $(OUTPUT)$(TOOL): $(toolobjs) FORCE 26 all: $(OUTPUT)$(TOOL) 32 $(ECHO) " RM " $(TOOL) 33 $(QUIET) rm -f $(OUTPUT)$(TOOL) 38 $(ECHO) " INST " $(TOOL) 40 $(QUIET) $(INSTALL_PROGRAM) $(OUTPUT)$(TOOL) $(DESTDIR)$(sbindir) 42 $(ECHO) " UNINST " $(TOOL) 43 $(QUIET) rm -f $(DESTDIR)$(sbindir)/$(TOOL)
|
| /kernel/linux/linux-6.6/tools/power/acpi/ |
| D | Makefile.rules | 2 # tools/power/acpi/Makefile.rules - ACPI tool Makefile 8 objdir := $(OUTPUT)tools/$(TOOL)/ 10 $(OUTPUT)$(TOOL): $(toolobjs) FORCE 27 all: $(OUTPUT)$(TOOL) 33 $(ECHO) " RM " $(TOOL) 34 $(QUIET) rm -f $(OUTPUT)$(TOOL) 39 $(ECHO) " INST " $(TOOL) 41 $(QUIET) $(INSTALL_PROGRAM) $(OUTPUT)$(TOOL) $(DESTDIR)$(sbindir) 43 $(ECHO) " UNINST " $(TOOL) 44 $(QUIET) rm -f $(DESTDIR)$(sbindir)/$(TOOL)
|
| /kernel/linux/linux-5.10/tools/perf/tests/ |
| D | event_update.c | 11 #include "tool.h" 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() 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()
|
| /kernel/linux/linux-6.6/tools/perf/tests/ |
| D | event_update.c | 11 #include "tool.h" 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()
|
| /kernel/linux/linux-6.6/tools/ |
| D | Makefile | 16 @echo ' cpupower - a tool for all things x86 CPU power' 24 @echo ' intel-speed-select - Intel Speed Select tool' 28 @echo ' objtool - an ELF object analysis tool' 30 @echo ' perf - Linux performance measurement and analysis tool' 32 @echo ' bootconfig - boot config tool' 34 @echo ' tmon - thermal monitoring and tuning tool' 35 @echo ' thermometer - temperature capture tool' 36 @echo ' thermal-engine - thermal monitoring tool' 39 @echo ' turbostat - Intel CPU idle stats and freq reporting tool' 44 @echo ' x86_energy_perf_policy - Intel energy policy tool' [all …]
|
| /kernel/linux/linux-5.10/drivers/scsi/mpt3sas/mpi/ |
| D | mpi2_tool.h | 7 * Title: MPI diagnostic tool structures and definitions 21 * 05-06-09 02.00.03 Added ISTWI Read Write Tool and Diagnostic CLI Tool. 26 * 05-12-10 02.00.05 Added Diagnostic Data Upload tool. 32 * 07-10-12 02.00.09 Add MPI v2.5 Toolbox Diagnostic CLI Tool Request 40 * Tool Request Message. 41 * 07-22-18 02.00.15 Added defines for new TOOLBOX_PCIE_LANE_MARGINING tool. 42 * Added option for DeviceInfo field in ISTWI tool. 71 U8 Tool; /*0x00 */ member 88 * Toolbox Clean Tool request 92 U8 Tool; /*0x00 */ member [all …]
|
| /kernel/linux/linux-6.6/drivers/scsi/mpt3sas/mpi/ |
| D | mpi2_tool.h | 7 * Title: MPI diagnostic tool structures and definitions 21 * 05-06-09 02.00.03 Added ISTWI Read Write Tool and Diagnostic CLI Tool. 26 * 05-12-10 02.00.05 Added Diagnostic Data Upload tool. 32 * 07-10-12 02.00.09 Add MPI v2.5 Toolbox Diagnostic CLI Tool Request 40 * Tool Request Message. 41 * 07-22-18 02.00.15 Added defines for new TOOLBOX_PCIE_LANE_MARGINING tool. 42 * Added option for DeviceInfo field in ISTWI tool. 71 U8 Tool; /*0x00 */ member 88 * Toolbox Clean Tool request 92 U8 Tool; /*0x00 */ member [all …]
|
| /kernel/linux/linux-6.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
|
| /kernel/linux/linux-5.10/Documentation/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
|
| /kernel/linux/linux-6.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.
|
| /kernel/linux/linux-6.6/Documentation/input/ |
| D | multi-touch-protocol.rst | 174 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 …]
|