[PATCH 0/5] perf intel-pt: Use of get_unaligned_le16() etc

Adrian Hunter posted 5 patches 2 years, 2 months ago
tools/include/asm-generic/unaligned.h              | 20 ++++++++++
.../util/intel-pt-decoder/intel-pt-pkt-decoder.c   | 43 +++++++++-------------
2 files changed, 37 insertions(+), 26 deletions(-)
[PATCH 0/5] perf intel-pt: Use of get_unaligned_le16() etc
Posted by Adrian Hunter 2 years, 2 months ago
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