lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Fri, 29 Apr 2022 13:30:58 +0100
From:   German Gomez <german.gomez@....com>
To:     coresight@...ts.linaro.org, mathieu.poirier@...aro.org,
        suzuki.poulose@....com
Cc:     james.clark@....com, leo.yan@...aro.org, mike.leach@...aro.org,
        linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
        German Gomez <german.gomez@....com>
Subject: [PATCH 0/2] coresight: etm4x: Expose default timestamp source in sysfs

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ