aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/llvm-utils.c
diff options
context:
space:
mode:
authorLeo Yan <[email protected]>2021-05-19 07:19:37 +0000
committerArnaldo Carvalho de Melo <[email protected]>2021-07-01 19:14:36 +0000
commit85498f756f015e3ae89dbe0c94480ad76929752a (patch)
tree82d922b02a2fad658849f09dd1e42205cb9beafa /tools/perf/util/llvm-utils.c
parentperf arm-spe: Convert event kernel time to counter value (diff)
downloadkernel-85498f756f015e3ae89dbe0c94480ad76929752a.tar.gz
kernel-85498f756f015e3ae89dbe0c94480ad76929752a.zip
perf arm-spe: Assign kernel time to synthesized event
In current code, it assigns the arch timer counter to the synthesized samples Arm SPE trace, thus the samples don't contain the kernel time but only contain the raw counter value. To fix the issue, this patch converts the timer counter to kernel time and assigns it to sample timestamp. 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