mirror of
https://github.com/torvalds/linux.git
synced 2026-05-27 16:44:58 +02:00
perf arm_spe: Report extended memory operations in records
Extended memory operations include atomic (AT), acquire/release (AR), and exclusive (EXCL) operations. Save the relevant information in the records. Signed-off-by: Leo Yan <leo.yan@arm.com> Reviewed-by: Ian Rogers <irogers@google.com> Reviewed-by: James Clark <james.clark@linaro.org> Signed-off-by: Namhyung Kim <namhyung@kernel.org>
This commit is contained in:
parent
c462dc70b1
commit
f3b9bed72e
|
|
@ -211,6 +211,13 @@ static int arm_spe_read_record(struct arm_spe_decoder *decoder)
|
|||
decoder->record.op |= ARM_SPE_OP_NV_SYSREG;
|
||||
} else if (SPE_OP_PKT_LDST_SUBCLASS_MTE_TAG(payload)) {
|
||||
decoder->record.op |= ARM_SPE_OP_MTE_TAG;
|
||||
} else if (SPE_OP_PKT_LDST_SUBCLASS_EXTENDED(payload)) {
|
||||
if (payload & SPE_OP_PKT_AR)
|
||||
decoder->record.op |= ARM_SPE_OP_AR;
|
||||
if (payload & SPE_OP_PKT_EXCL)
|
||||
decoder->record.op |= ARM_SPE_OP_EXCL;
|
||||
if (payload & SPE_OP_PKT_AT)
|
||||
decoder->record.op |= ARM_SPE_OP_ATOMIC;
|
||||
} else if (SPE_OP_PKT_LDST_SUBCLASS_SVE_SME_REG(payload)) {
|
||||
decoder->record.op |= ARM_SPE_OP_SVE;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user