summaryrefslogtreecommitdiff
path: root/tools/perf/util/arm-spe-decoder/arm-spe-decoder.h
diff options
context:
space:
mode:
authorGerman Gomez <german.gomez@arm.com>2021-11-11 16:36:24 +0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2021-11-14 00:11:51 +0300
commit169de64f5dc22d9984d45c1f119fb644fa16d64a (patch)
treec5ee9e529ac2ba158f59dbeab6109444c9f0163f /tools/perf/util/arm-spe-decoder/arm-spe-decoder.h
parent455c988225c7eee84c7a2f86984404825a1830bb (diff)
downloadlinux-169de64f5dc22d9984d45c1f119fb644fa16d64a.tar.xz
perf arm-spe: Save context ID in record
This patch is to save context ID in record, this will be used to set TID for samples. Reviewed-by: Leo Yan <leo.yan@linaro.org> Signed-off-by: German Gomez <german.gomez@arm.com> Acked-by: Namhyung Kim <namhyung@kernel.org> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.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: Will Deacon <will@kernel.org> Cc: linux-arm-kernel@lists.infradead.org Link: https://lore.kernel.org/r/20211111133625.193568-4-german.gomez@arm.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/arm-spe-decoder/arm-spe-decoder.h')
-rw-r--r--tools/perf/util/arm-spe-decoder/arm-spe-decoder.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/arm-spe-decoder/arm-spe-decoder.h b/tools/perf/util/arm-spe-decoder/arm-spe-decoder.h
index 59bdb7309674..46a8556a9e95 100644
--- a/tools/perf/util/arm-spe-decoder/arm-spe-decoder.h
+++ b/tools/perf/util/arm-spe-decoder/arm-spe-decoder.h
@@ -38,6 +38,7 @@ struct arm_spe_record {
u64 timestamp;
u64 virt_addr;
u64 phys_addr;
+ u64 context_id;
};
struct arm_spe_insn;