[lkml]   [2021]   [Apr]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[PATCH v1 0/3] perf arm-spe: Correct recording configurations
This patch series is to correct Arm SPE recording configurations.

As found by James Clark, it's not reasonable for the current code for
sample flags CPU/TIME/TID which are hard coded. For TIME sample flag,
since it's always enabled, then Arm SPE has no chance for timeless
tracing; for CPU sample flag, it's not needed for per-thread mode;
for TID sample flag, it's redundant for AUX and dummy events.

This series corrects the sample flags setting, and it enables
timestamp for per-cpu mode tracing by default.

This patch set has been tested on Arm64 Hisilicon D06 platform.

Leo Yan (3):
perf arm-spe: Correct sample flags for SPE event
perf arm-spe: Correct sample flags for dummy event
perf arm-spe: Enable timestamp for per-cpu mode

tools/perf/arch/arm64/util/arm-spe.c | 66 +++++++++++++++++++++-------
1 file changed, 50 insertions(+), 16 deletions(-)


 \ /
  Last update: 2021-04-29 17:02    [W:0.086 / U:2.760 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site