| /tools/perf/util/ |
| D | bpf-loader.h | 54 bpf__prepare_load(const char *filename __maybe_unused, in bpf__prepare_load() 55 bool source __maybe_unused) in bpf__prepare_load() 62 bpf__prepare_load_buffer(void *obj_buf __maybe_unused, in bpf__prepare_load_buffer() 63 size_t obj_buf_sz __maybe_unused) in bpf__prepare_load_buffer() 70 static inline int bpf__probe(struct bpf_object *obj __maybe_unused) { return 0;} in bpf__probe() 71 static inline int bpf__unprobe(struct bpf_object *obj __maybe_unused) { return 0;} in bpf__unprobe() 72 static inline int bpf__load(struct bpf_object *obj __maybe_unused) { return 0; } in bpf__load() 75 bpf__foreach_tev(struct bpf_object *obj __maybe_unused, in bpf__foreach_tev() 76 bpf_prog_iter_callback_t func __maybe_unused, in bpf__foreach_tev() 77 void *arg __maybe_unused) in bpf__foreach_tev() [all …]
|
| D | unwind.h | 28 static inline int unwind__prepare_access(struct thread *thread __maybe_unused) in unwind__prepare_access() 33 static inline void unwind__flush_access(struct thread *thread __maybe_unused) {} in unwind__flush_access() 34 static inline void unwind__finish_access(struct thread *thread __maybe_unused) {} in unwind__finish_access() 38 unwind__get_entries(unwind_entry_cb_t cb __maybe_unused, in unwind__get_entries() 39 void *arg __maybe_unused, in unwind__get_entries() 40 struct thread *thread __maybe_unused, in unwind__get_entries() 41 struct perf_sample *data __maybe_unused, in unwind__get_entries() 42 int max_stack __maybe_unused) in unwind__get_entries() 47 static inline int unwind__prepare_access(struct thread *thread __maybe_unused) in unwind__prepare_access() 52 static inline void unwind__flush_access(struct thread *thread __maybe_unused) {} in unwind__flush_access() [all …]
|
| D | trace-event-scripting.c | 43 static void process_event_unsupported(union perf_event *event __maybe_unused, in process_event_unsupported() 44 struct perf_sample *sample __maybe_unused, in process_event_unsupported() 45 struct perf_evsel *evsel __maybe_unused, in process_event_unsupported() 46 struct addr_location *al __maybe_unused) in process_event_unsupported() 59 static int python_start_script_unsupported(const char *script __maybe_unused, in python_start_script_unsupported() 60 int argc __maybe_unused, in python_start_script_unsupported() 61 const char **argv __maybe_unused) in python_start_script_unsupported() 69 __maybe_unused, in python_generate_script_unsupported() 71 __maybe_unused) in python_generate_script_unsupported() 125 static int perl_start_script_unsupported(const char *script __maybe_unused, in perl_start_script_unsupported() [all …]
|
| D | symbol-minimal.c | 72 int filename__read_debuglink(const char *filename __maybe_unused, in filename__read_debuglink() 73 char *debuglink __maybe_unused, in filename__read_debuglink() 74 size_t size __maybe_unused) in filename__read_debuglink() 271 bool symsrc__possibly_runtime(struct symsrc *ss __maybe_unused) in symsrc__possibly_runtime() 277 bool symsrc__has_symtab(struct symsrc *ss __maybe_unused) in symsrc__has_symtab() 288 int dso__synthesize_plt_symbols(struct dso *dso __maybe_unused, in dso__synthesize_plt_symbols() 289 struct symsrc *ss __maybe_unused, in dso__synthesize_plt_symbols() 290 struct map *map __maybe_unused, in dso__synthesize_plt_symbols() 291 symbol_filter_t filter __maybe_unused) in dso__synthesize_plt_symbols() 334 int dso__load_sym(struct dso *dso, struct map *map __maybe_unused, in dso__load_sym() [all …]
|
| D | auxtrace.h | 520 auxtrace_record__init(struct perf_evlist *evlist __maybe_unused, in auxtrace_record__init() 521 int *err __maybe_unused) in auxtrace_record__init() 528 void auxtrace_record__free(struct auxtrace_record *itr __maybe_unused) in auxtrace_record__free() 533 perf_event__synthesize_auxtrace_info(struct auxtrace_record *itr __maybe_unused, in perf_event__synthesize_auxtrace_info() 534 struct perf_tool *tool __maybe_unused, in perf_event__synthesize_auxtrace_info() 535 struct perf_session *session __maybe_unused, in perf_event__synthesize_auxtrace_info() 536 perf_event__handler_t process __maybe_unused) in perf_event__synthesize_auxtrace_info() 542 int auxtrace_record__options(struct auxtrace_record *itr __maybe_unused, in auxtrace_record__options() 543 struct perf_evlist *evlist __maybe_unused, in auxtrace_record__options() 544 struct record_opts *opts __maybe_unused) in auxtrace_record__options() [all …]
|
| D | header.c | 138 static int write_tracing_data(int fd, struct perf_header *h __maybe_unused, in write_tracing_data() 146 struct perf_evlist *evlist __maybe_unused) in write_build_id() 166 static int write_hostname(int fd, struct perf_header *h __maybe_unused, in write_hostname() 167 struct perf_evlist *evlist __maybe_unused) in write_hostname() 179 static int write_osrelease(int fd, struct perf_header *h __maybe_unused, in write_osrelease() 180 struct perf_evlist *evlist __maybe_unused) in write_osrelease() 192 static int write_arch(int fd, struct perf_header *h __maybe_unused, in write_arch() 193 struct perf_evlist *evlist __maybe_unused) in write_arch() 205 static int write_version(int fd, struct perf_header *h __maybe_unused, in write_version() 206 struct perf_evlist *evlist __maybe_unused) in write_version() [all …]
|
| D | perf_regs.h | 27 static inline const char *perf_reg_name(int id __maybe_unused) in perf_reg_name() 32 static inline int perf_reg_value(u64 *valp __maybe_unused, in perf_reg_value() 33 struct regs_dump *regs __maybe_unused, in perf_reg_value() 34 int id __maybe_unused) in perf_reg_value()
|
| D | session.c | 198 static int process_event_synth_tracing_data_stub(struct perf_tool *tool in process_event_synth_tracing_data_stub() 200 union perf_event *event in process_event_synth_tracing_data_stub() 202 struct perf_session *session in process_event_synth_tracing_data_stub() 209 static int process_event_synth_attr_stub(struct perf_tool *tool __maybe_unused, in process_event_synth_attr_stub() 210 union perf_event *event __maybe_unused, in process_event_synth_attr_stub() 211 struct perf_evlist **pevlist in process_event_synth_attr_stub() 218 static int process_event_sample_stub(struct perf_tool *tool __maybe_unused, in process_event_sample_stub() 219 union perf_event *event __maybe_unused, in process_event_sample_stub() 220 struct perf_sample *sample __maybe_unused, in process_event_sample_stub() 221 struct perf_evsel *evsel __maybe_unused, in process_event_sample_stub() [all …]
|
| D | wrapper.c | 10 static inline void release_pack_memory(size_t size __maybe_unused, in release_pack_memory() 11 int flag __maybe_unused) in release_pack_memory()
|
| D | stat-shadow.c | 141 struct perf_evsel *evsel in print_stalled_cycles_frontend() 161 struct perf_evsel *evsel in print_stalled_cycles_backend() 181 struct perf_evsel *evsel __maybe_unused, in print_branch_misses() 201 struct perf_evsel *evsel __maybe_unused, in print_l1_dcache_misses() 221 struct perf_evsel *evsel __maybe_unused, in print_l1_icache_misses() 241 struct perf_evsel *evsel __maybe_unused, in print_dtlb_cache_misses() 261 struct perf_evsel *evsel __maybe_unused, in print_itlb_cache_misses() 281 struct perf_evsel *evsel __maybe_unused, in print_ll_cache_misses()
|
| D | hist.h | 325 int perf_evlist__tui_browse_hists(struct perf_evlist *evlist __maybe_unused, in perf_evlist__tui_browse_hists() 326 const char *help __maybe_unused, in perf_evlist__tui_browse_hists() 327 struct hist_browser_timer *hbt __maybe_unused, in perf_evlist__tui_browse_hists() 328 float min_pcnt __maybe_unused, in perf_evlist__tui_browse_hists() 329 struct perf_env *env __maybe_unused) in perf_evlist__tui_browse_hists() 333 static inline int map_symbol__tui_annotate(struct map_symbol *ms __maybe_unused, in map_symbol__tui_annotate() 334 struct perf_evsel *evsel __maybe_unused, in map_symbol__tui_annotate() 335 struct hist_browser_timer *hbt __maybe_unused) in map_symbol__tui_annotate() 340 static inline int hist_entry__tui_annotate(struct hist_entry *he __maybe_unused, in hist_entry__tui_annotate() 341 struct perf_evsel *evsel __maybe_unused, in hist_entry__tui_annotate() [all …]
|
| /tools/perf/tests/ |
| D | task-exit.c | 12 static void sig_handler(int sig __maybe_unused) in sig_handler() 21 static void workload_exec_failed_signal(int signo __maybe_unused, in workload_exec_failed_signal() 22 siginfo_t *info __maybe_unused, in workload_exec_failed_signal() 23 void *ucontext __maybe_unused) in workload_exec_failed_signal()
|
| D | bp_signal_overflow.c | 37 static void sig_handler(int signum __maybe_unused, in sig_handler() 38 siginfo_t *oh __maybe_unused, in sig_handler() 39 void *uc __maybe_unused) in sig_handler()
|
| D | bp_signal.c | 40 static void sig_handler(int signum __maybe_unused, in sig_handler() 41 siginfo_t *oh __maybe_unused, in sig_handler() 42 void *uc __maybe_unused) in sig_handler()
|
| D | llvm.c | 10 void *arg __maybe_unused) in perf_config_cb() 27 static int test__bpf_parsing(void *obj_buf __maybe_unused, in test__bpf_parsing() 28 size_t obj_buf_sz __maybe_unused) in test__bpf_parsing()
|
| /tools/perf/ |
| D | builtin-inject.c | 69 struct ordered_events *oe __maybe_unused) in perf_event__repipe_oe_synth() 76 struct perf_session *session in perf_event__repipe_op2_synth() 123 struct perf_session *session in perf_event__repipe_auxtrace() 163 perf_event__repipe_auxtrace(struct perf_tool *tool __maybe_unused, in perf_event__repipe_auxtrace() 164 union perf_event *event __maybe_unused, in perf_event__repipe_auxtrace() 165 struct perf_session *session __maybe_unused) in perf_event__repipe_auxtrace() 175 struct perf_sample *sample __maybe_unused, in perf_event__repipe() 176 struct machine *machine __maybe_unused) in perf_event__repipe() 181 static int perf_event__drop(struct perf_tool *tool __maybe_unused, in perf_event__drop() 182 union perf_event *event __maybe_unused, in perf_event__drop() [all …]
|
| D | builtin-record.c | 69 struct perf_sample *sample __maybe_unused, in process_synthesized_event() 70 struct machine *machine __maybe_unused) in process_synthesized_event() 253 int record__auxtrace_mmap_read(struct record *rec __maybe_unused, in record__auxtrace_mmap_read() 254 struct auxtrace_mmap *mm __maybe_unused) in record__auxtrace_mmap_read() 260 void record__read_auxtrace_snapshot(struct record *rec __maybe_unused) in record__read_auxtrace_snapshot() 265 int auxtrace_record__snapshot_start(struct auxtrace_record *itr __maybe_unused) in auxtrace_record__snapshot_start() 464 static void workload_exec_failed_signal(int signo __maybe_unused, in workload_exec_failed_signal() 466 void *ucontext __maybe_unused) in workload_exec_failed_signal() 823 const char *arg __maybe_unused, in record_callchain_opt() 824 int unset __maybe_unused) in record_callchain_opt() [all …]
|
| D | builtin-probe.c | 177 int unset __maybe_unused) in opt_set_target() 215 const char *str, int unset __maybe_unused) in opt_show_lines() 235 const char *str, int unset __maybe_unused) in opt_show_vars() 254 const char *str, int unset __maybe_unused) in opt_add_probe_event() 276 static int opt_set_filter(const struct option *opt __maybe_unused, in opt_set_filter() 277 const char *str, int unset __maybe_unused) in opt_set_filter() 429 __cmd_probe(int argc, const char **argv, const char *prefix __maybe_unused) in __cmd_probe()
|
| /tools/perf/bench/ |
| D | futex-requeue.c | 66 static void *workerfn(void *arg __maybe_unused) in workerfn() 100 static void toggle_done(int sig __maybe_unused, in toggle_done() 101 siginfo_t *info __maybe_unused, in toggle_done() 102 void *uc __maybe_unused) in toggle_done() 108 const char *prefix __maybe_unused) in bench_futex_requeue()
|
| D | futex-wake.c | 54 static void *workerfn(void *arg __maybe_unused) in workerfn() 106 static void toggle_done(int sig __maybe_unused, in toggle_done() 107 siginfo_t *info __maybe_unused, in toggle_done() 108 void *uc __maybe_unused) in toggle_done() 114 const char *prefix __maybe_unused) in bench_futex_wake()
|
| D | futex-hash.c | 89 static void toggle_done(int sig __maybe_unused, in toggle_done() 90 siginfo_t *info __maybe_unused, in toggle_done() 91 void *uc __maybe_unused) in toggle_done() 110 const char *prefix __maybe_unused) in bench_futex_hash()
|
| D | futex-wake-parallel.c | 98 static void *blocked_workerfn(void *arg __maybe_unused) in blocked_workerfn() 188 static void toggle_done(int sig __maybe_unused, in toggle_done() 189 siginfo_t *info __maybe_unused, in toggle_done() 190 void *uc __maybe_unused) in toggle_done() 196 const char *prefix __maybe_unused) in bench_futex_wake_parallel()
|
| D | futex-lock-pi.c | 62 static void toggle_done(int sig __maybe_unused, in toggle_done() 63 siginfo_t *info __maybe_unused, in toggle_done() 64 void *uc __maybe_unused) in toggle_done() 138 const char *prefix __maybe_unused) in bench_futex_lock_pi()
|
| /tools/perf/ui/ |
| D | helpline.c | 15 static void nop_helpline__push(const char *msg __maybe_unused) in nop_helpline__push() 19 static int nop_helpline__show(const char *fmt __maybe_unused, in nop_helpline__show() 20 va_list ap __maybe_unused) in nop_helpline__show()
|
| /tools/perf/arch/x86/util/ |
| D | kvm-stat.c | 64 static void mmio_event_decode_key(struct perf_kvm_stat *kvm __maybe_unused, in mmio_event_decode_key() 102 struct perf_sample *sample __maybe_unused, in ioport_event_end() 103 struct event_key *key __maybe_unused) in ioport_event_end() 108 static void ioport_event_decode_key(struct perf_kvm_stat *kvm __maybe_unused, in ioport_event_decode_key()
|