perf event: Add 'simd_flags' field to 'struct perf_sample'
authorGerman Gomez <german.gomez@arm.com>
Mon, 20 Mar 2023 15:15:05 +0000 (15:15 +0000)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 20 Mar 2023 22:27:00 +0000 (19:27 -0300)
commitf43cc1a9a8612ca591e4c205b9f503d63380eccc
tree1f778d01da70d1f5422cb3da5d0966b8cf1a2223
parent052072f69f28864cebaeb6ca9dc2c9825b72c834
perf event: Add 'simd_flags' field to 'struct perf_sample'

Add new field to 'struct perf_sample' to store flags related to SIMD
ops.

It will be used to store SIMD information from SVE and NEON when
profiling using ARM SPE.

Signed-off-by: German Gomez <german.gomez@arm.com>
Acked-by: Ian Rogers <irogers@google.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Anshuman.Khandual@arm.com
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: John Garry <john.g.garry@oracle.com>
Cc: Leo Yan <leo.yan@linaro.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Mike Leach <mike.leach@linaro.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Will Deacon <will@kernel.org>
Cc: linux-arm-kernel@lists.infradead.org
Link: https://lore.kernel.org/r/20230320151509.1137462-2-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/sample.h