Home
last modified time | relevance | path

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

12345678910>>...15

/linux/tools/perf/util/
H A Dtool.c81 static int process_event_synth_attr_stub(const struct perf_tool *tool __maybe_unused, in process_event_synth_attr_stub()
90 static int process_event_synth_event_update_stub(const struct perf_tool *tool __maybe_unused, in process_event_synth_event_update_stub()
102 int process_event_sample_stub(const struct perf_tool *tool __maybe_unused, in process_event_sample_stub()
112 static int process_event_stub(const struct perf_tool *tool __maybe_unused, in process_event_stub()
121 static int process_finished_round_stub(const struct perf_tool *tool __maybe_unused, in process_finished_round_stub()
233 void perf_tool__init(struct perf_tool *tool, bool ordered_events) in perf_tool__init() argument
235 tool->ordered_events = ordered_events; in perf_tool__init()
236 tool->ordering_requires_timestamps = false; in perf_tool__init()
237 tool->namespace_events = false; in perf_tool__init()
238 tool->cgroup_events = false; in perf_tool__init()
[all …]
H A Dsynthetic-events.h44 typedef int (*perf_event__handler_t)(const struct perf_tool *tool, union perf_event *event,
47 int perf_event__synthesize_attrs(const struct perf_tool *tool, struct evlist *evlist, perf_event__h…
48 int perf_event__synthesize_attr(const struct perf_tool *tool, struct perf_event_attr *attr, u32 ids…
49 int perf_event__synthesize_build_id(const struct perf_tool *tool,
57 int perf_event__synthesize_mmap2_build_id(const struct perf_tool *tool,
68 int perf_event__synthesize_cpu_map(const struct perf_tool *tool, const struct perf_cpu_map *cpus, p…
69 int perf_event__synthesize_event_update_cpus(const struct perf_tool *tool, struct evsel *evsel, per…
70 int perf_event__synthesize_event_update_name(const struct perf_tool *tool, struct evsel *evsel, per…
71 int perf_event__synthesize_event_update_scale(const struct perf_tool *tool, struct evsel *evsel, pe…
72 int perf_event__synthesize_event_update_unit(const struct perf_tool *tool, struct evsel *evsel, per…
[all …]
H A Dsynthetic-events.c50 int perf_tool__process_synth_event(const 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(const 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(const 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(const struct perf_tool *tool, in perf_event__synthesize_fork() argument
287 if (perf_tool__process_synth_event(tool, even in perf_event__synthesize_fork()
421 perf_event__synthesize_mmap_events(const struct perf_tool * tool,union perf_event * event,pid_t pid,pid_t tgid,perf_event__handler_t process,struct machine * machine,bool mmap_data) perf_event__synthesize_mmap_events() argument
545 perf_event__synthesize_cgroup(const struct perf_tool * tool,union perf_event * event,char * path,size_t mount_len,perf_event__handler_t process,struct machine * machine) perf_event__synthesize_cgroup() argument
585 perf_event__walk_cgroup_tree(const struct perf_tool * tool,union perf_event * event,char * path,size_t mount_len,perf_event__handler_t process,struct machine * machine) perf_event__walk_cgroup_tree() argument
633 perf_event__synthesize_cgroups(const struct perf_tool * tool,perf_event__handler_t process,struct machine * machine) perf_event__synthesize_cgroups() argument
669 const struct perf_tool *tool; global() member
720 perf_event__synthesize_modules(const struct perf_tool * tool,perf_event__handler_t process,struct machine * machine) perf_event__synthesize_modules() argument
766 __event__synthesize_thread(union perf_event * comm_event,union perf_event * mmap_event,union perf_event * fork_event,union perf_event * namespaces_event,pid_t pid,int full,perf_event__handler_t process,const struct perf_tool * tool,struct machine * machine,bool needs_mmap,bool mmap_data) __event__synthesize_thread() argument
855 perf_event__synthesize_thread_map(const struct perf_tool * tool,struct perf_thread_map * threads,perf_event__handler_t process,struct machine * machine,bool needs_mmap,bool mmap_data) perf_event__synthesize_thread_map() argument
932 __perf_event__synthesize_threads(const struct perf_tool * tool,perf_event__handler_t process,struct machine * machine,bool needs_mmap,bool mmap_data,struct dirent ** dirent,int start,int num) __perf_event__synthesize_threads() argument
996 const struct perf_tool *tool; global() member
1018 perf_event__synthesize_threads(const struct perf_tool * tool,perf_event__handler_t process,struct machine * machine,bool needs_mmap,bool mmap_data,unsigned int nr_threads_synthesize) perf_event__synthesize_threads() argument
1114 __perf_event__synthesize_kernel_mmap(const struct perf_tool * tool,perf_event__handler_t process,struct machine * machine) __perf_event__synthesize_kernel_mmap() argument
1186 perf_event__synthesize_kernel_mmap(const struct perf_tool * tool,perf_event__handler_t process,struct machine * machine) perf_event__synthesize_kernel_mmap() argument
1199 perf_event__synthesize_thread_map2(const struct perf_tool * tool,struct perf_thread_map * threads,perf_event__handler_t process,struct machine * machine) perf_event__synthesize_thread_map2() argument
1349 perf_event__synthesize_cpu_map(const struct perf_tool * tool,const struct perf_cpu_map * map,perf_event__handler_t process,struct machine * machine) perf_event__synthesize_cpu_map() argument
1367 perf_event__synthesize_stat_config(const struct perf_tool * tool,struct perf_stat_config * config,perf_event__handler_t process,struct machine * machine) perf_event__synthesize_stat_config() argument
1406 perf_event__synthesize_stat(const struct perf_tool * tool,struct perf_cpu cpu,u32 thread,u64 id,struct perf_counts_values * count,perf_event__handler_t process,struct machine * machine) perf_event__synthesize_stat() argument
1428 perf_event__synthesize_stat_round(const struct perf_tool * tool,u64 evtime,u64 type,perf_event__handler_t process,struct machine * machine) perf_event__synthesize_stat_round() argument
1829 __perf_event__synthesize_id_index(const struct perf_tool * tool,perf_event__handler_t process,struct evlist * evlist,struct machine * machine,size_t from) __perf_event__synthesize_id_index() argument
1921 perf_event__synthesize_id_index(const struct perf_tool * tool,perf_event__handler_t process,struct evlist * evlist,struct machine * machine) perf_event__synthesize_id_index() argument
1927 __machine__synthesize_threads(struct machine * machine,const struct perf_tool * tool,struct target * target,struct perf_thread_map * threads,perf_event__handler_t process,bool needs_mmap,bool data_mmap,unsigned int nr_threads_synthesize) __machine__synthesize_threads() argument
1988 perf_event__synthesize_event_update_unit(const struct perf_tool * tool,struct evsel * evsel,perf_event__handler_t process) perf_event__synthesize_event_update_unit() argument
2005 perf_event__synthesize_event_update_scale(const struct perf_tool * tool,struct evsel * evsel,perf_event__handler_t process) perf_event__synthesize_event_update_scale() argument
2022 perf_event__synthesize_event_update_name(const struct perf_tool * tool,struct evsel * evsel,perf_event__handler_t process) perf_event__synthesize_event_update_name() argument
2039 perf_event__synthesize_event_update_cpus(const struct perf_tool * tool,struct evsel * evsel,perf_event__handler_t process) perf_event__synthesize_event_update_cpus() argument
2062 perf_event__synthesize_attrs(const struct perf_tool * tool,struct evlist * evlist,perf_event__handler_t process) perf_event__synthesize_attrs() argument
2090 perf_event__synthesize_extra_attr(const struct perf_tool * tool,struct evlist * evsel_list,perf_event__handler_t process,bool is_pipe) perf_event__synthesize_extra_attr() argument
2146 perf_event__synthesize_attr(const struct perf_tool * tool,struct perf_event_attr * attr,u32 ids,u64 * id,perf_event__handler_t process) perf_event__synthesize_attr() argument
2180 perf_event__synthesize_tracing_data(const struct perf_tool * tool,int fd,struct evlist * evlist,perf_event__handler_t process) perf_event__synthesize_tracing_data() argument
2228 perf_event__synthesize_build_id(const struct perf_tool * tool,struct perf_sample * sample,struct machine * machine,perf_event__handler_t process,const struct evsel * evsel,__u16 misc,const struct build_id * bid,const char * filename) perf_event__synthesize_build_id() argument
2273 perf_event__synthesize_mmap2_build_id(const struct perf_tool * tool,struct perf_sample * sample,struct machine * machine,perf_event__handler_t process,const struct evsel * evsel,__u16 misc,__u32 pid,__u32 tid,__u64 start,__u64 len,__u64 pgoff,const struct build_id * bid,__u32 prot,__u32 flags,const char * filename) perf_event__synthesize_mmap2_build_id() argument
2329 perf_event__synthesize_stat_events(struct perf_stat_config * config,const struct perf_tool * tool,struct evlist * evlist,perf_event__handler_t process,bool attrs) perf_event__synthesize_stat_events() argument
2366 perf_event__synthesize_features(const struct perf_tool * tool,struct perf_session * session,struct evlist * evlist,perf_event__handler_t process) perf_event__synthesize_features() argument
2429 perf_event__synthesize_for_pipe(const struct perf_tool * tool,struct perf_session * session,struct perf_data * data,perf_event__handler_t process) perf_event__synthesize_for_pipe() argument
[all...]
H A Dtool.h18 typedef int (*event_sample)(const struct perf_tool *tool, union perf_event *event,
22 typedef int (*event_op)(const struct perf_tool *tool, union perf_event *event,
25 typedef int (*event_attr_op)(const struct perf_tool *tool,
34 typedef int (*event_oe)(const struct perf_tool *tool, union perf_event *event,
92 void perf_tool__init(struct perf_tool *tool, bool ordered_events);
94 bool perf_tool__compressed_is_stub(const struct perf_tool *tool);
96 int process_event_sample_stub(const struct perf_tool *tool,
H A Devent.c219 int perf_event__process_comm(const struct perf_tool *tool __maybe_unused, in perf_event__process_comm()
227 int perf_event__process_namespaces(const struct perf_tool *tool __maybe_unused, in perf_event__process_namespaces()
235 int perf_event__process_cgroup(const struct perf_tool *tool __maybe_unused, in perf_event__process_cgroup()
243 int perf_event__process_lost(const struct perf_tool *tool __maybe_unused, in perf_event__process_lost()
251 int perf_event__process_aux(const struct perf_tool *tool __maybe_unused, in perf_event__process_aux()
259 int perf_event__process_itrace_start(const struct perf_tool *tool __maybe_unused, in perf_event__process_itrace_start()
267 int perf_event__process_aux_output_hw_id(const struct perf_tool *tool __maybe_unused, in perf_event__process_aux_output_hw_id()
275 int perf_event__process_lost_samples(const struct perf_tool *tool __maybe_unused, in perf_event__process_lost_samples()
283 int perf_event__process_switch(const struct perf_tool *tool __maybe_unused, in perf_event__process_switch()
291 int perf_event__process_ksymbol(const struct perf_tool *tool __maybe_unused, in perf_event__process_ksymbol()
[all …]
H A Dintel-tpebs.c121 static int process_sample_event(const struct perf_tool *tool __maybe_unused, in process_sample_event()
167 struct perf_tool tool; in __sample_reader() local
169 perf_tool__init(&tool, /*ordered_events=*/false); in __sample_reader()
170 tool.sample = process_sample_event; in __sample_reader()
171 tool.feature = process_feature_event; in __sample_reader()
172 tool.attr = perf_event__process_attr; in __sample_reader()
174 session = perf_session__new(&data, &tool); in __sample_reader()
H A Dsession.h79 const struct perf_tool *tool; member
109 struct perf_tool *tool,
113 struct perf_tool *tool) in perf_session__new() argument
115 return __perf_session__new(data, tool, /*trace_event_repipe=*/false); in perf_session__new()
206 int perf_event__process_finished_round(const struct perf_tool *tool,
/linux/tools/perf/
H A Dbuiltin-inject.c18 #include "util/tool.h"
81 struct perf_tool tool; member
115 struct perf_tool tool; member
144 static int tool__inject_build_id(const struct perf_tool *tool,
151 static int tool__inject_mmap2_build_id(const struct perf_tool *tool,
174 static int perf_event__repipe_synth(const struct perf_tool *tool, in perf_event__repipe_synth() argument
178 struct perf_inject *inject = container_of(tool, struct perf_inject, in perf_event__repipe_synth()
179 tool); in perf_event__repipe_synth()
184 static int perf_event__repipe_oe_synth(const struct perf_tool *tool, in perf_event__repipe_oe_synth() argument
188 return perf_event__repipe_synth(tool, even in perf_event__repipe_oe_synth()
214 perf_event__repipe_attr(const struct perf_tool * tool,union perf_event * event,struct evlist ** pevlist) perf_event__repipe_attr() argument
233 perf_event__repipe_event_update(const struct perf_tool * tool,union perf_event * event,struct evlist ** pevlist __maybe_unused) perf_event__repipe_event_update() argument
264 const struct perf_tool *tool = session->tool; perf_event__repipe_auxtrace() local
311 perf_event__repipe(const struct perf_tool * tool,union perf_event * event,struct perf_sample * sample __maybe_unused,struct machine * machine __maybe_unused) perf_event__repipe() argument
327 perf_event__drop_aux(const struct perf_tool * tool,union perf_event * event __maybe_unused,struct perf_sample * sample,struct machine * machine __maybe_unused) perf_event__drop_aux() argument
374 perf_event__repipe_sample(const struct perf_tool * tool,union perf_event * event,struct perf_sample * sample,struct evsel * evsel,struct machine * machine) perf_event__repipe_sample() argument
466 perf_event__repipe_common_mmap(const struct perf_tool * tool,union perf_event * event,struct perf_sample * sample,struct machine * machine,__u32 pid,__u32 tid,__u64 start,__u64 len,__u64 pgoff,__u32 flags,__u32 prot,const char * filename,const struct dso_id * dso_id,int (* perf_event_process)(const struct perf_tool * tool,union perf_event * event,struct perf_sample * sample,struct machine * machine)) perf_event__repipe_common_mmap() argument
475 perf_event__repipe_common_mmap(const struct perf_tool * tool,union perf_event * event,struct perf_sample * sample,struct machine * machine,__u32 pid,__u32 tid,__u64 start,__u64 len,__u64 pgoff,__u32 flags,__u32 prot,const char * filename,const struct dso_id * dso_id,int (* perf_event_process)(const struct perf_tool * tool,union perf_event * event,struct perf_sample * sample,struct machine * machine)) perf_event__repipe_common_mmap() argument
571 perf_event__repipe_mmap(const struct perf_tool * tool,union perf_event * event,struct perf_sample * sample,struct machine * machine) perf_event__repipe_mmap() argument
585 perf_event__repipe_mmap2(const struct perf_tool * tool,union perf_event * event,struct perf_sample * sample,struct machine * machine) perf_event__repipe_mmap2() argument
610 perf_event__repipe_fork(const struct perf_tool * tool,union perf_event * event,struct perf_sample * sample,struct machine * machine) perf_event__repipe_fork() argument
623 perf_event__repipe_comm(const struct perf_tool * tool,union perf_event * event,struct perf_sample * sample,struct machine * machine) perf_event__repipe_comm() argument
636 perf_event__repipe_namespaces(const struct perf_tool * tool,union perf_event * event,struct perf_sample * sample,struct machine * machine) perf_event__repipe_namespaces() argument
648 perf_event__repipe_exit(const struct perf_tool * tool,union perf_event * event,struct perf_sample * sample,struct machine * machine) perf_event__repipe_exit() argument
757 tool__inject_build_id(const struct perf_tool * tool,struct perf_sample * sample,struct machine * machine,const struct evsel * evsel,__u16 misc,const char * filename,struct dso * dso,u32 flags) tool__inject_build_id() argument
794 tool__inject_mmap2_build_id(const struct perf_tool * tool,struct perf_sample * sample,struct machine * machine,const struct evsel * evsel,__u16 misc,__u32 pid,__u32 tid,__u64 start,__u64 len,__u64 pgoff,struct dso * dso,__u32 prot,__u32 flags,const char * filename) tool__inject_mmap2_build_id() argument
834 mark_dso_hit(const struct perf_inject * inject,const struct perf_tool * tool,struct perf_sample * sample,struct machine * machine,const struct evsel * mmap_evsel,struct map * map,bool sample_in_dso) mark_dso_hit() argument
896 const struct perf_tool *tool; global() member
911 perf_event__inject_buildid(const struct perf_tool * tool,union perf_event * event,struct perf_sample * sample,struct evsel * evsel __maybe_unused,struct machine * machine) perf_event__inject_buildid() argument
954 perf_inject__sched_process_exit(const struct perf_tool * tool,union perf_event * event __maybe_unused,struct perf_sample * sample,struct evsel * evsel __maybe_unused,struct machine * machine __maybe_unused) perf_inject__sched_process_exit() argument
974 perf_inject__sched_switch(const struct perf_tool * tool,union perf_event * event,struct perf_sample * sample,struct evsel * evsel,struct machine * machine) perf_inject__sched_switch() argument
999 perf_inject__sched_stat(const struct perf_tool * tool,union perf_event * event __maybe_unused,struct perf_sample * sample,struct evsel * evsel,struct machine * machine) perf_inject__sched_stat() argument
1044 guest_session__repipe(const struct perf_tool * tool,union perf_event * event,struct perf_sample * sample __maybe_unused,struct machine * machine __maybe_unused) guest_session__repipe() argument
1210 process_attr(const struct perf_tool * tool,union perf_event * event,struct perf_sample * sample __maybe_unused,struct machine * machine __maybe_unused) process_attr() argument
1338 process_build_id(const struct perf_tool * tool,union perf_event * event,struct perf_sample * sample __maybe_unused,struct machine * machine __maybe_unused) process_build_id() argument
1398 guest_session__ksymbol_event(const struct perf_tool * tool,union perf_event * event,struct perf_sample * sample __maybe_unused,struct machine * machine __maybe_unused) guest_session__ksymbol_event() argument
1762 host__repipe(const struct perf_tool * tool,union perf_event * event,struct perf_sample * sample,struct machine * machine) host__repipe() argument
1835 host__finished_round(const struct perf_tool * tool,union perf_event * event,struct ordered_events * oe) host__finished_round() argument
1853 host__context_switch(const struct perf_tool * tool,union perf_event * event,struct perf_sample * sample,struct machine * machine) host__context_switch() argument
[all...]
H A Dbuiltin-mem.c12 #include "util/tool.h"
32 struct perf_tool tool;
178 dump_raw_samples(const struct perf_tool *tool, in dump_raw_samples()
183 struct perf_mem *mem = container_of(tool, struct perf_mem, tool); in dump_raw_samples()
252 static int process_sample_event(const struct perf_tool *tool, in process_sample_event()
258 return dump_raw_samples(tool, event, sample, machine); in process_sample_event()
277 perf_tool__init(&mem->tool, /*ordered_events=*/true); in report_raw_events()
278 mem->tool.sample = process_sample_event; in report_raw_events()
279 mem->tool in report_raw_events()
31 struct perf_tool tool; global() member
177 dump_raw_samples(const struct perf_tool * tool,union perf_event * event,struct perf_sample * sample,struct machine * machine) dump_raw_samples() argument
251 process_sample_event(const struct perf_tool * tool,union perf_event * event,struct perf_sample * sample,struct evsel * evsel __maybe_unused,struct machine * machine) process_sample_event() argument
[all...]
H A Dbuiltin-evlist.c38 struct perf_tool tool; in __cmd_evlist() local
41 perf_tool__init(&tool, /*ordered_events=*/false); in __cmd_evlist()
43 tool.attr = perf_event__process_attr; in __cmd_evlist()
44 tool.feature = process_header_feature; in __cmd_evlist()
45 session = perf_session__new(&data, &tool); in __cmd_evlist()
/linux/tools/tracing/rtla/src/
H A Dosnoise_hist.c126 static void osnoise_hist_update_multiple(struct osnoise_tool *tool, int cpu, in osnoise_hist_update_multiple() argument
129 struct osnoise_hist_params *params = tool->params; in osnoise_hist_update_multiple()
130 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 …]
H A Dtimerlat_aa.c117 struct osnoise_tool *tool; member
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()
907 timerlat_aa_nmi_handler, tool); in timerlat_aa_unregister_events()
[all …]
H A Dosnoise_top.c115 struct osnoise_tool *tool; in osnoise_top_handler() local
121 tool = container_of(trace, struct osnoise_tool, trace); in osnoise_top_handler()
123 data = tool->data; in osnoise_top_handler()
219 static void osnoise_top_print(struct osnoise_tool *tool, int cpu) in osnoise_top_print() argument
221 struct osnoise_top_params *params = tool->params; in osnoise_top_print()
222 struct trace_seq *s = tool->trace.seq; in osnoise_top_print()
228 data = tool->data; in osnoise_top_print()
556 osnoise_top_apply_config(struct osnoise_tool *tool, struct osnoise_top_params *params) in osnoise_top_apply_config() argument
564 retval = osnoise_set_cpus(tool->context, params->cpus); in osnoise_top_apply_config()
572 retval = osnoise_set_runtime_period(tool->context, in osnoise_top_apply_config()
[all …]
H A Dtimerlat_hist.c173 timerlat_hist_update(struct osnoise_tool *tool, int cpu, in timerlat_hist_update() argument
177 struct timerlat_hist_params *params = tool->params; in timerlat_hist_update()
178 struct timerlat_hist_data *data = tool->data; in timerlat_hist_update()
223 struct osnoise_tool *tool; in timerlat_hist_handler() local
226 tool = container_of(trace, struct osnoise_tool, trace); in timerlat_hist_handler()
231 timerlat_hist_update(tool, cpu, context, latency); in timerlat_hist_handler()
239 static void timerlat_hist_header(struct osnoise_tool *tool) in timerlat_hist_header() argument
241 struct timerlat_hist_params *params = tool->params; in timerlat_hist_header()
242 struct timerlat_hist_data *data = tool->data; in timerlat_hist_header()
243 struct trace_seq *s = tool->trace.seq; in timerlat_hist_header()
[all …]
/linux/tools/perf/tests/
H A Devent_update.c15 static int process_event_unit(const struct perf_tool *tool __maybe_unused, in process_event_unit()
28 static int process_event_scale(const struct perf_tool *tool __maybe_unused, in process_event_scale()
42 struct perf_tool tool; member
46 static int process_event_name(const 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(const struct perf_tool *tool __maybe_unused, in process_event_cpus()
106 perf_tool__init(&tmp.tool, /*ordered_events=*/false); in test__event_update()
110 !perf_event__synthesize_event_update_name(&tmp.tool, evsel, process_event_name)); in test__event_update()
115 !perf_event__synthesize_event_update_cpus(&tmp.tool, evsel, process_event_cpus)); in test__event_update()
/linux/Documentation/tools/rtla/
H A Drtla-hwnoise.rst25 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.
H A 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
H A 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/drivers/input/tablet/
H A 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/tools/perf/arch/x86/util/
H A Devent.c18 const struct perf_tool *tool; member
62 if (perf_tool__process_synth_event(args->tool, event, args->machine, args->process) != 0) in perf_event__synthesize_extra_kmaps_cb()
68 int perf_event__synthesize_extra_kmaps(const struct perf_tool *tool, in perf_event__synthesize_extra_kmaps() argument
75 .tool = tool, in perf_event__synthesize_extra_kmaps()
/linux/Documentation/arch/s390/
H A 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/drivers/net/wireless/virtual/
H A DKconfig2 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.
/linux/arch/mips/
H A 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
[all...]
/linux/Documentation/input/
H A 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]_.
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 …]
/linux/Documentation/translations/zh_CN/rust/
H A Dquick-start.rst43 rustup override set $(scripts/min-tool-version.sh rustc)
67 … curl -L "https://static.rust-lang.org/dist/rust-src-$(scripts/min-tool-version.sh rustc).tar.gz" |
69 "rust-src-$(scripts/min-tool-version.sh rustc)/rust-src/lib/" \
104 cargo install --locked --version $(scripts/min-tool-version.sh bindgen) bindgen-cli

12345678910>>...15