perf arm-spe: Synthesize SPE instruction events
authorGerman Gomez <german.gomez@arm.com>
Thu, 16 Dec 2021 15:24:04 +0000 (15:24 +0000)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Sat, 18 Dec 2021 01:44:10 +0000 (22:44 -0300)
commitff8752d7617da301ad3b7ef18caa58d135ee8c3c
treed116ad2bbfec63e31513d0f35d50b570ac09bf9a
parenta840974e96fd51b47c79301522bccf23cc8bb388
perf arm-spe: Synthesize SPE instruction events

Synthesize instruction events for every ARM SPE record.

Arm SPE implements a hardware-based sample period, and perf implements a
software-based one. Add a warning message to inform the user of this.

Signed-off-by: German Gomez <german.gomez@arm.com>
Tested-by: Leo Yan <leo.yan@linaro.org>
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/20211216152404.52474-1-german.gomez@arm.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/arm-spe.c