Skip to content

perf tools: Support insn and insnlen in perf script

Adrian Hunter lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v3 Latest3 patches 0 repliesNew

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3perf intel-pt/bts: Tidy instruction buffer size usagetools/perf/util/intel-bts.c tools/perf/util/intel-pt-decoder/intel-pt-insn-decoder.c tools/perf/util/intel-pt-decoder/intel-pt-insn-decoder.h +2 more+16 -230 replies
2/3perf intel-pt/bts: Report instruction bytes and length in sampletools/perf/util/event.h tools/perf/util/intel-bts.c tools/perf/util/intel-pt-decoder/intel-pt-decoder.c +3 more+19 -10 replies
3/3perf tools: Support insn and insnlen in perf scripttools/perf/Documentation/perf-script.txt tools/perf/builtin-script.c+27 -30 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchAdrian Hunter
1/3
2/3
3/3A-b

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

Read the v3 thread

Cover letter [PATCH V3 0/3] perf tools: Support insn and insnlen in perf script

Hi

I tidied Intel PT / BTS instruction buffer size usage, and took the liberty of re-basing Andi's changes on top.

Adrian Hunter (1):
perf intel-pt/bts: Tidy instruction buffer size usage

Andi Kleen (2):
perf intel-pt/bts: Report instruction bytes and length in sample perf tools: Support insn and insnlen in perf script

 tools/perf/Documentation/perf-script.txt           |  6 +++++-
 tools/perf/builtin-script.c                        | 24 ++++++++++++++++++++--
 tools/perf/util/event.h                            |  3 +++
 tools/perf/util/intel-bts.c                        |  9 ++++----
 .../perf/util/intel-pt-decoder/intel-pt-decoder.c  |  2 ++
 .../perf/util/intel-pt-decoder/intel-pt-decoder.h  |  1 +
 .../util/intel-pt-decoder/intel-pt-insn-decoder.c  | 13 ++++++------
 .../util/intel-pt-decoder/intel-pt-insn-decoder.h  |  6 ++----
 tools/perf/util/intel-pt-decoder/intel-pt-log.c    |  4 ++--
 tools/perf/util/intel-pt.c                         | 19 ++++++++++++-----
 10 files changed, 61 insertions(+), 26 deletions(-)

Regards
Adrian