diff options
author | German Gomez <german.gomez@arm.com> | 2022-08-23 17:06:49 +0100 |
---|---|---|
committer | Mathieu Poirier <mathieu.poirier@linaro.org> | 2022-08-26 13:37:52 -0600 |
commit | 0f00b223ea22f9e32a82a6ffb5a4de0753c99b55 (patch) | |
tree | e04898d087c6ea6b17b6fa2d62aab49f09ca8ba9 /include/linux/flat.h | |
parent | 84fa8f159022aab8e93667b56672238b10cdbb9b (diff) |
coresight: etm4x: Expose default timestamp source in sysfs
Add a new sysfs interface in /sys/bus/coresight/devices/etm<N>/ts_source
indicating the configured timestamp source when the ETM device driver
was probed.
The perf tool will use this information to detect if the trace data
timestamp matches the kernel time, enabling correlation of CoreSight
trace with perf events.
Suggested-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: German Gomez <german.gomez@arm.com>
Reviewed-by: Leo Yan <leo.yan@linaro.org>
Signed-off-by: James Clark <james.clark@arm.com>
Link: https://lore.kernel.org/r/20220823160650.455823-2-james.clark@arm.com
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Diffstat (limited to 'include/linux/flat.h')
0 files changed, 0 insertions, 0 deletions