Home
last modified time | relevance | path

Searched refs:__maybe_unused (Results 1 – 25 of 345) sorted by relevance

12345678910>>...14

/tools/perf/util/
A Diostat.c8 struct perf_stat_config *config __maybe_unused) in iostat_prepare() argument
14 const char *str __maybe_unused, in iostat_parse() argument
15 int unset __maybe_unused) in iostat_parse() argument
35 struct evsel *evsel __maybe_unused, in iostat_print_metric() argument
36 struct perf_stat_output_ctx *out __maybe_unused) in iostat_print_metric() argument
41 struct perf_stat_config *config __maybe_unused, in iostat_prefix() argument
42 char *prefix __maybe_unused, in iostat_prefix() argument
43 struct timespec *ts __maybe_unused) in iostat_prefix() argument
49 struct timespec *ts __maybe_unused, in iostat_print_counters() argument
50 char *prefix __maybe_unused, in iostat_print_counters() argument
[all …]
A Dcompress.h25 int lzma_decompress_stream_to_file(FILE *input __maybe_unused, in lzma_decompress_stream_to_file() argument
26 int output_fd __maybe_unused) in lzma_decompress_stream_to_file() argument
31 int lzma_decompress_to_file(const char *input __maybe_unused, in lzma_decompress_to_file() argument
32 int output_fd __maybe_unused) in lzma_decompress_to_file() argument
63 static inline int zstd_init(struct zstd_data *data __maybe_unused, int level __maybe_unused) in zstd_init() argument
75 void *dst __maybe_unused, size_t dst_size __maybe_unused, in zstd_compress_stream_to_records() argument
76 void *src __maybe_unused, size_t src_size __maybe_unused, in zstd_compress_stream_to_records() argument
77 size_t max_record_size __maybe_unused, in zstd_compress_stream_to_records() argument
83 …line size_t zstd_decompress_stream(struct zstd_data *data __maybe_unused, void *src __maybe_unused, in zstd_decompress_stream() argument
84 size_t src_size __maybe_unused, void *dst __maybe_unused, in zstd_decompress_stream() argument
[all …]
A Dunwind.h50 static inline int unwind__prepare_access(struct maps *maps __maybe_unused, in unwind__prepare_access() argument
51 struct map *map __maybe_unused, in unwind__prepare_access() argument
52 bool *initialized __maybe_unused) in unwind__prepare_access() argument
62 unwind__get_entries(unwind_entry_cb_t cb __maybe_unused, in unwind__get_entries() argument
63 void *arg __maybe_unused, in unwind__get_entries() argument
64 struct thread *thread __maybe_unused, in unwind__get_entries() argument
65 struct perf_sample *data __maybe_unused, in unwind__get_entries() argument
66 int max_stack __maybe_unused, in unwind__get_entries() argument
67 bool best_effort __maybe_unused) in unwind__get_entries() argument
73 struct map *map __maybe_unused, in unwind__prepare_access() argument
[all …]
A Dtool.c83 __maybe_unused, in process_event_synth_tracing_data_stub()
85 __maybe_unused) in process_event_synth_tracing_data_stub()
92 union perf_event *event __maybe_unused, in process_event_synth_attr_stub() argument
94 __maybe_unused) in process_event_synth_attr_stub()
101 union perf_event *event __maybe_unused, in process_event_synth_event_update_stub() argument
103 __maybe_unused) in process_event_synth_event_update_stub()
115 struct evsel *evsel __maybe_unused, in process_event_sample_stub() argument
164 union perf_event *event __maybe_unused) in process_event_op2_stub() argument
173 union perf_event *event __maybe_unused) in process_event_thread_map_stub() argument
195 union perf_event *event __maybe_unused) in process_event_stat_config_stub() argument
[all …]
A Ddump-insn.c8 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_uncond_branch(const unsigned char *buf __maybe_unused, in arch_is_uncond_branch() argument
19 size_t len __maybe_unused, in arch_is_uncond_branch() argument
20 int x86_64 __maybe_unused) in arch_is_uncond_branch() argument
A Ddebuginfo.h34 static inline struct debuginfo *debuginfo__new(const char *path __maybe_unused) in debuginfo__new() argument
39 static inline void debuginfo__delete(struct debuginfo *dbg __maybe_unused) in debuginfo__delete() argument
45 static inline int debuginfo__get_text_offset(struct debuginfo *dbg __maybe_unused, in debuginfo__get_text_offset() argument
46 Dwarf_Addr *offs __maybe_unused, in debuginfo__get_text_offset() argument
47 bool adjust_offset __maybe_unused) in debuginfo__get_text_offset() argument
58 static inline int get_source_from_debuginfod(const char *raw_path __maybe_unused, in get_source_from_debuginfod() argument
59 const char *sbuild_id __maybe_unused, in get_source_from_debuginfod() argument
60 char **new_path __maybe_unused) in get_source_from_debuginfod() argument
A Dauxtrace.h751 __maybe_unused, in perf_session__auxtrace_error_inc()
753 __maybe_unused) in perf_session__auxtrace_error_inc()
759 __maybe_unused) in events_stats__auxtrace_error_warn()
765 const char *str __maybe_unused, int unset __maybe_unused) in itrace_do_parse_synth_opts() argument
773 const char *str __maybe_unused, in itrace_parse_synth_opts() argument
774 int unset __maybe_unused) in itrace_parse_synth_opts() argument
856 u64 size __maybe_unused, in auxtrace_index__process() argument
858 bool needs_swap __maybe_unused) in auxtrace_index__process() argument
897 __maybe_unused, in itrace_synth_opts__set_time_range()
899 __maybe_unused, in itrace_synth_opts__set_time_range()
[all …]
A Dbpf-event.h48 static inline int machine__process_bpf(struct machine *machine __maybe_unused, in machine__process_bpf() argument
49 union perf_event *event __maybe_unused, in machine__process_bpf() argument
50 struct perf_sample *sample __maybe_unused) in machine__process_bpf() argument
55 static inline int evlist__add_bpf_sb_event(struct evlist *evlist __maybe_unused, in evlist__add_bpf_sb_event() argument
56 struct perf_env *env __maybe_unused) in evlist__add_bpf_sb_event() argument
61 static inline void __bpf_event__print_bpf_prog_info(struct bpf_prog_info *info __maybe_unused, in __bpf_event__print_bpf_prog_info() argument
62 struct perf_env *env __maybe_unused, in __bpf_event__print_bpf_prog_info() argument
63 FILE *fp __maybe_unused) in __bpf_event__print_bpf_prog_info() argument
68 static inline void bpf_metadata_free(struct bpf_metadata *metadata __maybe_unused) in bpf_metadata_free() argument
A Dannotate-data.h255 find_data_type(struct data_loc_info *dloc __maybe_unused) in find_data_type() argument
262 struct evsel *evsel __maybe_unused, in annotated_data_type__update_samples() argument
263 int offset __maybe_unused, in annotated_data_type__update_samples() argument
264 int nr_samples __maybe_unused, in annotated_data_type__update_samples() argument
265 u64 period __maybe_unused) in annotated_data_type__update_samples() argument
279 struct evsel *evsel __maybe_unused) in hist_entry__annotate_data_tty() argument
285 char *buf __maybe_unused, in annotated_data_type__get_member_name() argument
286 size_t sz __maybe_unused, in annotated_data_type__get_member_name() argument
287 int member_offset __maybe_unused) in annotated_data_type__get_member_name() argument
299 struct evsel *evsel __maybe_unused, in hist_entry__annotate_data_tui() argument
[all …]
A Dtrace_augment.h27 static inline int augmented_syscalls__create_bpf_output(struct evlist *evlist __maybe_unused) in augmented_syscalls__create_bpf_output() argument
36 static inline int augmented_syscalls__set_filter_pids(unsigned int nr __maybe_unused, in augmented_syscalls__set_filter_pids() argument
37 pid_t *pids __maybe_unused) in augmented_syscalls__set_filter_pids() argument
42 static inline int augmented_syscalls__get_map_fds(int *enter_fd __maybe_unused, in augmented_syscalls__get_map_fds() argument
43 int *exit_fd __maybe_unused, in augmented_syscalls__get_map_fds() argument
44 int *beauty_fd __maybe_unused) in augmented_syscalls__get_map_fds() argument
50 augmented_syscalls__find_by_title(const char *name __maybe_unused) in augmented_syscalls__find_by_title() argument
A Dpfm.h23 const struct option *opt __maybe_unused, in parse_libpfm_events_option() argument
24 const char *str __maybe_unused, in parse_libpfm_events_option() argument
25 int unset __maybe_unused) in parse_libpfm_events_option() argument
30 static inline void print_libpfm_events(const struct print_callbacks *print_cb __maybe_unused, in print_libpfm_events() argument
31 void *print_state __maybe_unused) in print_libpfm_events() argument
A Dftrace.h63 perf_ftrace__latency_prepare_bpf(struct perf_ftrace *ftrace __maybe_unused) in perf_ftrace__latency_prepare_bpf() argument
69 perf_ftrace__latency_start_bpf(struct perf_ftrace *ftrace __maybe_unused) in perf_ftrace__latency_start_bpf() argument
75 perf_ftrace__latency_stop_bpf(struct perf_ftrace *ftrace __maybe_unused) in perf_ftrace__latency_stop_bpf() argument
81 perf_ftrace__latency_read_bpf(struct perf_ftrace *ftrace __maybe_unused, in perf_ftrace__latency_read_bpf() argument
82 int buckets[] __maybe_unused, in perf_ftrace__latency_read_bpf()
83 struct stats *stats __maybe_unused) in perf_ftrace__latency_read_bpf() argument
89 perf_ftrace__latency_cleanup_bpf(struct perf_ftrace *ftrace __maybe_unused) in perf_ftrace__latency_cleanup_bpf() argument
A Dbpf_counter.h52 static inline int bpf_counter__load(struct evsel *evsel __maybe_unused, in bpf_counter__load() argument
53 struct target *target __maybe_unused) in bpf_counter__load() argument
58 static inline int bpf_counter__enable(struct evsel *evsel __maybe_unused) in bpf_counter__enable() argument
63 static inline int bpf_counter__disable(struct evsel *evsel __maybe_unused) in bpf_counter__disable() argument
68 static inline int bpf_counter__read(struct evsel *evsel __maybe_unused) in bpf_counter__read() argument
73 static inline void bpf_counter__destroy(struct evsel *evsel __maybe_unused) in bpf_counter__destroy() argument
77 static inline int bpf_counter__install_pe(struct evsel *evsel __maybe_unused, in bpf_counter__install_pe() argument
78 int cpu __maybe_unused, in bpf_counter__install_pe() argument
79 int fd __maybe_unused) in bpf_counter__install_pe() argument
A Dbpf-filter.h39 static inline int perf_bpf_filter__parse(struct list_head *expr_head __maybe_unused, in perf_bpf_filter__parse() argument
40 const char *str __maybe_unused) in perf_bpf_filter__parse() argument
46 static inline int perf_bpf_filter__prepare(struct evsel *evsel __maybe_unused, in perf_bpf_filter__prepare() argument
47 struct target *target __maybe_unused) in perf_bpf_filter__prepare() argument
51 static inline int perf_bpf_filter__destroy(struct evsel *evsel __maybe_unused) in perf_bpf_filter__destroy() argument
55 static inline u64 perf_bpf_filter__lost_count(struct evsel *evsel __maybe_unused) in perf_bpf_filter__lost_count() argument
A Dtrace-event-scripting.c138 struct evsel *evsel __maybe_unused, in process_event_unsupported() argument
154 int argc __maybe_unused, in python_start_script_unsupported() argument
155 const char **argv __maybe_unused, in python_start_script_unsupported() argument
164 __maybe_unused, in python_generate_script_unsupported()
166 __maybe_unused) in python_generate_script_unsupported() argument
221 int argc __maybe_unused, in perl_start_script_unsupported() argument
222 const char **argv __maybe_unused, in perl_start_script_unsupported() argument
231 __maybe_unused, in perl_generate_script_unsupported()
232 const char *outfile __maybe_unused) in perl_generate_script_unsupported() argument
279 struct thread *thread __maybe_unused, in arch_fetch_insn() argument
[all …]
A Dsymbol-minimal.c80 char *debuglink __maybe_unused, in filename__read_debuglink() argument
81 size_t size __maybe_unused) in filename__read_debuglink() argument
272 struct symsrc *ss __maybe_unused) in dso__synthesize_plt_symbols() argument
317 struct symsrc *runtime_ss __maybe_unused, in dso__load_sym() argument
318 int kmodule __maybe_unused) in dso__load_sym() argument
332 int file__read_maps(int fd __maybe_unused, bool exe __maybe_unused, in file__read_maps() argument
333 mapfn_t mapfn __maybe_unused, void *data __maybe_unused, in file__read_maps() argument
334 bool *is_64_bit __maybe_unused) in file__read_maps() argument
348 int kcore_copy(const char *from_dir __maybe_unused, in kcore_copy() argument
349 const char *to_dir __maybe_unused) in kcore_copy() argument
[all …]
A Dmmap.c46 void *userpg __maybe_unused, in auxtrace_mmap__mmap() argument
47 int fd __maybe_unused) in auxtrace_mmap__mmap() argument
57 off_t auxtrace_offset __maybe_unused, in auxtrace_mmap_params__init() argument
58 unsigned int auxtrace_pages __maybe_unused, in auxtrace_mmap_params__init() argument
59 bool auxtrace_overwrite __maybe_unused) in auxtrace_mmap_params__init() argument
64 struct evlist *evlist __maybe_unused, in auxtrace_mmap_params__set_idx() argument
65 struct evsel *evsel __maybe_unused, in auxtrace_mmap_params__set_idx() argument
66 int idx __maybe_unused) in auxtrace_mmap_params__set_idx() argument
140 static int perf_mmap__aio_bind(struct mmap *map __maybe_unused, int idx __maybe_unused, in perf_mmap__aio_bind() argument
141 struct perf_cpu cpu __maybe_unused, int affinity __maybe_unused) in perf_mmap__aio_bind() argument
[all …]
/tools/perf/tests/
A Dstat.c24 static int process_stat_config_event(const 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
51 int subtest __maybe_unused) in test__synthesize_stat_config() argument
67 static int process_stat_event(const struct perf_tool *tool __maybe_unused, in process_stat_event() argument
69 struct perf_sample *sample __maybe_unused, in process_stat_event() argument
70 struct machine *machine __maybe_unused) in process_stat_event() argument
83 static int test__synthesize_stat(struct test_suite *test __maybe_unused, int subtest __maybe_unused) in test__synthesize_stat() argument
100 struct perf_sample *sample __maybe_unused, in process_stat_round_event() argument
101 struct machine *machine __maybe_unused) in process_stat_round_event() argument
[all …]
A Devent_update.c15 static int process_event_unit(const 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(const 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
48 struct perf_sample *sample __maybe_unused, in process_event_name() argument
49 struct machine *machine __maybe_unused) in process_event_name() argument
62 struct perf_sample *sample __maybe_unused, in process_event_cpus() argument
63 struct machine *machine __maybe_unused) in process_event_cpus() argument
[all …]
A Dcpumap.c16 struct perf_sample *sample __maybe_unused, in process_event_mask() argument
17 struct machine *machine __maybe_unused) in process_event_mask() argument
52 struct perf_sample *sample __maybe_unused, in process_event_cpus() argument
53 struct machine *machine __maybe_unused) in process_event_cpus() argument
78 struct perf_sample *sample __maybe_unused, in process_event_range_cpus() argument
79 struct machine *machine __maybe_unused) in process_event_range_cpus() argument
103 …ic int test__cpu_map_synthesize(struct test_suite *test __maybe_unused, int subtest __maybe_unused) in test__cpu_map_synthesize() argument
147 static int test__cpu_map_print(struct test_suite *test __maybe_unused, int subtest __maybe_unused) in test__cpu_map_print() argument
184 int subtest __maybe_unused) in test__cpu_map_merge() argument
224 int subtest __maybe_unused) in test__cpu_map_intersect() argument
[all …]
A Dthread-map.c23 static int test__thread_map(struct test_suite *test __maybe_unused, int subtest __maybe_unused) in test__thread_map() argument
63 static int process_event(const struct perf_tool *tool __maybe_unused, in process_event() argument
65 struct perf_sample *sample __maybe_unused, in process_event() argument
66 struct machine *machine __maybe_unused) in process_event() argument
90 …int test__thread_map_synthesize(struct test_suite *test __maybe_unused, int subtest __maybe_unused) in test__thread_map_synthesize() argument
110 …tic int test__thread_map_remove(struct test_suite *test __maybe_unused, int subtest __maybe_unused) in test__thread_map_remove() argument
A Dpfm.c26 static int test__pfm_events(struct test_suite *test __maybe_unused, in test__pfm_events() argument
27 int subtest __maybe_unused) in test__pfm_events() argument
87 static int test__pfm_group(struct test_suite *test __maybe_unused, in test__pfm_group() argument
88 int subtest __maybe_unused) in test__pfm_group() argument
172 static int test__pfm_events(struct test_suite *test __maybe_unused, in test__pfm_events() argument
173 int subtest __maybe_unused) in test__pfm_events() argument
178 static int test__pfm_group(struct test_suite *test __maybe_unused, in test__pfm_group() argument
179 int subtest __maybe_unused) in test__pfm_group() argument
/tools/perf/arch/s390/util/
A Dauxtrace.c25 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
77 struct record_opts *opts __maybe_unused, in cpumsf_parse_snapshot_options() argument
[all …]
/tools/thermal/thermal-engine/
A Dthermal-engine.c49 static int show_trip(struct thermal_trip *tt, __maybe_unused void *arg) in show_trip()
57 static int show_temp(struct thermal_zone *tz, __maybe_unused void *arg) in show_temp()
66 static int show_governor(struct thermal_zone *tz, __maybe_unused void *arg) in show_governor()
75 static int show_tz(struct thermal_zone *tz, __maybe_unused void *arg) in show_tz()
90 static int set_threshold(struct thermal_zone *tz, __maybe_unused void *arg) in set_threshold()
121 static int tz_delete(int tz_id, __maybe_unused void *arg) in tz_delete()
178 static int trip_delete(int tz_id, int trip_id, __maybe_unused void *arg) in trip_delete()
186 int hyst, __maybe_unused void *arg) in trip_change()
208 static int cdev_delete(int cdev_id, __maybe_unused void *arg) in cdev_delete()
248 static int threshold_flush(int tz_id, __maybe_unused void *arg) in threshold_flush()
[all …]
/tools/testing/selftests/landlock/
A Dcommon.h25 #ifndef __maybe_unused
26 #define __maybe_unused __attribute__((__unused__)) macro
82 static void __maybe_unused drop_caps(struct __test_metadata *const _metadata) in drop_caps()
103 static void __maybe_unused set_cap(struct __test_metadata *const _metadata, in set_cap()
109 static void __maybe_unused clear_cap(struct __test_metadata *const _metadata, in clear_cap()
115 static void __maybe_unused
127 static void __maybe_unused clear_ambient_cap( in clear_ambient_cap()
136 static int __maybe_unused recv_fd(int usock) in recv_fd()
171 static int __maybe_unused send_fd(int usock, int fd_tx) in send_fd()
201 static void __maybe_unused
[all …]

Completed in 37 milliseconds

12345678910>>...14