Home
last modified time | relevance | path

Searched refs:needs_swap (Results 1 – 14 of 14) sorted by relevance

/linux-6.1.9/tools/perf/tests/
Dsample-parsing.c45 u64 type, u64 read_format, bool needs_swap) in samples_same() argument
119 if (needs_swap) in samples_same()
199 .needs_swap = false, in do_test()
338 if (!samples_same(&sample, &sample_out, sample_type, read_format, evsel.needs_swap)) { in do_test()
345 evsel.needs_swap = true; in do_test()
354 if (!samples_same(&sample, &sample_out_endian, sample_type, read_format, evsel.needs_swap)) { in do_test()
/linux-6.1.9/tools/perf/util/
Ddso.h106 BUG_ON(dso->needs_swap == DSO_SWAP__UNSET); \
107 if (dso->needs_swap == DSO_SWAP__YES) { \
164 enum dso_swap_type needs_swap; member
Dheader.c228 if (ff->ph->needs_swap) in do_read_u32()
241 if (ff->ph->needs_swap) in do_read_u64()
1930 if (ff->ph->needs_swap) in read_event_desc()
1941 if (ff->ph->needs_swap) in read_event_desc()
1942 evsel->needs_swap = true; in read_event_desc()
2305 if (header->needs_swap) in perf_header__read_build_ids_abi_quirk()
2347 if (header->needs_swap) in perf_header__read_build_ids()
2852 ff->ph->needs_swap); in process_auxtrace()
3090 if (ff->ph->needs_swap) { in process_bpf_prog_info()
3158 if (ff->ph->needs_swap) { in process_bpf_btf()
[all …]
Dsession.c1765 if (session->one_mmap && !session->header.needs_swap) { in perf_session__peek_event()
1786 if (session->header.needs_swap) in perf_session__peek_event()
1798 if (session->header.needs_swap) in perf_session__peek_event()
1848 if (session->header.needs_swap) in perf_session__process_event()
2062 if (session->header.needs_swap) in __perf_session__process_pipe_events()
2136 bool needs_swap, union perf_event *error) in prefetch_event() argument
2149 if (needs_swap) in prefetch_event()
2157 if (needs_swap) in prefetch_event()
2174 fetch_mmaped_event(u64 head, size_t mmap_size, char *buf, bool needs_swap) in fetch_mmaped_event() argument
2176 return prefetch_event(buf, head, mmap_size, needs_swap, ERR_PTR(-EINVAL)); in fetch_mmaped_event()
[all …]
Dheader.h87 bool needs_swap; member
Devsel.h122 bool needs_swap; member
338 … format_field__intval(struct tep_format_field *field, struct perf_sample *sample, bool needs_swap);
Dauxtrace.h599 bool needs_swap);
847 bool needs_swap __maybe_unused) in auxtrace_index__process()
Dauxtrace.c934 bool needs_swap) in auxtrace_index__process_entry() argument
948 if (needs_swap) { in auxtrace_index__process_entry()
963 bool needs_swap) in auxtrace_index__process() argument
971 if (needs_swap) in auxtrace_index__process()
980 err = auxtrace_index__process_entry(fd, head, needs_swap); in auxtrace_index__process()
Devsel.c2217 bool swapped = evsel->needs_swap; in perf_evsel__parse_id_sample()
2360 bool swapped = evsel->needs_swap; in evsel__parse_sample()
2798 bool needs_swap) in format_field__intval() argument
2819 if (!needs_swap) in format_field__intval()
2843 return field ? format_field__intval(field, sample, evsel->needs_swap) : 0; in evsel__intval()
Dsymbol-elf.c809 dso->needs_swap = DSO_SWAP__NO; in dso__swap_init()
815 dso->needs_swap = DSO_SWAP__YES; in dso__swap_init()
821 dso->needs_swap = DSO_SWAP__YES; in dso__swap_init()
Ddso.c1299 dso->needs_swap = DSO_SWAP__UNSET; in dso__new_id()
Dintel-pt.c4192 if (session->header.needs_swap) in intel_pt_process_auxtrace_info()
/linux-6.1.9/tools/perf/arch/x86/tests/
Dsample-parsing.c38 .needs_swap = false, in do_test()
/linux-6.1.9/tools/perf/
Dbuiltin-trace.c240 static int __tp_field__init_uint(struct tp_field *field, int size, int offset, bool needs_swap) in __tp_field__init_uint() argument
249 field->integer = needs_swap ? tp_field__swapped_u16 : tp_field__u16; in __tp_field__init_uint()
252 field->integer = needs_swap ? tp_field__swapped_u32 : tp_field__u32; in __tp_field__init_uint()
255 field->integer = needs_swap ? tp_field__swapped_u64 : tp_field__u64; in __tp_field__init_uint()
264 …tp_field__init_uint(struct tp_field *field, struct tep_format_field *format_field, bool needs_swap) in tp_field__init_uint() argument
266 return __tp_field__init_uint(field, format_field->size, format_field->offset, needs_swap); in tp_field__init_uint()
381 return tp_field__init_uint(field, format_field, evsel->needs_swap); in evsel__init_tp_uint_field()
431 __tp_field__init_uint(&sc->id, syscall_id->size, syscall_id->offset, evsel->needs_swap)) in evsel__init_augmented_syscall_tp()
451 …return __tp_field__init_uint(&sc->ret, sizeof(u64), sc->id.offset + sizeof(u64), evsel->needs_swap in evsel__init_augmented_syscall_tp_ret()
2736 offset = format_field__intval(field, sample, evsel->needs_swap);
[all …]