[PATCH 0/5] perf intel-pt: Use of get_unaligned_le16() etc
From: Adrian Hunter
Date: Thu Oct 05 2023 - 15:06:42 EST
Hi
Ian sent a patch for this, but using get_unaligned_le16() etc seems nicer.
Adrian Hunter (5):
perf tools: Add get_unaligned_leNN()
perf intel-pt: Simplify intel_pt_get_vmcs()
perf intel-pt: Use existing definitions of le16_to_cpu() etc
perf intel-pt: Use of get_unaligned_le16() etc
perf intel-pt: Prefer get_unaligned_le64 to memcpy_le64
tools/include/asm-generic/unaligned.h | 20 ++++++++++
.../util/intel-pt-decoder/intel-pt-pkt-decoder.c | 43 +++++++++-------------
2 files changed, 37 insertions(+), 26 deletions(-)
Regards
Adrian