Searched refs:ref_size (Results 1 – 2 of 2) sorted by relevance
/tools/perf/arch/x86/util/ |
D | intel-pt.c | 889 size_t ref_size, size_t buf_size, in intel_pt_compare_ref() argument 892 size_t ref_end = ref_offset + ref_size; in intel_pt_compare_ref() 901 return intel_pt_compare_buffers(ref_buf, ref_size, data, ref_offset, in intel_pt_compare_ref() 905 static void intel_pt_copy_ref(void *ref_buf, size_t ref_size, size_t buf_size, in intel_pt_copy_ref() argument 908 if (head >= ref_size) { in intel_pt_copy_ref() 909 memcpy(ref_buf, data + head - ref_size, ref_size); in intel_pt_copy_ref() 912 ref_size -= head; in intel_pt_copy_ref() 913 memcpy(ref_buf + head, data + buf_size - ref_size, ref_size); in intel_pt_copy_ref()
|
/tools/perf/util/ |
D | header.c | 2238 uint64_t ref_size, attr_size; in try_all_file_abis() local 2242 ref_size = attr_file_abi_sizes[i] in try_all_file_abis() 2244 if (hdr_sz != ref_size) { in try_all_file_abis() 2246 if (attr_size != ref_size) in try_all_file_abis()
|