| /linux/tools/perf/util/ |
| H A D | tool.c | 8 #include "tool.h" 16 static int perf_session__process_compressed_event(const struct perf_tool *tool __maybe_unused, in perf_session__process_compressed_event() 132 static int process_event_synth_tracing_data_stub(const struct perf_tool *tool __maybe_unused, in process_finished_round_stub() 140 static int process_event_synth_attr_stub(const struct perf_tool *tool __maybe_unused, in skipn() 148 static int process_event_synth_event_update_stub(const struct perf_tool *tool __maybe_unused, in skipn() 159 int process_event_sample_stub(const struct perf_tool *tool __maybe_unused, in process_event_auxtrace_stub() 168 static int process_event_stub(const struct perf_tool *tool __maybe_unused, in process_event_op2_stub() 177 static int process_finished_round_stub(const struct perf_tool *tool __maybe_unused, in process_event_thread_map_stub() 200 static s64 process_event_auxtrace_stub(const struct perf_tool *tool __maybe_unused, in process_event_stat_config_stub() 210 static int process_event_op2_stub(const struct perf_tool *tool __maybe_unuse in process_stat_stub() 279 perf_tool__init(struct perf_tool * tool,bool ordered_events) perf_tool__init() argument 342 perf_tool__compressed_is_stub(const struct perf_tool * tool) perf_tool__compressed_is_stub() argument 462 delegate_tool__init(struct delegate_tool * tool,struct perf_tool * delegate) delegate_tool__init() argument [all...] |
| H A D | synthetic-events.h | 44 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__handler_t process); 48 int perf_event__synthesize_attr(const struct perf_tool *tool, struct perf_event_attr *attr, u32 ids, u64 *id, perf_event__handler_t process); 49 int perf_event__synthesize_build_id(const struct perf_tool *tool, 56 int perf_event__synthesize_mmap2_build_id(const struct perf_tool *tool, 66 int perf_event__synthesize_cpu_map(const struct perf_tool *tool, const struct perf_cpu_map *cpus, perf_event__handler_t process, struct machine *machine); 67 int perf_event__synthesize_event_update_cpus(const struct perf_tool *tool, struct evsel *evsel, perf_event__handler_t process); 68 int perf_event__synthesize_event_update_name(const struct perf_tool *tool, struct evsel *evsel, perf_event__handler_t process); 69 int perf_event__synthesize_event_update_scale(const struct perf_tool *tool, struct evsel *evsel, perf_event__handler_t process); 70 int perf_event__synthesize_event_update_unit(const struct perf_tool *tool, struc [all...] |
| H A D | tool.h | 17 typedef int (*event_sample)(const struct perf_tool *tool, union perf_event *event, 21 typedef int (*event_op)(const struct perf_tool *tool, union perf_event *event, 24 typedef int (*event_attr_op)(const struct perf_tool *tool, 28 typedef int (*event_op2)(const struct perf_tool *tool, struct perf_session *session, 30 typedef s64 (*event_op3)(const struct perf_tool *tool, struct perf_session *session, 32 typedef int (*event_op4)(const struct perf_tool *tool, struct perf_session *session, 35 typedef int (*event_oe)(const struct perf_tool *tool, union perf_event *event, 98 void perf_tool__init(struct perf_tool *tool, bool ordered_events); 100 bool perf_tool__compressed_is_stub(const struct perf_tool *tool); 102 int process_event_sample_stub(const struct perf_tool *tool, 111 struct perf_tool tool; global() member [all...] |
| H A D | session.c | 28 #include "tool.h" 47 const struct perf_tool *tool, 135 session->tool, event->file_offset, in ordered_events__deliver_event() 148 struct perf_tool *tool, in __perf_session__new() 159 session->tool = tool; in __perf_session__new() 226 if ((!data || !data->is_pipe) && tool && tool->ordering_requires_timestamps && in __perf_session__new() 227 tool->ordered_events && !evlist__sample_id_all(session->evlist)) { in __perf_session__new() 229 tool in __perf_session__new() 141 __perf_session__new(struct perf_data * data,struct perf_tool * tool,bool trace_event_repipe,struct perf_env * host_env) __perf_session__new() argument 1252 deliver_sample_value(struct evlist * evlist,const struct perf_tool * tool,union perf_event * event,struct perf_sample * sample,struct sample_read_value * v,struct machine * machine,bool per_thread) deliver_sample_value() argument 1290 deliver_sample_group(struct evlist * evlist,const struct perf_tool * tool,union perf_event * event,struct perf_sample * sample,struct machine * machine,u64 read_format,bool per_thread) deliver_sample_group() argument 1314 evlist__deliver_sample(struct evlist * evlist,const struct perf_tool * tool,union perf_event * event,struct perf_sample * sample,struct evsel * evsel,struct machine * machine) evlist__deliver_sample() argument 1352 evlist__deliver_deferred_callchain(struct evlist * evlist,const struct perf_tool * tool,union perf_event * event,struct perf_sample * sample,struct machine * machine) evlist__deliver_deferred_callchain() argument 1406 session__flush_deferred_samples(struct perf_session * session,const struct perf_tool * tool) session__flush_deferred_samples() argument 1441 machines__deliver_event(struct machines * machines,struct evlist * evlist,union perf_event * event,struct perf_sample * sample,const struct perf_tool * tool,u64 file_offset,const char * file_path) machines__deliver_event() argument 1550 perf_session__deliver_event(struct perf_session * session,union perf_event * event,const struct perf_tool * tool,u64 file_offset,const char * file_path) perf_session__deliver_event() argument 1588 const struct perf_tool *tool = session->tool; perf_session__process_user_event() local 1707 const struct perf_tool *tool = session->tool; perf_session__deliver_synth_event() local 1839 const struct perf_tool *tool = session->tool; perf_session__process_event() local 2035 const struct perf_tool *tool = session->tool; __perf_session__process_pipe_events() local 2469 const struct perf_tool *tool = session->tool; __perf_session__process_events() local 2522 const struct perf_tool *tool = session->tool; __perf_session__process_dir_events() local [all...] |
| H A D | data-convert-json.c | 30 #include "util/tool.h" 37 struct perf_tool tool; 132 static void output_sample_callchain_entry(const struct perf_tool *tool, in output_sample_callchain_entry() 135 struct convert_json *c = container_of(tool, struct convert_json, tool); in output_sample_callchain_entry() 160 static int process_sample_event(const struct perf_tool *tool, in process_sample_event() 165 struct convert_json *c = container_of(tool, struct convert_json, tool); in process_sample_event() 239 output_sample_callchain_entry(tool, ip, ok ? &tal : NULL); in process_sample_event() 243 output_sample_callchain_entry(tool, sampl in process_sample_event() 36 struct perf_tool tool; global() member 131 output_sample_callchain_entry(const struct perf_tool * tool,u64 ip,struct addr_location * al) output_sample_callchain_entry() argument 159 process_sample_event(const struct perf_tool * tool,union perf_event * event __maybe_unused,struct perf_sample * sample,struct evsel * evsel __maybe_unused,struct machine * machine) process_sample_event() argument [all...] |
| H A D | synthetic-events.c | 51 int perf_tool__process_synth_event(const struct perf_tool *tool, in perf_tool__process_synth_event() argument 66 return process(tool, event, &synth_sample, machine); in perf_tool__process_synth_event() 192 pid_t perf_event__synthesize_comm(const struct perf_tool *tool, in perf_event__synthesize_comm() 204 if (perf_tool__process_synth_event(tool, event, machine, process) != 0) in perf_event__synthesize_comm() 223 int perf_event__synthesize_namespaces(const struct perf_tool *tool, in perf_event__synthesize_namespaces() 232 if (!tool || !tool->namespace_events) in perf_event__synthesize_namespaces() 256 if (perf_tool__process_synth_event(tool, event, machine, process) != 0) in perf_event__synthesize_namespaces() 262 static int perf_event__synthesize_fork(const struct perf_tool *tool, in perf_event__synthesize_fork() 289 if (perf_tool__process_synth_event(tool, even in perf_event__synthesize_fork() 191 perf_event__synthesize_comm(const struct perf_tool * tool,union perf_event * event,pid_t pid,perf_event__handler_t process,struct machine * machine) perf_event__synthesize_comm() argument 222 perf_event__synthesize_namespaces(const struct perf_tool * tool,union perf_event * event,pid_t pid,pid_t tgid,perf_event__handler_t process,struct machine * machine) perf_event__synthesize_namespaces() argument 261 perf_event__synthesize_fork(const struct perf_tool * tool,union perf_event * event,pid_t pid,pid_t tgid,pid_t ppid,perf_event__handler_t process,struct machine * machine) perf_event__synthesize_fork() argument 428 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 552 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 592 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 640 perf_event__synthesize_cgroups(const struct perf_tool * tool,perf_event__handler_t process,struct machine * machine) perf_event__synthesize_cgroups() argument 676 const struct perf_tool *tool; global() member 732 perf_event__synthesize_modules(const struct perf_tool * tool,perf_event__handler_t process,struct machine * machine) perf_event__synthesize_modules() argument 778 __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 868 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 945 __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 1009 const struct perf_tool *tool; global() member 1031 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 1127 __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_kernel_mmap(const struct perf_tool * tool,perf_event__handler_t process,struct machine * machine) perf_event__synthesize_kernel_mmap() argument 1212 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 1362 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 1380 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 1419 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 1441 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 1852 __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 1944 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 1950 __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 2011 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 2028 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 2045 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 2062 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 2085 perf_event__synthesize_attrs(const struct perf_tool * tool,struct evlist * evlist,perf_event__handler_t process) perf_event__synthesize_attrs() argument 2113 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 2169 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 2203 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 2251 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 2298 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 2356 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 2393 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 2456 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 2654 perf_event__synthesize_schedstat(const struct perf_tool * tool,perf_event__handler_t process,struct perf_cpu_map * user_requested_cpus) perf_event__synthesize_schedstat() argument [all...] |
| H A D | event.h | 301 int perf_event__process_comm(const struct perf_tool *tool, 305 int perf_event__process_lost(const struct perf_tool *tool, 309 int perf_event__process_lost_samples(const struct perf_tool *tool, 313 int perf_event__process_aux(const struct perf_tool *tool, 317 int perf_event__process_itrace_start(const struct perf_tool *tool, 321 int perf_event__process_aux_output_hw_id(const struct perf_tool *tool, 325 int perf_event__process_switch(const struct perf_tool *tool, 329 int perf_event__process_namespaces(const struct perf_tool *tool, 333 int perf_event__process_cgroup(const struct perf_tool *tool, 337 int perf_event__process_mmap(const struct perf_tool *tool, [all …]
|
| /linux/tools/tracing/rtla/src/ |
| H A D | common.c | 37 * set_signals - handles the signal to stop the tool 49 * unset_signals - unsets the signals to stop the tool 61 * common_apply_config - apply common configs to the initialized tool 64 common_apply_config(struct osnoise_tool *tool, struct common_params *params) in common_apply_config() argument 71 retval = osnoise_set_cpus(tool->context, params->cpus ? params->cpus : "all"); in common_apply_config() 105 retval = osnoise_set_workload(tool->context, params->kernel_workload); in common_apply_config() 120 * @tool: pointer to the osnoise_tool instance containing trace contexts 129 common_threshold_handler(const struct osnoise_tool *tool) in common_threshold_handler() argument 131 actions_perform(&tool->params->threshold_actions); in common_threshold_handler() 133 if (!should_continue_tracing(tool->params)) in common_threshold_handler() [all …]
|
| H A D | timerlat.c | 27 * timerlat_apply_config - apply common configs to the initialized tool 30 timerlat_apply_config(struct osnoise_tool *tool, struct timerlat_params *params) in timerlat_apply_config() 42 } else if (!tep_find_event_by_name(tool->trace.tep, "osnoise", "timerlat_sample")) { in timerlat_apply_config() 64 retval = osnoise_set_timerlat_period_us(tool->context, in timerlat_apply_config() 74 retval = osnoise_set_print_stack(tool->context, params->print_stack); in timerlat_apply_config() 80 retval = osnoise_set_timerlat_align(tool->context, params->timerlat_align); in timerlat_apply_config() 91 retval = osnoise_set_timerlat_align_us(tool->context, params->timerlat_align_us); in timerlat_apply_config() 114 return common_apply_config(tool, ¶ms->common); in timerlat_enable() 120 int timerlat_enable(struct osnoise_tool *tool) in timerlat_enable() 122 struct timerlat_params *params = to_timerlat_params(tool in timerlat_enable() 29 timerlat_apply_config(struct osnoise_tool * tool,struct timerlat_params * params) timerlat_apply_config() argument 108 timerlat_enable(struct osnoise_tool * tool) timerlat_enable() argument 190 timerlat_analyze(struct osnoise_tool * tool,bool stopped) timerlat_analyze() argument 213 timerlat_free(struct osnoise_tool * tool) timerlat_free() argument [all...] |
| H A D | osnoise_hist.c | 55 static void osnoise_free_hist_tool(struct osnoise_tool *tool) in osnoise_free_histogram() 57 osnoise_free_histogram(tool->data); in osnoise_free_hist_tool() argument 97 static void osnoise_hist_update_multiple(struct osnoise_tool *tool, int cpu, in osnoise_alloc_histogram() 100 struct osnoise_params *params = to_osnoise_params(tool->params); in osnoise_hist_update_multiple() argument 101 struct osnoise_hist_data *data = tool->data; in osnoise_hist_update_multiple() 129 static void osnoise_destroy_trace_hist(struct osnoise_tool *tool) 131 struct osnoise_hist_data *data = tool->data; 133 tracefs_hist_pause(tool->trace.inst, data->trace_hist); in osnoise_destroy_trace_hist() 134 tracefs_hist_destroy(tool->trace.inst, data->trace_hist); in osnoise_destroy_trace_hist() 140 static int osnoise_init_trace_hist(struct osnoise_tool *tool) 132 osnoise_destroy_trace_hist(struct osnoise_tool * tool) osnoise_destroy_trace_hist() argument 143 osnoise_init_trace_hist(struct osnoise_tool * tool) osnoise_init_trace_hist() argument 180 osnoise_read_trace_hist(struct osnoise_tool * tool) osnoise_read_trace_hist() argument 228 osnoise_hist_header(struct osnoise_tool * tool) osnoise_hist_header() argument 337 osnoise_print_stats(struct osnoise_tool * tool) osnoise_print_stats() argument 690 osnoise_hist_apply_config(struct osnoise_tool * tool) osnoise_hist_apply_config() argument 701 struct osnoise_tool *tool; osnoise_init_hist() local 722 osnoise_hist_enable(struct osnoise_tool * tool) osnoise_hist_enable() argument 733 osnoise_hist_main_loop(struct osnoise_tool * tool) osnoise_hist_main_loop() argument [all...] |
| H A D | timerlat_aa.c | 115 struct osnoise_tool *tool; member 124 * For now keep it simple. If needed, store it in the tool, add the *context 505 function = tep_find_function(taa_ctx->tool->trace.tep, caller[i]); 726 struct trace_instance *trace = &taa_ctx->tool->trace; in timerlat_auto_analysis() 791 tep = taa_ctx->tool->trace.tep; in timerlat_aa_destroy_seqs() 916 static void timerlat_aa_unregister_events(struct osnoise_tool *tool, int dump_tasks) in timerlat_aa_unregister_events() 919 tep_unregister_event_handler(tool->trace.tep, -1, "ftrace", "timerlat", in timerlat_aa_unregister_events() 920 timerlat_aa_handler, tool); in timerlat_aa_unregister_events() 922 tracefs_event_disable(tool->trace.inst, "osnoise", NULL); in timerlat_aa_unregister_events() 924 tep_unregister_event_handler(tool in timerlat_aa_unregister_events() 896 timerlat_aa_unregister_events(struct osnoise_tool * tool,int dump_tasks) timerlat_aa_unregister_events() argument 935 timerlat_aa_register_events(struct osnoise_tool * tool,int dump_tasks) timerlat_aa_register_events() argument 1023 timerlat_aa_init(struct osnoise_tool * tool,int dump_tasks) timerlat_aa_init() argument [all...] |
| H A D | common.h | 126 * osnoise_tool - osnoise based tool definition. 147 int (*apply_config)(struct osnoise_tool *tool); 148 int (*enable)(struct osnoise_tool *tool); 149 int (*main)(struct osnoise_tool *tool); 150 void (*print_stats)(struct osnoise_tool *tool); 151 void (*analyze)(struct osnoise_tool *tool, bool stopped); 152 void (*free)(struct osnoise_tool *tool); 171 common_threshold_handler(const struct osnoise_tool *tool); 181 bool osnoise_trace_is_off(struct osnoise_tool *tool, struct osnoise_tool *record); 186 int common_apply_config(struct osnoise_tool *tool, struc [all...] |
| H A D | osnoise_top.c | 45 static void osnoise_free_top_tool(struct osnoise_tool *tool) 47 osnoise_free_top(tool->data); in osnoise_free_top_tool() 81 struct osnoise_tool *tool; in osnoise_top_handler() 87 tool = container_of(trace, struct osnoise_tool, trace); in osnoise_top_handler() 89 data = tool->data; in osnoise_top_handler() 123 * osnoise_top_header - print the header of the tool output in osnoise_top_handler() 186 static void osnoise_top_print(struct osnoise_tool *tool, int cpu) 188 struct osnoise_params *params = to_osnoise_params(tool->params); 189 struct trace_seq *s = tool->trace.seq; in osnoise_top_print() argument 195 data = tool in osnoise_top_print() 46 osnoise_free_top_tool(struct osnoise_tool * tool) osnoise_free_top_tool() argument 84 struct osnoise_tool *tool; osnoise_top_handler() local 518 osnoise_top_apply_config(struct osnoise_tool * tool) osnoise_top_apply_config() argument 549 struct osnoise_tool *tool; osnoise_init_top() local [all...] |
| H A D | timerlat_hist.c | 76 static void timerlat_free_histogram_tool(struct osnoise_tool *tool) in timerlat_free_histogram_tool() argument 78 timerlat_free_histogram(tool->data); in timerlat_free_histogram_tool() 79 timerlat_free(tool); in timerlat_free_histogram_tool() 136 timerlat_hist_update(struct osnoise_tool *tool, int cpu, 140 struct timerlat_params *params = to_timerlat_params(tool->params); in timerlat_hist_update() 141 struct timerlat_hist_data *data = tool->data; in timerlat_hist_update() 186 struct osnoise_tool *tool; in timerlat_hist_handler() 189 tool = container_of(trace, struct osnoise_tool, trace); in timerlat_hist_handler() 194 timerlat_hist_update(tool, cpu, context, latency); in timerlat_hist_handler() 202 static int timerlat_hist_bpf_pull_data(struct osnoise_tool *tool) 137 timerlat_hist_update(struct osnoise_tool * tool,int cpu,unsigned long long context,unsigned long long latency) timerlat_hist_update() argument 187 struct osnoise_tool *tool; timerlat_hist_handler() local 203 timerlat_hist_bpf_pull_data(struct osnoise_tool * tool) timerlat_hist_bpf_pull_data() argument 286 timerlat_hist_header(struct osnoise_tool * tool) timerlat_hist_header() argument 613 timerlat_print_stats(struct osnoise_tool * tool) timerlat_print_stats() argument 1058 timerlat_hist_apply_config(struct osnoise_tool * tool) timerlat_hist_apply_config() argument 1079 struct osnoise_tool *tool; timerlat_init_hist() local 1103 timerlat_hist_bpf_main_loop(struct osnoise_tool * tool) timerlat_hist_bpf_main_loop() argument 1136 timerlat_hist_main(struct osnoise_tool * tool) timerlat_hist_main() argument [all...] |
| H A D | timerlat_top.c | 56 static void timerlat_free_top_tool(struct osnoise_tool *tool) in timerlat_free_top_tool() argument 58 timerlat_free_top(tool->data); in timerlat_free_top_tool() 59 timerlat_free(tool); in timerlat_free_top_tool() 103 timerlat_top_update_sum(struct osnoise_tool *tool, int cpu, struct timerlat_top_cpu *sum) in timerlat_top_update_sum() argument 105 struct timerlat_top_data *data = tool->data; in timerlat_top_update_sum() 128 timerlat_top_update(struct osnoise_tool *tool, int cpu, in timerlat_top_update() argument 132 struct timerlat_params *params = to_timerlat_params(tool->params); in timerlat_top_update() 133 struct timerlat_top_data *data = tool->data; in timerlat_top_update() 187 static int timerlat_top_bpf_pull_data(struct osnoise_tool *tool) in timerlat_top_bpf_pull_data() argument 189 struct timerlat_top_data *data = tool->data; in timerlat_top_bpf_pull_data() [all …]
|
| /linux/tools/perf/ |
| H A D | builtin-inject.c | 19 #include "util/tool.h" 84 struct perf_tool tool; 118 struct perf_tool tool; 150 static int tool__inject_build_id(const struct perf_tool *tool, 156 static int tool__inject_mmap2_build_id(const struct perf_tool *tool, 178 static int perf_event__repipe_synth(const struct perf_tool *tool, in perf_event__repipe_synth() 182 struct perf_inject *inject = container_of(tool, struct perf_inject, in perf_event__repipe_synth() 183 tool); in perf_event__repipe_synth() 188 static int perf_event__repipe_oe_synth(const struct perf_tool *tool, in perf_event__repipe_oe_synth() 192 return perf_event__repipe_synth(tool, even in perf_event__repipe_oe_synth() 81 struct perf_tool tool; global() member 115 struct perf_tool tool; global() member 176 perf_event__repipe_synth(const struct perf_tool * tool,union perf_event * event) perf_event__repipe_synth() argument 186 perf_event__repipe_oe_synth(const struct perf_tool * tool,union perf_event * event,struct ordered_events * oe __maybe_unused) perf_event__repipe_oe_synth() argument 202 perf_event__repipe_op2_synth(const struct perf_tool * tool,struct perf_session * session __maybe_unused,union perf_event * event) perf_event__repipe_op2_synth() argument 209 perf_event__repipe_op4_synth(const struct perf_tool * tool,struct perf_session * session __maybe_unused,union perf_event * event,u64 data __maybe_unused,const char * str __maybe_unused) perf_event__repipe_op4_synth() argument 218 perf_event__repipe_attr(const struct perf_tool * tool,union perf_event * event,struct evlist ** pevlist) perf_event__repipe_attr() argument 237 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 263 perf_event__repipe_auxtrace(const struct perf_tool * tool,struct perf_session * session,union perf_event * event) perf_event__repipe_auxtrace() argument 300 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 316 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 363 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 388 perf_event__convert_sample_callchain(const struct perf_tool * tool,union perf_event * event,struct perf_sample * sample,struct evsel * evsel,struct machine * machine) perf_event__convert_sample_callchain() argument 539 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 548 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 644 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 658 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 685 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 698 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 711 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 723 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 737 perf_event__repipe_tracing_data(const struct perf_tool * tool,struct perf_session * session,union perf_event * event) perf_event__repipe_tracing_data() argument 837 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 874 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 914 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 976 const struct perf_tool *tool; global() member 991 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 1034 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 1054 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 1079 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 1124 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 1290 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 1418 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 1478 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 1842 host__repipe(const struct perf_tool * tool,union perf_event * event,struct perf_sample * sample,struct machine * machine) host__repipe() argument 1857 host__finished_init(const struct perf_tool * tool,struct perf_session * session,union perf_event * event) host__finished_init() argument 1916 host__finished_round(const struct perf_tool * tool,union perf_event * event,struct ordered_events * oe) host__finished_round() argument 1934 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 D | builtin-mem.c | 13 #include "util/tool.h" 33 struct perf_tool tool; member 181 dump_raw_samples(const struct perf_tool *tool, in dump_raw_samples() argument 186 struct perf_mem *mem = container_of(tool, struct perf_mem, tool); in dump_raw_samples() 255 static int process_sample_event(const struct perf_tool *tool, in process_sample_event() argument 260 return dump_raw_samples(tool, event, sample, machine); in process_sample_event() 279 perf_tool__init(&mem->tool, /*ordered_events=*/true); in report_raw_events() 280 mem->tool.sample = process_sample_event; in report_raw_events() 281 mem->tool in report_raw_events() [all...] |
| /linux/tools/perf/pmu-events/arch/common/common/ |
| H A D | tool.json | 3 "Unit": "tool", 9 "Unit": "tool", 15 "Unit": "tool", 21 "Unit": "tool", 27 "Unit": "tool", 33 "Unit": "tool", 39 "Unit": "tool", 45 "Unit": "tool", 51 "Unit": "tool", 57 "Unit": "tool", [all …]
|
| /linux/tools/power/acpi/ |
| H A 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)
|
| /linux/tools/perf/tests/ |
| H A D | event_update.c | 12 #include "tool.h" 16 static int process_event_unit(const struct perf_tool *tool __maybe_unused, in process_event_unit() 29 static int process_event_scale(const struct perf_tool *tool __maybe_unused, in process_event_scale() 43 struct perf_tool tool; 47 static int process_event_name(const struct perf_tool *tool, in process_event_name() 52 struct event_name *tmp = container_of(tool, struct event_name, tool); in process_event_name() 61 static int process_event_cpus(const struct perf_tool *tool __maybe_unused, in process_event_cpus() 108 perf_tool__init(&tmp.tool, /*ordered_events=*/false); in test__event_update() 112 !perf_event__synthesize_event_update_name(&tmp.tool, evse in test__event_update() 42 struct perf_tool tool; global() member 46 process_event_name(const struct perf_tool * tool,union perf_event * event,struct perf_sample * sample __maybe_unused,struct machine * machine __maybe_unused) process_event_name() argument [all...] |
| /linux/Documentation/process/ |
| H A D | generated-content.rst | 2 Kernel Guidelines for Tool-Generated Content 33 Even whenever your tool use is out of scope, you should still always 35 knows about the tool that you used. 42 but was instead created by a tool. 45 development process; if a tool was used to find a problem addressed by 51 - Any tool-suggested fix such as ``checkpatch.pl --fix`` 57 tool and asking it to write the changelog. 69 tool-generated contributions. Ensure that you understand your entire 81 - Which portions of the content were affected by that tool? 94 elaborate on how the tool or model was trained.
|
| /linux/tools/ |
| H A D | Makefile | 15 @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' 29 @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 …]
|
| /linux/drivers/scsi/mpt3sas/mpi/ |
| H A 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 …]
|
| /linux/Documentation/arch/s390/ |
| H A 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/Documentation/input/ |
| H A 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 …]
|