mbox series

[v1,0/2] perf cs-etm: Improve timestamp tracing

Message ID 20230827133557.112494-1-leo.yan@linaro.org (mailing list archive)
Headers show
Series perf cs-etm: Improve timestamp tracing | expand

Message

Leo Yan Aug. 27, 2023, 1:35 p.m. UTC
This patch series is to improve timestamp handling in per-thread mode.

The current code doesn't validate timestamp and always return success for
per-thread mode, for a sane implementation, the first patch is to allow
validation timestamp tracing in per-thread mode.

The second patch is to respect timestamp option "--timestamp" or "-T",
when users set this option, the tool will automatically enable hardware
timestamp tracing in Arm CoreSight.


Leo Yan (2):
  perf cs-etm: Validate timestamp tracing in per-thread mode
  perf cs-etm: Respect timestamp option

 tools/perf/arch/arm/util/cs-etm.c | 22 ++++++++++++++++++++--
 1 file changed, 20 insertions(+), 2 deletions(-)