Home
last modified time | relevance | path

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

/linux-6.3-rc2/tools/perf/tests/
A 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.3-rc2/tools/perf/util/
A 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
A Dheader.c233 if (ff->ph->needs_swap) in do_read_u32()
246 if (ff->ph->needs_swap) in do_read_u64()
1937 if (ff->ph->needs_swap) in read_event_desc()
1948 if (ff->ph->needs_swap) in read_event_desc()
3745 if (header->needs_swap) in perf_header__getbuffer64()
3822 ph->needs_swap); in try_all_file_abis()
3902 ph->needs_swap = true; in check_magic_endian()
3924 if (ph->needs_swap) { in perf_file_header__read()
4027 if (ph->needs_swap) in perf_file_header__read_pipe()
4071 if (ph->needs_swap) in read_attr()
[all …]
A Dsession.c1774 if (session->one_mmap && !session->header.needs_swap) { in perf_session__peek_event()
1795 if (session->header.needs_swap) in perf_session__peek_event()
1807 if (session->header.needs_swap) in perf_session__peek_event()
1857 if (session->header.needs_swap) in perf_session__process_event()
2071 if (session->header.needs_swap) in __perf_session__process_pipe_events()
2145 bool needs_swap, union perf_event *error) in prefetch_event() argument
2158 if (needs_swap) in prefetch_event()
2166 if (needs_swap) in prefetch_event()
2205 session->header.needs_swap); in __perf_session__process_decomp_events()
2312 } else if (session->header.needs_swap) { in reader__mmap()
[all …]
A Dheader.h87 bool needs_swap; member
A Devsel.h120 bool needs_swap; member
344 … format_field__intval(struct tep_format_field *field, struct perf_sample *sample, bool needs_swap);
A Dauxtrace.h603 bool needs_swap);
852 bool needs_swap __maybe_unused) in auxtrace_index__process()
A Dauxtrace.c935 bool needs_swap) in auxtrace_index__process_entry() argument
949 if (needs_swap) { in auxtrace_index__process_entry()
964 bool needs_swap) in auxtrace_index__process() argument
972 if (needs_swap) in auxtrace_index__process()
981 err = auxtrace_index__process_entry(fd, head, needs_swap); in auxtrace_index__process()
A Devsel.c2214 bool swapped = evsel->needs_swap; in perf_evsel__parse_id_sample()
2363 bool swapped = evsel->needs_swap; in evsel__parse_sample()
2802 bool needs_swap) in format_field__intval() argument
2823 if (!needs_swap) in format_field__intval()
2847 return field ? format_field__intval(field, sample, evsel->needs_swap) : 0; in evsel__intval()
A Dsymbol-elf.c1159 dso->needs_swap = DSO_SWAP__NO; in dso__swap_init()
1165 dso->needs_swap = DSO_SWAP__YES; in dso__swap_init()
1171 dso->needs_swap = DSO_SWAP__YES; in dso__swap_init()
A Ddso.c1299 dso->needs_swap = DSO_SWAP__UNSET; in dso__new_id()
A Dintel-pt.c4254 if (session->header.needs_swap) in intel_pt_process_auxtrace_info()
/linux-6.3-rc2/tools/perf/arch/x86/tests/
A Dsample-parsing.c41 .needs_swap = false, in do_test()
/linux-6.3-rc2/tools/perf/
A Dbuiltin-trace.c242 static int __tp_field__init_uint(struct tp_field *field, int size, int offset, bool needs_swap) in __tp_field__init_uint() argument
251 field->integer = needs_swap ? tp_field__swapped_u16 : tp_field__u16; in __tp_field__init_uint()
254 field->integer = needs_swap ? tp_field__swapped_u32 : tp_field__u32; in __tp_field__init_uint()
257 field->integer = needs_swap ? tp_field__swapped_u64 : tp_field__u64; in __tp_field__init_uint()
268 return __tp_field__init_uint(field, format_field->size, format_field->offset, needs_swap); in tp_field__init_uint()
383 return tp_field__init_uint(field, format_field, evsel->needs_swap); in evsel__init_tp_uint_field()
433 __tp_field__init_uint(&sc->id, syscall_id->size, syscall_id->offset, evsel->needs_swap)) in evsel__init_augmented_syscall_tp()
453 …return __tp_field__init_uint(&sc->ret, sizeof(u64), sc->id.offset + sizeof(u64), evsel->needs_swap in evsel__init_augmented_syscall_tp_ret()
2731 offset = format_field__intval(field, sample, evsel->needs_swap);
2740 val = format_field__intval(field, sample, evsel->needs_swap);
[all …]

Completed in 63 milliseconds