All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] coresight: etm4x: Expose default timestamp source in sysfs
@ 2022-04-29 12:30 ` German Gomez
  0 siblings, 0 replies; 12+ messages in thread
From: German Gomez @ 2022-04-29 12:30 UTC (permalink / raw)
  To: coresight, mathieu.poirier, suzuki.poulose
  Cc: james.clark, leo.yan, mike.leach, linux-arm-kernel, linux-kernel,
	German Gomez

Hi,

I'm Sending this sysfs addition to the etm4x driver in order to expose
the timestamp source of the trace (given by the TRFCR_ELx.TS register).

As mentioned in [1/2], having this information is useful for assigning
Kernel times to the perf samples.

Thanks,
German

German Gomez (3):
  coresight: etm4x: Expose default timestamp source in sysfs
  coresight: etm4x: docs: Add documentation for 'ts_source' sysfs
    interface
  perf cs_etm: Store ts_source in AUXTRACE_INFO fields

 .../testing/sysfs-bus-coresight-devices-etm4x |  8 +++
 .../coresight/coresight-etm4x-reference.rst   | 14 ++++
 arch/arm64/include/asm/sysreg.h               |  1 +
 .../coresight/coresight-etm4x-sysfs.c         | 34 ++++++++++
 tools/perf/arch/arm/util/cs-etm.c             | 64 +++++++++++++++++--
 tools/perf/util/cs-etm.c                      | 61 +++++++++---------
 tools/perf/util/cs-etm.h                      | 13 +++-
 7 files changed, 159 insertions(+), 36 deletions(-)

-- 
2.25.1


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

end of thread, other threads:[~2022-05-02 16:50 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-29 12:30 [PATCH 0/2] coresight: etm4x: Expose default timestamp source in sysfs German Gomez
2022-04-29 12:30 ` German Gomez
2022-04-29 12:30 ` [PATCH 1/2] " German Gomez
2022-04-29 12:30   ` German Gomez
2022-04-29 16:28   ` Leo Yan
2022-04-29 16:28     ` Leo Yan
2022-05-02 16:49   ` Mathieu Poirier
2022-05-02 16:49     ` Mathieu Poirier
2022-04-29 12:31 ` [PATCH 2/2] coresight: etm4x: docs: Add documentation for 'ts_source' sysfs interface German Gomez
2022-04-29 12:31   ` German Gomez
2022-05-02 16:45   ` Mathieu Poirier
2022-05-02 16:45     ` Mathieu Poirier

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.