Skip to content

perf intel-pt: Use of get_unaligned_le16() etc

Adrian Hunter linux-perf-users lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5perf tools: Add get_unaligned_leNN()tools/include/asm-generic/unaligned.h+20 -06 replies
2/5perf intel-pt: Simplify intel_pt_get_vmcs()tools/perf/util/intel-pt-decoder/intel-pt-pkt-decoder.c+4 -90 replies
3/5perf intel-pt: Use existing definitions of le16_to_cpu() etctools/perf/util/intel-pt-decoder/intel-pt-pkt-decoder.c+1 -60 replies
4/5perf intel-pt: Use get_unaligned_le16() etctools/perf/util/intel-pt-decoder/intel-pt-pkt-decoder.c+9 -80 replies
5/5perf intel-pt: Prefer get_unaligned_le64 to memcpy_le64tools/perf/util/intel-pt-decoder/intel-pt-pkt-decoder.c+3 -30 replies

Reviews trailers per patch

None of the 5 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchIan Rogers
SeriesR-b
1/5
2/5
3/5
4/5
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

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