Add perf support for HiSilicon PCIe Tune and Trace device
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v14 Latest3 patches 0 repliesNew
- v133 patches 6 repliesSuperseded
- v12 posting 3/33 patches 5 repliesSuperseded
Earlier versions · 3
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v12 posting 2/3 | 3 patches | 1 reply | Superseded | |
| v12 posting 1/3 | 5 patches | 4 replies | Superseded | |
| v11 | 8 patches | 8 replies | Superseded |
Changes in v14 from the cover letter
- Collect tags from John and do few cleanups. Thanks.
Patches in v14 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | perf tool: arm: Refactor event list iteration in auxtrace_record__init()tools/ | +34 | 0 replies | |
| 2/3 | perf tool: Add support for HiSilicon PCIe Tune and Trace device drivertools/ tools/ tools/ +4 more | +273 | 0 replies | |
| 3/3 | perf tool: Add support for parsing HiSilicon PCIe Trace packettools/ tools/ tools/ +4 more | +396 | 0 replies |
Reviews trailers per patch
2 of 3 patches have a Reviewed-by or Acked-by.
| Patch | Leo Yan | Jonathan Cameron | John Garry |
|---|---|---|---|
| 1/3 | R-b | R-b | R-b |
| 2/3 | R-b | A-b | |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH v14 0/3] Add perf support for HiSilicon PCIe Tune and Trace device
From: Yicong Yang <[email protected]>
This patchset adds the perf tool support for HiSilicon PCIe Tune and Trace device [1]. The device driver makes use of perf AUX trace for tracing TLP (Transaction Layer Packet) headers of PCIe. The trace can be started by perf record and the traced data can be decoded by perf report with this patchset. The detailed usage is documented in [1].
This is split from the v11 series as suggested to send driver part and perf tool part separately. The changelog before v11 can be found at [2].
Since the driver has been accepted, wish to have perf support along with the PTT driver to enable the full support.
[1] https://lore.kernel.org/lkml/[email protected]/
[2] https://lore.kernel.org/lkml/[email protected]/
Change since v13:
- Collect tags from John and do few cleanups. Thanks.
Change since v12:
- Remove unused headers and some minor fixes, Per John. Thanks!
Qi Liu (3):
perf tool: arm: Refactor event list iteration in
auxtrace_record__init()
perf tool: Add support for HiSilicon PCIe Tune and Trace device driver perf tool: Add support for parsing HiSilicon PCIe Trace packet
tools/perf/arch/arm/util/auxtrace.c | 116 +++++++++-- tools/perf/arch/arm/util/pmu.c | 3 + tools/perf/arch/arm64/util/Build | 2 +- tools/perf/arch/arm64/util/hisi-ptt.c | 188 +++++++++++++++++ tools/perf/util/Build | 2 + tools/perf/util/auxtrace.c | 4 + tools/perf/util/auxtrace.h | 1 + tools/perf/util/hisi-ptt-decoder/Build | 1 + .../hisi-ptt-decoder/hisi-ptt-pkt-decoder.c | 164 +++++++++++++++ .../hisi-ptt-decoder/hisi-ptt-pkt-decoder.h | 31 +++ tools/perf/util/hisi-ptt.c | 192 ++++++++++++++++++ tools/perf/util/hisi-ptt.h | 19 ++ 12 files changed, 703 insertions(+), 20 deletions(-) create mode 100644 tools/perf/arch/arm64/util/hisi-ptt.c create mode 100644 tools/perf/util/hisi-ptt-decoder/Build create mode 100644 tools/perf/util/hisi-ptt-decoder/hisi-ptt-pkt-decoder.c create mode 100644 tools/perf/util/hisi-ptt-decoder/hisi-ptt-pkt-decoder.h create mode 100644 tools/perf/util/hisi-ptt.c create mode 100644 tools/perf/util/hisi-ptt.h
Signature · 1 line
2.24.0