This set adds support for ETMv3/PTM1.1 trace decoding. The work has been tested on TC2 and ST-Microelectronics' mp157c-ev1 board and applies cleanly on 4.20-rc1. Although not related to trace decoding, the following patches [1][2][3] are required for ETMv3/PTM1.1 traces to be generated properly on a 4.20-rc1 mainline kernel.
I am planning to post this on the kernel mailing list in a week.
Regards, Mathieu
Changes since V1: * Address a problem with protocol identification in [3/3]
[1]. https://lore.kernel.org/patchwork/patch/1007184/ [2]. https://lore.kernel.org/patchwork/patch/1007185/ [3]. https://lore.kernel.org/patchwork/patch/1007186/
Mathieu Poirier (3): perf tools: Add configuration for ETMv3 trace protocol perf tools: Add support for ETMv3 trace decoding perf tools: Add support for PTMv1.1 decoding
tools/perf/util/cs-etm-decoder/cs-etm-decoder.c | 31 +++++++++++ tools/perf/util/cs-etm-decoder/cs-etm-decoder.h | 9 +++ tools/perf/util/cs-etm.c | 73 ++++++++++++++++++++----- 3 files changed, 99 insertions(+), 14 deletions(-)