/tools/perf/util/ |
D | iostat.c | 7 __weak int iostat_prepare(struct evlist *evlist __maybe_unused, in iostat_prepare() 8 struct perf_stat_config *config __maybe_unused) in iostat_prepare() 13 __weak int iostat_parse(const struct option *opt __maybe_unused, in iostat_parse() 14 const char *str __maybe_unused, in iostat_parse() 15 int unset __maybe_unused) in iostat_parse() 21 __weak void iostat_list(struct evlist *evlist __maybe_unused, in iostat_list() 22 struct perf_stat_config *config __maybe_unused) in iostat_list() 26 __weak void iostat_release(struct evlist *evlist __maybe_unused) in iostat_release() 30 __weak void iostat_print_header_prefix(struct perf_stat_config *config __maybe_unused) in iostat_print_header_prefix() 34 __weak void iostat_print_metric(struct perf_stat_config *config __maybe_unused, in iostat_print_metric() [all …]
|
D | compress.h | 40 static inline int zstd_init(struct zstd_data *data __maybe_unused, int level __maybe_unused) in zstd_init() 45 static inline int zstd_fini(struct zstd_data *data __maybe_unused) in zstd_fini() 51 size_t zstd_compress_stream_to_records(struct zstd_data *data __maybe_unused, in zstd_compress_stream_to_records() 52 void *dst __maybe_unused, size_t dst_size __maybe_unused, in zstd_compress_stream_to_records() 53 void *src __maybe_unused, size_t src_size __maybe_unused, in zstd_compress_stream_to_records() 54 size_t max_record_size __maybe_unused, in zstd_compress_stream_to_records() 60 static inline size_t zstd_decompress_stream(struct zstd_data *data __maybe_unused, void *src __mayb… in zstd_decompress_stream() 61 size_t src_size __maybe_unused, void *dst __maybe_unused, in zstd_decompress_stream() 62 size_t dst_size __maybe_unused) in zstd_decompress_stream()
|
D | bpf-loader.h | 94 bpf__prepare_load(const char *filename __maybe_unused, in bpf__prepare_load() 95 bool source __maybe_unused) in bpf__prepare_load() 102 bpf__prepare_load_buffer(void *obj_buf __maybe_unused, in bpf__prepare_load_buffer() 103 size_t obj_buf_sz __maybe_unused) in bpf__prepare_load_buffer() 110 static inline int bpf__probe(struct bpf_object *obj __maybe_unused) { return 0;} in bpf__probe() 111 static inline int bpf__unprobe(struct bpf_object *obj __maybe_unused) { return 0;} in bpf__unprobe() 112 static inline int bpf__load(struct bpf_object *obj __maybe_unused) { return 0; } in bpf__load() 115 bpf__foreach_event(struct bpf_object *obj __maybe_unused, in bpf__foreach_event() 116 bpf_prog_iter_callback_t func __maybe_unused, in bpf__foreach_event() 117 void *arg __maybe_unused) in bpf__foreach_event() [all …]
|
D | unwind.h | 52 static inline int unwind__prepare_access(struct maps *maps __maybe_unused, in unwind__prepare_access() 53 struct map *map __maybe_unused, in unwind__prepare_access() 54 bool *initialized __maybe_unused) in unwind__prepare_access() 59 static inline void unwind__flush_access(struct maps *maps __maybe_unused) {} in unwind__flush_access() 60 static inline void unwind__finish_access(struct maps *maps __maybe_unused) {} in unwind__finish_access() 64 unwind__get_entries(unwind_entry_cb_t cb __maybe_unused, in unwind__get_entries() 65 void *arg __maybe_unused, in unwind__get_entries() 66 struct thread *thread __maybe_unused, in unwind__get_entries() 67 struct perf_sample *data __maybe_unused, in unwind__get_entries() 68 int max_stack __maybe_unused) in unwind__get_entries() [all …]
|
D | trace-event-scripting.c | 50 static void process_event_unsupported(union perf_event *event __maybe_unused, in process_event_unsupported() 51 struct perf_sample *sample __maybe_unused, in process_event_unsupported() 52 struct evsel *evsel __maybe_unused, in process_event_unsupported() 53 struct addr_location *al __maybe_unused, in process_event_unsupported() 54 struct addr_location *addr_al __maybe_unused) in process_event_unsupported() 67 static int python_start_script_unsupported(const char *script __maybe_unused, in python_start_script_unsupported() 68 int argc __maybe_unused, in python_start_script_unsupported() 69 const char **argv __maybe_unused, in python_start_script_unsupported() 70 struct perf_session *session __maybe_unused) in python_start_script_unsupported() 77 static int python_generate_script_unsupported(struct tep_handle *pevent in python_generate_script_unsupported() [all …]
|
D | synthetic-events.h | 83 perf_event__synthesize_auxtrace_info(struct auxtrace_record *itr __maybe_unused, in perf_event__synthesize_auxtrace_info() 84 struct perf_tool *tool __maybe_unused, in perf_event__synthesize_auxtrace_info() 85 struct perf_session *session __maybe_unused, in perf_event__synthesize_auxtrace_info() 86 perf_event__handler_t process __maybe_unused) in perf_event__synthesize_auxtrace_info() 96 static inline int perf_event__synthesize_bpf_events(struct perf_session *session __maybe_unused, in perf_event__synthesize_bpf_events() 97 perf_event__handler_t process __maybe_unused, in perf_event__synthesize_bpf_events() 98 struct machine *machine __maybe_unused, in perf_event__synthesize_bpf_events() 99 struct record_opts *opts __maybe_unused) in perf_event__synthesize_bpf_events()
|
D | dump-insn.c | 8 const char *dump_insn(struct perf_insn *x __maybe_unused, in dump_insn() 9 u64 ip __maybe_unused, u8 *inbuf __maybe_unused, in dump_insn() 10 int inlen __maybe_unused, int *lenp) in dump_insn() 18 int arch_is_branch(const unsigned char *buf __maybe_unused, in arch_is_branch() 19 size_t len __maybe_unused, in arch_is_branch() 20 int x86_64 __maybe_unused) in arch_is_branch()
|
D | mmap.c | 44 int __weak auxtrace_mmap__mmap(struct auxtrace_mmap *mm __maybe_unused, in auxtrace_mmap__mmap() 45 struct auxtrace_mmap_params *mp __maybe_unused, in auxtrace_mmap__mmap() 46 void *userpg __maybe_unused, in auxtrace_mmap__mmap() 47 int fd __maybe_unused) in auxtrace_mmap__mmap() 52 void __weak auxtrace_mmap__munmap(struct auxtrace_mmap *mm __maybe_unused) in auxtrace_mmap__munmap() 56 void __weak auxtrace_mmap_params__init(struct auxtrace_mmap_params *mp __maybe_unused, in auxtrace_mmap_params__init() 57 off_t auxtrace_offset __maybe_unused, in auxtrace_mmap_params__init() 58 unsigned int auxtrace_pages __maybe_unused, in auxtrace_mmap_params__init() 59 bool auxtrace_overwrite __maybe_unused) in auxtrace_mmap_params__init() 63 void __weak auxtrace_mmap_params__set_idx(struct auxtrace_mmap_params *mp __maybe_unused, in auxtrace_mmap_params__set_idx() [all …]
|
D | symbol-minimal.c | 79 int filename__read_debuglink(const char *filename __maybe_unused, in filename__read_debuglink() 80 char *debuglink __maybe_unused, in filename__read_debuglink() 81 size_t size __maybe_unused) in filename__read_debuglink() 278 bool symsrc__possibly_runtime(struct symsrc *ss __maybe_unused) in symsrc__possibly_runtime() 284 bool symsrc__has_symtab(struct symsrc *ss __maybe_unused) in symsrc__has_symtab() 295 int dso__synthesize_plt_symbols(struct dso *dso __maybe_unused, in dso__synthesize_plt_symbols() 296 struct symsrc *ss __maybe_unused) in dso__synthesize_plt_symbols() 339 int dso__load_sym(struct dso *dso, struct map *map __maybe_unused, in dso__load_sym() 341 struct symsrc *runtime_ss __maybe_unused, in dso__load_sym() 342 int kmodule __maybe_unused) in dso__load_sym() [all …]
|
D | bpf-event.h | 41 static inline int machine__process_bpf(struct machine *machine __maybe_unused, in machine__process_bpf() 42 union perf_event *event __maybe_unused, in machine__process_bpf() 43 struct perf_sample *sample __maybe_unused) in machine__process_bpf() 48 static inline int evlist__add_bpf_sb_event(struct evlist *evlist __maybe_unused, in evlist__add_bpf_sb_event() 49 struct perf_env *env __maybe_unused) in evlist__add_bpf_sb_event() 54 static inline void __bpf_event__print_bpf_prog_info(struct bpf_prog_info *info __maybe_unused, in __bpf_event__print_bpf_prog_info() 55 struct perf_env *env __maybe_unused, in __bpf_event__print_bpf_prog_info() 56 FILE *fp __maybe_unused) in __bpf_event__print_bpf_prog_info()
|
D | auxtrace.h | 447 int kernel_is_64_bit __maybe_unused) in auxtrace_mmap__read_head() 464 int kernel_is_64_bit __maybe_unused) in auxtrace_mmap__write_tail() 675 auxtrace_record__init(struct evlist *evlist __maybe_unused, in auxtrace_record__init() 683 void auxtrace_record__free(struct auxtrace_record *itr __maybe_unused) in auxtrace_record__free() 688 int auxtrace_record__options(struct auxtrace_record *itr __maybe_unused, in auxtrace_record__options() 689 struct evlist *evlist __maybe_unused, in auxtrace_record__options() 690 struct record_opts *opts __maybe_unused) in auxtrace_record__options() 696 int perf_event__process_auxtrace_info(struct perf_session *session __maybe_unused, in perf_event__process_auxtrace_info() 697 union perf_event *event __maybe_unused) in perf_event__process_auxtrace_info() 703 s64 perf_event__process_auxtrace(struct perf_session *session __maybe_unused, in perf_event__process_auxtrace() [all …]
|
D | pfm.h | 22 const struct option *opt __maybe_unused, in parse_libpfm_events_option() 23 const char *str __maybe_unused, in parse_libpfm_events_option() 24 int unset __maybe_unused) in parse_libpfm_events_option() 29 static inline void print_libpfm_events(bool name_only __maybe_unused, in print_libpfm_events() 30 bool long_desc __maybe_unused) in print_libpfm_events()
|
D | bpf_counter.h | 52 static inline int bpf_counter__load(struct evsel *evsel __maybe_unused, in bpf_counter__load() 53 struct target *target __maybe_unused) in bpf_counter__load() 58 static inline int bpf_counter__enable(struct evsel *evsel __maybe_unused) in bpf_counter__enable() 63 static inline int bpf_counter__disable(struct evsel *evsel __maybe_unused) in bpf_counter__disable() 68 static inline int bpf_counter__read(struct evsel *evsel __maybe_unused) in bpf_counter__read() 73 static inline void bpf_counter__destroy(struct evsel *evsel __maybe_unused) in bpf_counter__destroy() 77 static inline int bpf_counter__install_pe(struct evsel *evsel __maybe_unused, in bpf_counter__install_pe() 78 int cpu __maybe_unused, in bpf_counter__install_pe() 79 int fd __maybe_unused) in bpf_counter__install_pe()
|
D | bpf-prologue.h | 25 bpf__gen_prologue(struct probe_trace_arg *args __maybe_unused, in bpf__gen_prologue() 26 int nargs __maybe_unused, in bpf__gen_prologue() 27 struct bpf_insn *new_prog __maybe_unused, in bpf__gen_prologue() 29 size_t cnt_space __maybe_unused) in bpf__gen_prologue()
|
D | session.c | 314 static int process_event_synth_tracing_data_stub(struct perf_session *session in process_event_synth_tracing_data_stub() 316 union perf_event *event in process_event_synth_tracing_data_stub() 323 static int process_event_synth_attr_stub(struct perf_tool *tool __maybe_unused, in process_event_synth_attr_stub() 324 union perf_event *event __maybe_unused, in process_event_synth_attr_stub() 325 struct evlist **pevlist in process_event_synth_attr_stub() 332 static int process_event_synth_event_update_stub(struct perf_tool *tool __maybe_unused, in process_event_synth_event_update_stub() 333 union perf_event *event __maybe_unused, in process_event_synth_event_update_stub() 334 struct evlist **pevlist in process_event_synth_event_update_stub() 344 static int process_event_sample_stub(struct perf_tool *tool __maybe_unused, in process_event_sample_stub() 345 union perf_event *event __maybe_unused, in process_event_sample_stub() [all …]
|
/tools/perf/tests/ |
D | stat.c | 24 static int process_stat_config_event(struct perf_tool *tool __maybe_unused, in process_stat_config_event() 26 struct perf_sample *sample __maybe_unused, in process_stat_config_event() 27 struct machine *machine __maybe_unused) in process_stat_config_event() 50 int test__synthesize_stat_config(struct test *test __maybe_unused, int subtest __maybe_unused) in test__synthesize_stat_config() 64 static int process_stat_event(struct perf_tool *tool __maybe_unused, in process_stat_event() 66 struct perf_sample *sample __maybe_unused, in process_stat_event() 67 struct machine *machine __maybe_unused) in process_stat_event() 80 int test__synthesize_stat(struct test *test __maybe_unused, int subtest __maybe_unused) in test__synthesize_stat() 94 static int process_stat_round_event(struct perf_tool *tool __maybe_unused, in process_stat_round_event() 96 struct perf_sample *sample __maybe_unused, in process_stat_round_event() [all …]
|
D | event_update.c | 15 static int process_event_unit(struct perf_tool *tool __maybe_unused, in process_event_unit() 17 struct perf_sample *sample __maybe_unused, in process_event_unit() 18 struct machine *machine __maybe_unused) in process_event_unit() 28 static int process_event_scale(struct perf_tool *tool __maybe_unused, in process_event_scale() 30 struct perf_sample *sample __maybe_unused, in process_event_scale() 31 struct machine *machine __maybe_unused) in process_event_scale() 51 struct perf_sample *sample __maybe_unused, in process_event_name() 52 struct machine *machine __maybe_unused) in process_event_name() 63 static int process_event_cpus(struct perf_tool *tool __maybe_unused, in process_event_cpus() 65 struct perf_sample *sample __maybe_unused, in process_event_cpus() [all …]
|
D | cpumap.c | 14 static int process_event_mask(struct perf_tool *tool __maybe_unused, in process_event_mask() 16 struct perf_sample *sample __maybe_unused, in process_event_mask() 17 struct machine *machine __maybe_unused) in process_event_mask() 48 static int process_event_cpus(struct perf_tool *tool __maybe_unused, in process_event_cpus() 50 struct perf_sample *sample __maybe_unused, in process_event_cpus() 51 struct machine *machine __maybe_unused) in process_event_cpus() 78 int test__cpu_map_synthesize(struct test *test __maybe_unused, int subtest __maybe_unused) in test__cpu_map_synthesize() 114 int test__cpu_map_print(struct test *test __maybe_unused, int subtest __maybe_unused) in test__cpu_map_print() 126 int test__cpu_map_merge(struct test *test __maybe_unused, int subtest __maybe_unused) in test__cpu_map_merge()
|
D | thread-map.c | 22 int test__thread_map(struct test *test __maybe_unused, int subtest __maybe_unused) in test__thread_map() 62 static int process_event(struct perf_tool *tool __maybe_unused, in process_event() 64 struct perf_sample *sample __maybe_unused, in process_event() 65 struct machine *machine __maybe_unused) in process_event() 89 int test__thread_map_synthesize(struct test *test __maybe_unused, int subtest __maybe_unused) in test__thread_map_synthesize() 109 int test__thread_map_remove(struct test *test __maybe_unused, int subtest __maybe_unused) in test__thread_map_remove()
|
D | task-exit.c | 20 static void sig_handler(int sig __maybe_unused) in sig_handler() 29 static void workload_exec_failed_signal(int signo __maybe_unused, in workload_exec_failed_signal() 30 siginfo_t *info __maybe_unused, in workload_exec_failed_signal() 31 void *ucontext __maybe_unused) in workload_exec_failed_signal() 42 int test__task_exit(struct test *test __maybe_unused, int subtest __maybe_unused) in test__task_exit()
|
D | bp_signal.c | 69 static void sig_handler_2(int signum __maybe_unused, in sig_handler_2() 70 siginfo_t *oh __maybe_unused, in sig_handler_2() 71 void *uc __maybe_unused) in sig_handler_2() 81 static void sig_handler(int signum __maybe_unused, in sig_handler() 82 siginfo_t *oh __maybe_unused, in sig_handler() 83 void *uc __maybe_unused) in sig_handler() 164 int test__bp_signal(struct test *test __maybe_unused, int subtest __maybe_unused) in test__bp_signal()
|
D | bp_signal_overflow.c | 38 static void sig_handler(int signum __maybe_unused, in sig_handler() 39 siginfo_t *oh __maybe_unused, in sig_handler() 40 void *uc __maybe_unused) in sig_handler() 62 int test__bp_signal_overflow(struct test *test __maybe_unused, int subtest __maybe_unused) in test__bp_signal_overflow()
|
D | pe-file-parsing.c | 71 int test__pe_file_parsing(struct test *test __maybe_unused, in test__pe_file_parsing() 72 int subtest __maybe_unused) in test__pe_file_parsing() 92 int test__pe_file_parsing(struct test *test __maybe_unused, in test__pe_file_parsing() 93 int subtest __maybe_unused) in test__pe_file_parsing()
|
/tools/perf/arch/s390/util/ |
D | auxtrace.c | 24 static size_t cpumsf_info_priv_size(struct auxtrace_record *itr __maybe_unused, in cpumsf_info_priv_size() 25 struct evlist *evlist __maybe_unused) in cpumsf_info_priv_size() 31 cpumsf_info_fill(struct auxtrace_record *itr __maybe_unused, in cpumsf_info_fill() 32 struct perf_session *session __maybe_unused, in cpumsf_info_fill() 33 struct perf_record_auxtrace_info *auxtrace_info __maybe_unused, in cpumsf_info_fill() 34 size_t priv_size __maybe_unused) in cpumsf_info_fill() 41 cpumsf_reference(struct auxtrace_record *itr __maybe_unused) in cpumsf_reference() 47 cpumsf_recording_options(struct auxtrace_record *ar __maybe_unused, in cpumsf_recording_options() 48 struct evlist *evlist __maybe_unused, in cpumsf_recording_options() 76 cpumsf_parse_snapshot_options(struct auxtrace_record *itr __maybe_unused, in cpumsf_parse_snapshot_options() [all …]
|
/tools/perf/ |
D | builtin-inject.c | 91 struct ordered_events *oe __maybe_unused) in perf_event__repipe_oe_synth() 97 static int perf_event__drop_oe(struct perf_tool *tool __maybe_unused, in perf_event__drop_oe() 98 union perf_event *event __maybe_unused, in perf_event__drop_oe() 99 struct ordered_events *oe __maybe_unused) in perf_event__drop_oe() 113 u64 data __maybe_unused) in perf_event__repipe_op4_synth() 138 struct evlist **pevlist __maybe_unused) in perf_event__repipe_event_update() 205 perf_event__repipe_auxtrace(struct perf_session *session __maybe_unused, in perf_event__repipe_auxtrace() 206 union perf_event *event __maybe_unused) in perf_event__repipe_auxtrace() 216 struct perf_sample *sample __maybe_unused, in perf_event__repipe() 217 struct machine *machine __maybe_unused) in perf_event__repipe() [all …]
|