Searched refs:MaybeSwap (Results 1 – 1 of 1) sorted by relevance
/system/extras/perfprofd/quipper/ |
D | perf_reader.cc | 95 u64 MaybeSwap(u64 value, bool swap) { in MaybeSwap() function 101 u32 MaybeSwap(u32 value, bool swap) { in MaybeSwap() function 377 sample->id = MaybeSwap(*array++, swap_bytes); in ReadPerfSampleFromData() 383 sample->ip = MaybeSwap(*array++, swap_bytes); in ReadPerfSampleFromData() 389 sample->pid = MaybeSwap(val32[0], swap_bytes); in ReadPerfSampleFromData() 390 sample->tid = MaybeSwap(val32[1], swap_bytes); in ReadPerfSampleFromData() 395 sample->time = MaybeSwap(*array++, swap_bytes); in ReadPerfSampleFromData() 400 sample->addr = MaybeSwap(*array++, swap_bytes); in ReadPerfSampleFromData() 405 sample->id = MaybeSwap(*array++, swap_bytes); in ReadPerfSampleFromData() 410 sample->stream_id = MaybeSwap(*array++, swap_bytes); in ReadPerfSampleFromData() [all …]
|