aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/llvm-utils.c
diff options
context:
space:
mode:
authorLeo Yan <[email protected]>2021-05-19 07:19:36 +0000
committerArnaldo Carvalho de Melo <[email protected]>2021-07-01 19:14:36 +0000
commit630519014c7b5abc544d93e07ad6e9328098bf68 (patch)
tree3816c609cdf0bdac66c76d62800b07595d6e7079 /tools/perf/util/llvm-utils.c
parentperf arm-spe: Save clock parameters from TIME_CONV event (diff)
downloadkernel-630519014c7b5abc544d93e07ad6e9328098bf68.tar.gz
kernel-630519014c7b5abc544d93e07ad6e9328098bf68.zip
perf arm-spe: Convert event kernel time to counter value
When handle a perf event, Arm SPE decoder needs to decide if this perf event is earlier or later than the samples from Arm SPE trace data; to do comparision, it needs to use the same unit for the time. This patch converts the event kernel time to arch timer's counter value, thus it can be used to compare with counter value contained in Arm SPE Timestamp packet. Signed-off-by: Leo Yan <[email protected]> Reviewed-by: James Clark <[email protected]> Tested-by: James Clark <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Al Grant <[email protected]> Cc: Dave Martin <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: John Garry <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Mathieu Poirier <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Will Deacon <[email protected]> Cc: [email protected] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/llvm-utils.c')
0 files changed, 0 insertions, 0 deletions