linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] perf cs-etm: Handle valid-but-zero timestamps
@ 2021-05-13 14:35 James Clark
  2021-05-13 14:35 ` [PATCH v2 1/3] perf cs-etm: Move synth_opts initialisation James Clark
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: James Clark @ 2021-05-13 14:35 UTC (permalink / raw)
  To: coresight, leo.yan
  Cc: al.grant, branislav.rankov, denik, suzuki.poulose,
	anshuman.khandual, James Clark, Mike Leach, Mark Rutland,
	Alexander Shishkin, Jiri Olsa, Namhyung Kim, John Garry,
	Will Deacon, Mathieu Poirier, linux-arm-kernel, linux-perf-users,
	linux-kernel

This patchset is an alternate solution to the original: "[RFC PATCH]
perf cs-etm: Handle valid-but-zero timestamps". It uses the existing
Z option to --itrace instead of modifying the behaviour of the
cs_etm__etmq_get_timestamp() function.

Using timeless mode is equivalent to ignoring 0 timestamps, as
suggested by Mike and Leo.

It applies on top of "[PATCH v3 0/2] perf cs-etm: Set time on
synthesised samples to preserve ordering"

James Clark (3):
  perf cs-etm: Move synth_opts initialisation
  perf cs-etm: Start reading 'Z' --itrace option
  perf cs-etm: Prevent and warn on underflows during timestamp
    calculation.

 .../perf/util/cs-etm-decoder/cs-etm-decoder.c | 45 ++++++++++++++-----
 tools/perf/util/cs-etm.c                      | 20 +++++----
 2 files changed, 46 insertions(+), 19 deletions(-)

-- 
2.28.0


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-05-16  8:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-05-13 14:35 [PATCH v2 0/3] perf cs-etm: Handle valid-but-zero timestamps James Clark
2021-05-13 14:35 ` [PATCH v2 1/3] perf cs-etm: Move synth_opts initialisation James Clark
2021-05-13 14:35 ` [PATCH v2 2/3] perf cs-etm: Start reading 'Z' --itrace option James Clark
2021-05-13 14:35 ` [PATCH v2 3/3] perf cs-etm: Prevent and warn on underflows during timestamp calculation James Clark
2021-05-16  8:52   ` Leo Yan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).