Searched refs:ref_size (Results 1 – 2 of 2) sorted by relevance
/tools/perf/arch/x86/util/ |
D | intel-pt.c | 1052 size_t ref_size, size_t buf_size, in intel_pt_compare_ref() argument 1055 size_t ref_end = ref_offset + ref_size; in intel_pt_compare_ref() 1064 return intel_pt_compare_buffers(ref_buf, ref_size, data, ref_offset, in intel_pt_compare_ref() 1068 static void intel_pt_copy_ref(void *ref_buf, size_t ref_size, size_t buf_size, in intel_pt_copy_ref() argument 1071 if (head >= ref_size) { in intel_pt_copy_ref() 1072 memcpy(ref_buf, data + head - ref_size, ref_size); in intel_pt_copy_ref() 1075 ref_size -= head; in intel_pt_copy_ref() 1076 memcpy(ref_buf + head, data + buf_size - ref_size, ref_size); in intel_pt_copy_ref()
|
/tools/perf/util/ |
D | header.c | 3454 uint64_t ref_size, attr_size; in try_all_file_abis() local 3458 ref_size = attr_file_abi_sizes[i] in try_all_file_abis() 3460 if (hdr_sz != ref_size) { in try_all_file_abis() 3462 if (attr_size != ref_size) in try_all_file_abis()
|