perf arm-spe: Enable sample type PERF_SAMPLE_DATA_SRC
authorLeo Yan <leo.yan@linaro.org>
Thu, 11 Feb 2021 13:38:51 +0000 (15:38 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 12 Feb 2021 20:37:46 +0000 (17:37 -0300)
commit845d3a65c3352fc54eaf936259cd87e40a4b0fcf
tree8ff6d1c367afc6f51a1a53094aef1f2eef6e5cf1
parente73b0d586ed8ababe67a655f8c2deebfb12a307b
perf arm-spe: Enable sample type PERF_SAMPLE_DATA_SRC

This patch is to enable sample type PERF_SAMPLE_DATA_SRC for Arm SPE in
the perf data, when output the tracing data, it tells tools that it
contains data source in the memory event.

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: Adrian Hunter <adrian.hunter@intel.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Al Grant <al.grant@arm.com>
Cc: Andre Przywara <andre.przywara@arm.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: John Garry <john.garry@huawei.com>
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: Wei Li <liwei391@huawei.com>
Cc: Will Deacon <will@kernel.org>
Link: https://lore.kernel.org/r/20210211133856.2137-1-james.clark@arm.com
Signed-off-by: James Clark <james.clark@arm.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/arm-spe.c