[PATCH v1 0/2] perf cs-etm: Add support for itrace option 'T'

From: Leo Yan
Date: Sat Oct 14 2023 - 03:45:33 EST


This patch set is to introduce a new itrace option 'T' for forcily use
timestamp trace for kernel time and support this option in cs-etm.

Some Arm platforms (either Arm CPUs prior to Armv8 or miss the FEAT_TRF
feature, currently the ETM driver cannot decide if the timestamp trace
is same with kernel time. This is why we introduce the itrace option
'T', we leave decision to users so users can specify this option to
forcily use the timestamp trace as the kernel time.

This patch set is tested on Arm Juno board.

Leo Yan (2):
perf auxtrace: Add 'T' itrace option for timestamp trace
perf cs-etm: Enable itrace option 'T'

tools/perf/Documentation/itrace.txt | 1 +
tools/perf/util/auxtrace.c | 3 +++
tools/perf/util/auxtrace.h | 3 +++
tools/perf/util/cs-etm.c | 21 ++++++++++++++++++---
4 files changed, 25 insertions(+), 3 deletions(-)

--
2.34.1