SPE disabled on Amazon Web Services

SPE is not available on AWS hosts. SPE has been disabled for security reasons on potentially shared hosts.

Solution

Currently, you require a .metal Arm-64 instance for SPE profiling.

Solution

If enabled, Kernel Page Table Isolation (KPTI) blocks the use of SPE (see SPE Prerequisites). The stock Amazon Linux AMI boots with KPTI disabled but the standard Red Hat, Suse, and Ubuntu AMIs do not. Either use the Amazon Linux AMI or ensure that the AMI you are using has KPTI disabled.