Home
last modified time | relevance | path

Searched defs:__maybe_unused (Results 1 – 25 of 222) sorted by relevance

123456789

/tools/perf/util/
Dcompress.h40 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()
Dbpf-loader.h91 bpf__prepare_load(const char *filename __maybe_unused, in bpf__prepare_load()
92 bool source __maybe_unused) in bpf__prepare_load()
99 bpf__prepare_load_buffer(void *obj_buf __maybe_unused, in bpf__prepare_load_buffer()
100 size_t obj_buf_sz __maybe_unused) in bpf__prepare_load_buffer()
107 static inline int bpf__probe(struct bpf_object *obj __maybe_unused) { return 0;} in bpf__probe()
108 static inline int bpf__unprobe(struct bpf_object *obj __maybe_unused) { return 0;} in bpf__unprobe()
109 static inline int bpf__load(struct bpf_object *obj __maybe_unused) { return 0; } in bpf__load()
112 bpf__foreach_event(struct bpf_object *obj __maybe_unused, in bpf__foreach_event()
113 bpf_prog_iter_callback_t func __maybe_unused, in bpf__foreach_event()
114 void *arg __maybe_unused) in bpf__foreach_event()
[all …]
Dunwind.h52 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 …]
Dtrace-event-scripting.c29 static void process_event_unsupported(union perf_event *event __maybe_unused, in process_event_unsupported()
30 struct perf_sample *sample __maybe_unused, in process_event_unsupported()
31 struct evsel *evsel __maybe_unused, in process_event_unsupported()
32 struct addr_location *al __maybe_unused) in process_event_unsupported()
45 static int python_start_script_unsupported(const char *script __maybe_unused, in python_start_script_unsupported()
46 int argc __maybe_unused, in python_start_script_unsupported()
47 const char **argv __maybe_unused) in python_start_script_unsupported()
54 static int python_generate_script_unsupported(struct tep_handle *pevent in python_generate_script_unsupported()
57 __maybe_unused) in python_generate_script_unsupported()
109 static int perl_start_script_unsupported(const char *script __maybe_unused, in perl_start_script_unsupported()
[all …]
Dsynthetic-events.h82 perf_event__synthesize_auxtrace_info(struct auxtrace_record *itr __maybe_unused, in perf_event__synthesize_auxtrace_info()
83 struct perf_tool *tool __maybe_unused, in perf_event__synthesize_auxtrace_info()
84 struct perf_session *session __maybe_unused, in perf_event__synthesize_auxtrace_info()
85 perf_event__handler_t process __maybe_unused) in perf_event__synthesize_auxtrace_info()
95 static inline int perf_event__synthesize_bpf_events(struct perf_session *session __maybe_unused, in perf_event__synthesize_bpf_events()
96 perf_event__handler_t process __maybe_unused, in perf_event__synthesize_bpf_events()
97 struct machine *machine __maybe_unused, in perf_event__synthesize_bpf_events()
98 struct record_opts *opts __maybe_unused) in perf_event__synthesize_bpf_events()
Ddump-insn.c8 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()
Dmmap.c44 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 …]
Dsymbol-minimal.c79 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 …]
Dbpf-event.h41 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()
Dpfm.h22 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()
Dauxtrace.h671 auxtrace_record__init(struct evlist *evlist __maybe_unused, in auxtrace_record__init()
679 void auxtrace_record__free(struct auxtrace_record *itr __maybe_unused) in auxtrace_record__free()
684 int auxtrace_record__options(struct auxtrace_record *itr __maybe_unused, in auxtrace_record__options()
685 struct evlist *evlist __maybe_unused, in auxtrace_record__options()
686 struct record_opts *opts __maybe_unused) in auxtrace_record__options()
696 void perf_session__auxtrace_error_inc(struct perf_session *session in perf_session__auxtrace_error_inc()
698 union perf_event *event in perf_session__auxtrace_error_inc()
704 void events_stats__auxtrace_error_warn(const struct events_stats *stats in events_stats__auxtrace_error_warn()
710 int itrace_parse_synth_opts(const struct option *opt __maybe_unused, in itrace_parse_synth_opts()
711 const char *str __maybe_unused, in itrace_parse_synth_opts()
[all …]
Dbpf-prologue.h25 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()
Dsession.c307 static int process_event_synth_tracing_data_stub(struct perf_session *session in process_event_synth_tracing_data_stub()
309 union perf_event *event in process_event_synth_tracing_data_stub()
316 static int process_event_synth_attr_stub(struct perf_tool *tool __maybe_unused, in process_event_synth_attr_stub()
317 union perf_event *event __maybe_unused, in process_event_synth_attr_stub()
318 struct evlist **pevlist in process_event_synth_attr_stub()
325 static int process_event_synth_event_update_stub(struct perf_tool *tool __maybe_unused, in process_event_synth_event_update_stub()
326 union perf_event *event __maybe_unused, in process_event_synth_event_update_stub()
327 struct evlist **pevlist in process_event_synth_event_update_stub()
337 static int process_event_sample_stub(struct perf_tool *tool __maybe_unused, in process_event_sample_stub()
338 union perf_event *event __maybe_unused, in process_event_sample_stub()
[all …]
Devent.c192 int perf_event__process_comm(struct perf_tool *tool __maybe_unused, in perf_event__process_comm()
200 int perf_event__process_namespaces(struct perf_tool *tool __maybe_unused, in perf_event__process_namespaces()
208 int perf_event__process_cgroup(struct perf_tool *tool __maybe_unused, in perf_event__process_cgroup()
216 int perf_event__process_lost(struct perf_tool *tool __maybe_unused, in perf_event__process_lost()
224 int perf_event__process_aux(struct perf_tool *tool __maybe_unused, in perf_event__process_aux()
226 struct perf_sample *sample __maybe_unused, in perf_event__process_aux()
232 int perf_event__process_itrace_start(struct perf_tool *tool __maybe_unused, in perf_event__process_itrace_start()
234 struct perf_sample *sample __maybe_unused, in perf_event__process_itrace_start()
240 int perf_event__process_lost_samples(struct perf_tool *tool __maybe_unused, in perf_event__process_lost_samples()
248 int perf_event__process_switch(struct perf_tool *tool __maybe_unused, in perf_event__process_switch()
[all …]
Dhist.h485 int perf_evlist__tui_browse_hists(struct evlist *evlist __maybe_unused, in perf_evlist__tui_browse_hists()
486 const char *help __maybe_unused, in perf_evlist__tui_browse_hists()
487 struct hist_browser_timer *hbt __maybe_unused, in perf_evlist__tui_browse_hists()
488 float min_pcnt __maybe_unused, in perf_evlist__tui_browse_hists()
489 struct perf_env *env __maybe_unused, in perf_evlist__tui_browse_hists()
490 bool warn_lost_event __maybe_unused, in perf_evlist__tui_browse_hists()
491 struct annotation_options *annotation_options __maybe_unused) in perf_evlist__tui_browse_hists()
495 static inline int map_symbol__tui_annotate(struct map_symbol *ms __maybe_unused, in map_symbol__tui_annotate()
496 struct evsel *evsel __maybe_unused, in map_symbol__tui_annotate()
497 struct hist_browser_timer *hbt __maybe_unused, in map_symbol__tui_annotate()
[all …]
/tools/perf/tests/
Dstat.c24 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 …]
Devent_update.c15 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 …]
Dcpumap.c14 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()
112 int test__cpu_map_print(struct test *test __maybe_unused, int subtest __maybe_unused) in test__cpu_map_print()
124 int test__cpu_map_merge(struct test *test __maybe_unused, int subtest __maybe_unused) in test__cpu_map_merge()
Dthread-map.c22 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()
108 int test__thread_map_remove(struct test *test __maybe_unused, int subtest __maybe_unused) in test__thread_map_remove()
Dtask-exit.c20 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()
Dbp_signal.c69 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()
Dbp_signal_overflow.c38 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()
Dpe-file-parsing.c71 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/
Dauxtrace.c24 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/
Dbuiltin-inject.c87 struct ordered_events *oe __maybe_unused) in perf_event__repipe_oe_synth()
93 static int perf_event__drop_oe(struct perf_tool *tool __maybe_unused, in perf_event__drop_oe()
94 union perf_event *event __maybe_unused, in perf_event__drop_oe()
95 struct ordered_events *oe __maybe_unused) in perf_event__drop_oe()
109 u64 data __maybe_unused) in perf_event__repipe_op4_synth()
134 struct evlist **pevlist __maybe_unused) in perf_event__repipe_event_update()
201 perf_event__repipe_auxtrace(struct perf_session *session __maybe_unused, in perf_event__repipe_auxtrace()
202 union perf_event *event __maybe_unused) in perf_event__repipe_auxtrace()
212 struct perf_sample *sample __maybe_unused, in perf_event__repipe()
213 struct machine *machine __maybe_unused) in perf_event__repipe()
[all …]

123456789