Skip to content

perf arm-spe: Enable timestamp

Leo Yan linux-arm-kernel linux-perf-users lkml 5 versions – Applied

Status from this message: Applied, thanks, please let me know if there is still something

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest5 patches 4 repliesApplied
  2. v46 patches 10 repliesSuperseded
  3. v36 patches 1 replySuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v27 patches4 repliesSuperseded
v17 patches0 repliesSuperseded

Changes in v5 from the cover letter

* Dropped the change "perf arm-spe: Remove unused enum value ARM_SPE_PER_CPU_MMAPS" for format compatibility (James).

Patches in v5 Applied

#Subject and filesSizeRepliesApplied
1/5perf arm-spe: Save clock parameters from TIME_CONV eventtools/perf/util/arm-spe.c+26 -00 replies
2/5perf arm-spe: Convert event kernel time to counter valuetools/perf/util/arm-spe.c+1 -10 replies
3/5perf arm-spe: Assign kernel time to synthesized eventtools/perf/util/arm-spe.c+1 -10 replies
4/5perf arm-spe: Bail out if the trace is later than perf eventtools/perf/util/arm-spe.c+34 -30 replies
5/5perf arm-spe: Don't wait for PERF_RECORD_EXIT eventtools/perf/util/arm-spe.c+1 -54 replies

Reviews trailers per patch

1 of 5 patches has a Reviewed-by or Acked-by.

PatchJames Clark
1/5
2/5
3/5
4/5
5/5R-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [PATCH v5 0/5] perf arm-spe: Enable timestamp

This patch set is to enable timestamp for Arm SPE trace. It reads out TSC parameters from the TIME_CONV event, the parameters are used for conversion between timer counter and kernel time, the calculated timestamps are assigned to Arm SPE samples.

This patch set can be clearly applied on perf/core branch with:

commit 046b243a6afb ("perf x86 kvm-stat: Support to analyze kvm MSR")

The patches have been tested on Hisilicon D06 platform.

Changes from v4:
* Dropped the change "perf arm-spe: Remove unused enum value ARM_SPE_PER_CPU_MMAPS" for format compatibility (James).

Changes from v3:
* Let to be backwards-compatible for TIME_CONV event (Adrian).

Changes from v2:
* Changed to use TIME_CONV event for extracting clock parameters (Al).

Changes from v1:
* Rebased patch series on the latest perf/core branch;
* Fixed the patch for dumping TSC parameters to support both the older and new auxtrace info format.

Leo Yan (5):
perf arm-spe: Save clock parameters from TIME_CONV event perf arm-spe: Convert event kernel time to counter value perf arm-spe: Assign kernel time to synthesized event perf arm-spe: Bail out if the trace is later than perf event perf arm-spe: Don't wait for PERF_RECORD_EXIT event

 tools/perf/util/arm-spe.c | 73 +++++++++++++++++++++++++++++++++------
 1 file changed, 63 insertions(+), 10 deletions(-)
Signature · 1 line
2.25.1