Messages in this thread | | | From | Adrian Hunter <> | Subject | [PATCH 0/5] perf intel-pt: Use of get_unaligned_le16() etc | Date | Thu, 5 Oct 2023 22:04:46 +0300 |
| |
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
| |