diff options
author | Leo Yan <leo.yan@linaro.org> | 2021-05-19 12:15:45 +0800 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2021-05-25 09:49:37 -0300 |
commit | f99237e46432c4581a30b3afc053cef8d3df3ce5 (patch) | |
tree | bfad281d49315d53940b5ebc2743481dd5c5751a /tools/perf/util/trace-event-scripting.c | |
parent | e582badf1706a005359ef3e184fa97384e93f83a (diff) | |
download | linux-f99237e46432c4581a30b3afc053cef8d3df3ce5.tar.gz linux-f99237e46432c4581a30b3afc053cef8d3df3ce5.tar.bz2 linux-f99237e46432c4581a30b3afc053cef8d3df3ce5.zip |
perf arm-spe: Enable timestamp for per-cpu mode
For per-cpu mmap, it should enable timestamp tracing for Arm SPE; this
is helpful for samples correlation.
To automatically enable the timestamp, a helper arm_spe_set_timestamp()
is introduced for setting "ts_enable" format bit.
Signed-off-by: Leo Yan <leo.yan@linaro.org>
Reviewed-by: James Clark <james.clark@arm.com>
Tested-by: James Clark <james.clark@arm.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Al Grant <Al.Grant@arm.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: John Garry <john.garry@huawei.com>
Cc: linux-arm-kernel@lists.infradead.org
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Mathieu Poirier <mathieu.poirier@linaro.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Will Deacon <will@kernel.org>
Link: https://lore.kernel.org/r/20210519041546.1574961-4-leo.yan@linaro.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions