/tools/perf/util/ |
D | bpf-loader.h | 91 bpf__prepare_load(const char *filename __maybe_unused, in bpf__prepare_load() argument 92 bool source __maybe_unused) in bpf__prepare_load() argument 99 bpf__prepare_load_buffer(void *obj_buf __maybe_unused, in bpf__prepare_load_buffer() argument 100 size_t obj_buf_sz __maybe_unused) in bpf__prepare_load_buffer() argument 107 static inline int bpf__probe(struct bpf_object *obj __maybe_unused) { return 0;} in bpf__probe() argument 108 static inline int bpf__unprobe(struct bpf_object *obj __maybe_unused) { return 0;} in bpf__unprobe() argument 109 static inline int bpf__load(struct bpf_object *obj __maybe_unused) { return 0; } in bpf__load() argument 112 bpf__foreach_event(struct bpf_object *obj __maybe_unused, in bpf__foreach_event() argument 113 bpf_prog_iter_callback_t func __maybe_unused, in bpf__foreach_event() argument 114 void *arg __maybe_unused) in bpf__foreach_event() argument [all …]
|
D | compress.h | 40 static inline int zstd_init(struct zstd_data *data __maybe_unused, int level __maybe_unused) in zstd_init() argument 45 static inline int zstd_fini(struct zstd_data *data __maybe_unused) in zstd_fini() argument 51 size_t zstd_compress_stream_to_records(struct zstd_data *data __maybe_unused, in zstd_compress_stream_to_records() argument 52 void *dst __maybe_unused, size_t dst_size __maybe_unused, in zstd_compress_stream_to_records() argument 53 void *src __maybe_unused, size_t src_size __maybe_unused, in zstd_compress_stream_to_records() argument 54 size_t max_record_size __maybe_unused, in zstd_compress_stream_to_records() argument 55 size_t process_header(void *record, size_t increment) __maybe_unused) in zstd_compress_stream_to_records() 60 …line size_t zstd_decompress_stream(struct zstd_data *data __maybe_unused, void *src __maybe_unused, in zstd_decompress_stream() argument 61 size_t src_size __maybe_unused, void *dst __maybe_unused, in zstd_decompress_stream() argument 62 size_t dst_size __maybe_unused) in zstd_decompress_stream() argument
|
D | unwind.h | 55 static inline int unwind__prepare_access(struct map_groups *mg __maybe_unused, in unwind__prepare_access() argument 56 struct map *map __maybe_unused, in unwind__prepare_access() argument 57 bool *initialized __maybe_unused) in unwind__prepare_access() argument 62 static inline void unwind__flush_access(struct map_groups *mg __maybe_unused) {} in unwind__flush_access() argument 63 static inline void unwind__finish_access(struct map_groups *mg __maybe_unused) {} in unwind__finish_access() argument 67 unwind__get_entries(unwind_entry_cb_t cb __maybe_unused, in unwind__get_entries() argument 68 void *arg __maybe_unused, in unwind__get_entries() argument 69 struct thread *thread __maybe_unused, in unwind__get_entries() argument 70 struct perf_sample *data __maybe_unused, in unwind__get_entries() argument 71 int max_stack __maybe_unused) in unwind__get_entries() argument [all …]
|
D | trace-event-scripting.c | 29 static void process_event_unsupported(union perf_event *event __maybe_unused, in process_event_unsupported() argument 30 struct perf_sample *sample __maybe_unused, in process_event_unsupported() argument 31 struct evsel *evsel __maybe_unused, in process_event_unsupported() argument 32 struct addr_location *al __maybe_unused) in process_event_unsupported() argument 45 static int python_start_script_unsupported(const char *script __maybe_unused, in python_start_script_unsupported() argument 46 int argc __maybe_unused, in python_start_script_unsupported() argument 47 const char **argv __maybe_unused) in python_start_script_unsupported() argument 55 __maybe_unused, in python_generate_script_unsupported() 57 __maybe_unused) in python_generate_script_unsupported() argument 109 static int perl_start_script_unsupported(const char *script __maybe_unused, in perl_start_script_unsupported() argument [all …]
|
D | dump-insn.c | 8 const char *dump_insn(struct perf_insn *x __maybe_unused, in dump_insn() argument 9 u64 ip __maybe_unused, u8 *inbuf __maybe_unused, in dump_insn() argument 10 int inlen __maybe_unused, int *lenp) in dump_insn() argument 18 int arch_is_branch(const unsigned char *buf __maybe_unused, in arch_is_branch() argument 19 size_t len __maybe_unused, in arch_is_branch() argument 20 int x86_64 __maybe_unused) in arch_is_branch() argument
|
D | bpf-event.h | 42 static inline int machine__process_bpf(struct machine *machine __maybe_unused, in machine__process_bpf() argument 43 union perf_event *event __maybe_unused, in machine__process_bpf() argument 44 struct perf_sample *sample __maybe_unused) in machine__process_bpf() argument 49 static inline int bpf_event__add_sb_event(struct evlist **evlist __maybe_unused, in bpf_event__add_sb_event() argument 50 struct perf_env *env __maybe_unused) in bpf_event__add_sb_event() argument 55 static inline void bpf_event__print_bpf_prog_info(struct bpf_prog_info *info __maybe_unused, in bpf_event__print_bpf_prog_info() argument 56 struct perf_env *env __maybe_unused, in bpf_event__print_bpf_prog_info() argument 57 FILE *fp __maybe_unused) in bpf_event__print_bpf_prog_info() argument
|
D | cs-etm.h | 188 cs_etm__process_auxtrace_info(union perf_event *event __maybe_unused, in cs_etm__process_auxtrace_info() argument 189 struct perf_session *session __maybe_unused) in cs_etm__process_auxtrace_info() argument 194 static inline int cs_etm__get_cpu(u8 trace_chan_id __maybe_unused, in cs_etm__get_cpu() argument 195 int *cpu __maybe_unused) in cs_etm__get_cpu() argument 201 struct cs_etm_queue *etmq __maybe_unused, in cs_etm__etmq_set_tid() argument 202 pid_t tid __maybe_unused, in cs_etm__etmq_set_tid() argument 203 u8 trace_chan_id __maybe_unused) in cs_etm__etmq_set_tid() argument 209 struct cs_etm_queue *etmq __maybe_unused) in cs_etm__etmq_is_timeless() argument 216 struct cs_etm_queue *etmq __maybe_unused, in cs_etm__etmq_set_traceid_queue_timestamp() argument 217 u8 trace_chan_id __maybe_unused) {} in cs_etm__etmq_set_traceid_queue_timestamp() argument [all …]
|
D | auxtrace.h | 592 auxtrace_record__init(struct evlist *evlist __maybe_unused, in auxtrace_record__init() argument 600 void auxtrace_record__free(struct auxtrace_record *itr __maybe_unused) in auxtrace_record__free() argument 605 int auxtrace_record__options(struct auxtrace_record *itr __maybe_unused, in auxtrace_record__options() argument 606 struct evlist *evlist __maybe_unused, in auxtrace_record__options() argument 607 struct record_opts *opts __maybe_unused) in auxtrace_record__options() argument 618 __maybe_unused, in perf_session__auxtrace_error_inc() 620 __maybe_unused) in perf_session__auxtrace_error_inc() 626 __maybe_unused) in events_stats__auxtrace_error_warn() 631 int itrace_parse_synth_opts(const struct option *opt __maybe_unused, in itrace_parse_synth_opts() argument 632 const char *str __maybe_unused, in itrace_parse_synth_opts() argument [all …]
|
D | symbol-minimal.c | 77 int filename__read_debuglink(const char *filename __maybe_unused, in filename__read_debuglink() argument 78 char *debuglink __maybe_unused, in filename__read_debuglink() argument 79 size_t size __maybe_unused) in filename__read_debuglink() argument 276 bool symsrc__possibly_runtime(struct symsrc *ss __maybe_unused) in symsrc__possibly_runtime() argument 282 bool symsrc__has_symtab(struct symsrc *ss __maybe_unused) in symsrc__has_symtab() argument 293 int dso__synthesize_plt_symbols(struct dso *dso __maybe_unused, in dso__synthesize_plt_symbols() argument 294 struct symsrc *ss __maybe_unused) in dso__synthesize_plt_symbols() argument 337 int dso__load_sym(struct dso *dso, struct map *map __maybe_unused, in dso__load_sym() argument 339 struct symsrc *runtime_ss __maybe_unused, in dso__load_sym() argument 340 int kmodule __maybe_unused) in dso__load_sym() argument [all …]
|
D | bpf-prologue.h | 25 bpf__gen_prologue(struct probe_trace_arg *args __maybe_unused, in bpf__gen_prologue() argument 26 int nargs __maybe_unused, in bpf__gen_prologue() argument 27 struct bpf_insn *new_prog __maybe_unused, in bpf__gen_prologue() argument 29 size_t cnt_space __maybe_unused) in bpf__gen_prologue() argument
|
D | perf_regs.h | 42 static inline const char *perf_reg_name(int id __maybe_unused) in perf_reg_name() argument 47 static inline int perf_reg_value(u64 *valp __maybe_unused, in perf_reg_value() argument 48 struct regs_dump *regs __maybe_unused, in perf_reg_value() argument 49 int id __maybe_unused) in perf_reg_value() argument
|
D | mmap.c | 138 int __weak auxtrace_mmap__mmap(struct auxtrace_mmap *mm __maybe_unused, in auxtrace_mmap__mmap() argument 139 struct auxtrace_mmap_params *mp __maybe_unused, in auxtrace_mmap__mmap() argument 140 void *userpg __maybe_unused, in auxtrace_mmap__mmap() argument 141 int fd __maybe_unused) in auxtrace_mmap__mmap() argument 146 void __weak auxtrace_mmap__munmap(struct auxtrace_mmap *mm __maybe_unused) in auxtrace_mmap__munmap() argument 150 void __weak auxtrace_mmap_params__init(struct auxtrace_mmap_params *mp __maybe_unused, in auxtrace_mmap_params__init() argument 151 off_t auxtrace_offset __maybe_unused, in auxtrace_mmap_params__init() argument 152 unsigned int auxtrace_pages __maybe_unused, in auxtrace_mmap_params__init() argument 153 bool auxtrace_overwrite __maybe_unused) in auxtrace_mmap_params__init() argument 157 void __weak auxtrace_mmap_params__set_idx(struct auxtrace_mmap_params *mp __maybe_unused, in auxtrace_mmap_params__set_idx() argument [all …]
|
D | unwind-libunwind-local.c | 429 static int access_fpreg(unw_addr_space_t __maybe_unused as, in access_fpreg() 430 unw_regnum_t __maybe_unused num, in access_fpreg() 431 unw_fpreg_t __maybe_unused *val, in access_fpreg() 432 int __maybe_unused __write, in access_fpreg() 433 void __maybe_unused *arg) in access_fpreg() 439 static int get_dyn_info_list_addr(unw_addr_space_t __maybe_unused as, in get_dyn_info_list_addr() 440 unw_word_t __maybe_unused *dil_addr, in get_dyn_info_list_addr() 441 void __maybe_unused *arg) in get_dyn_info_list_addr() 446 static int resume(unw_addr_space_t __maybe_unused as, in resume() 447 unw_cursor_t __maybe_unused *cu, in resume() [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() argument 26 struct perf_sample *sample __maybe_unused, in process_stat_config_event() argument 27 struct machine *machine __maybe_unused) in process_stat_config_event() argument 50 int test__synthesize_stat_config(struct test *test __maybe_unused, int subtest __maybe_unused) in test__synthesize_stat_config() argument 64 static int process_stat_event(struct perf_tool *tool __maybe_unused, in process_stat_event() argument 66 struct perf_sample *sample __maybe_unused, in process_stat_event() argument 67 struct machine *machine __maybe_unused) in process_stat_event() argument 80 int test__synthesize_stat(struct test *test __maybe_unused, int subtest __maybe_unused) in test__synthesize_stat() argument 94 static int process_stat_round_event(struct perf_tool *tool __maybe_unused, in process_stat_round_event() argument 96 struct perf_sample *sample __maybe_unused, in process_stat_round_event() argument [all …]
|
D | event_update.c | 15 static int process_event_unit(struct perf_tool *tool __maybe_unused, in process_event_unit() argument 17 struct perf_sample *sample __maybe_unused, in process_event_unit() argument 18 struct machine *machine __maybe_unused) in process_event_unit() argument 28 static int process_event_scale(struct perf_tool *tool __maybe_unused, in process_event_scale() argument 30 struct perf_sample *sample __maybe_unused, in process_event_scale() argument 31 struct machine *machine __maybe_unused) in process_event_scale() argument 51 struct perf_sample *sample __maybe_unused, in process_event_name() argument 52 struct machine *machine __maybe_unused) in process_event_name() argument 63 static int process_event_cpus(struct perf_tool *tool __maybe_unused, in process_event_cpus() argument 65 struct perf_sample *sample __maybe_unused, in process_event_cpus() argument [all …]
|
D | cpumap.c | 14 static int process_event_mask(struct perf_tool *tool __maybe_unused, in process_event_mask() argument 16 struct perf_sample *sample __maybe_unused, in process_event_mask() argument 17 struct machine *machine __maybe_unused) in process_event_mask() argument 48 static int process_event_cpus(struct perf_tool *tool __maybe_unused, in process_event_cpus() argument 50 struct perf_sample *sample __maybe_unused, in process_event_cpus() argument 51 struct machine *machine __maybe_unused) in process_event_cpus() argument 78 int test__cpu_map_synthesize(struct test *test __maybe_unused, int subtest __maybe_unused) in test__cpu_map_synthesize() argument 112 int test__cpu_map_print(struct test *test __maybe_unused, int subtest __maybe_unused) in test__cpu_map_print() argument
|
D | thread-map.c | 22 int test__thread_map(struct test *test __maybe_unused, int subtest __maybe_unused) in test__thread_map() argument 62 static int process_event(struct perf_tool *tool __maybe_unused, in process_event() argument 64 struct perf_sample *sample __maybe_unused, in process_event() argument 65 struct machine *machine __maybe_unused) in process_event() argument 89 int test__thread_map_synthesize(struct test *test __maybe_unused, int subtest __maybe_unused) in test__thread_map_synthesize() argument 108 int test__thread_map_remove(struct test *test __maybe_unused, int subtest __maybe_unused) in test__thread_map_remove() argument
|
D | bp_signal.c | 66 static void sig_handler_2(int signum __maybe_unused, in sig_handler_2() argument 67 siginfo_t *oh __maybe_unused, in sig_handler_2() argument 68 void *uc __maybe_unused) in sig_handler_2() argument 78 static void sig_handler(int signum __maybe_unused, in sig_handler() argument 79 siginfo_t *oh __maybe_unused, in sig_handler() argument 80 void *uc __maybe_unused) in sig_handler() argument 161 int test__bp_signal(struct test *test __maybe_unused, int subtest __maybe_unused) in test__bp_signal() argument
|
D | task-exit.c | 19 static void sig_handler(int sig __maybe_unused) in sig_handler() argument 28 static void workload_exec_failed_signal(int signo __maybe_unused, in workload_exec_failed_signal() argument 29 siginfo_t *info __maybe_unused, in workload_exec_failed_signal() argument 30 void *ucontext __maybe_unused) in workload_exec_failed_signal() argument 41 int test__task_exit(struct test *test __maybe_unused, int subtest __maybe_unused) in test__task_exit() argument
|
D | perf-hooks.c | 9 static void sigsegv_handler(int sig __maybe_unused) in sigsegv_handler() argument 29 int test__perf_hooks(struct test *test __maybe_unused, int subtest __maybe_unused) in test__perf_hooks() argument
|
D | clang.c | 35 int test__clang(struct test *test __maybe_unused, int i __maybe_unused) in test__clang() argument 40 int test__clang(struct test *test __maybe_unused, int i) in test__clang() argument
|
/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() argument 25 struct evlist *evlist __maybe_unused) in cpumsf_info_priv_size() argument 31 cpumsf_info_fill(struct auxtrace_record *itr __maybe_unused, in cpumsf_info_fill() argument 32 struct perf_session *session __maybe_unused, in cpumsf_info_fill() argument 33 struct perf_record_auxtrace_info *auxtrace_info __maybe_unused, in cpumsf_info_fill() argument 34 size_t priv_size __maybe_unused) in cpumsf_info_fill() argument 41 cpumsf_reference(struct auxtrace_record *itr __maybe_unused) in cpumsf_reference() argument 47 cpumsf_recording_options(struct auxtrace_record *ar __maybe_unused, in cpumsf_recording_options() argument 48 struct evlist *evlist __maybe_unused, in cpumsf_recording_options() argument 76 cpumsf_parse_snapshot_options(struct auxtrace_record *itr __maybe_unused, in cpumsf_parse_snapshot_options() argument [all …]
|
/tools/testing/selftests/net/ |
D | psock_lib.h | 23 #ifndef __maybe_unused 24 # define __maybe_unused __attribute__ ((__unused__)) macro 27 static __maybe_unused void pair_udp_setfilter(int fd) in pair_udp_setfilter() 75 static __maybe_unused void pair_udp_open(int fds[], uint16_t port) in pair_udp_open() 111 static __maybe_unused void pair_udp_send_char(int fds[], int num, char payload) in pair_udp_send_char() 133 static __maybe_unused void pair_udp_send(int fds[], int num) in pair_udp_send() 138 static __maybe_unused void pair_udp_close(int fds[]) in pair_udp_close()
|
/tools/perf/util/c++/ |
D | clang-c.h | 33 perf_clang__compile_bpf(const char *filename __maybe_unused, 34 void **p_obj_buf __maybe_unused, 35 size_t *p_obj_buf_sz __maybe_unused)
|
/tools/perf/arch/x86/include/ |
D | arch-tests.h | 9 int test__rdpmc(struct test *test __maybe_unused, int subtest); 10 int test__perf_time_to_tsc(struct test *test __maybe_unused, int subtest); 11 int test__insn_x86(struct test *test __maybe_unused, int subtest);
|