]> git.baikalelectronics.ru Git - kernel.git/commit
perf arm-spe: Fix SPE events with phys addresses
authorTimothy Hayes <timothy.hayes@arm.com>
Thu, 21 Apr 2022 16:52:04 +0000 (17:52 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 28 Apr 2022 13:39:28 +0000 (10:39 -0300)
commit192498ba86f6e8f04c3d212f0935a99c44676e53
treee9ffe49af71235381ce5459a440025e3961fb8d7
parentd94bc4ed7413c274af4b34f6ce9a61d4f7459def
perf arm-spe: Fix SPE events with phys addresses

This patch corrects a bug whereby SPE collection is invoked with
pa_enable=1 but synthesized events fail to show physical addresses.

Reviewed-by: Leo Yan <leo.yan@linaro.org>
Signed-off-by: Timothy Hayes <timothy.hayes@arm.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: John Fastabend <john.fastabend@gmail.com>
Cc: John Garry <john.garry@huawei.com>
Cc: KP Singh <kpsingh@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Martin KaFai Lau <kafai@fb.com>
Cc: Mathieu Poirier <mathieu.poirier@linaro.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Song Liu <songliubraving@fb.com>
Cc: Will Deacon <will@kernel.org>
Cc: Yonghong Song <yhs@fb.com>
Cc: bpf@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org
Cc: netdev@vger.kernel.org
Link: https://lore.kernel.org/r/20220421165205.117662-3-timothy.hayes@arm.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/arch/arm64/util/arm-spe.c
tools/perf/util/arm-spe.c