The check for the arm64 architecture was missing, so systemtap was not
recognizing the arm64 registers. This addition should allow systemtap
to find the various arguments being passed in by user-space markers.
// test for REGISTER
// NB: Because PR11821, we must use percent_regnames here.
string regexp;
- if (elf_machine == EM_PPC || elf_machine == EM_PPC64 || elf_machine == EM_ARM)
+ if (elf_machine == EM_PPC || elf_machine == EM_PPC64
+ || elf_machine == EM_ARM || elf_machine == EM_AARCH64)
regexp = "^(" + regnames + ")$";
else
regexp = "^(" + percent_regnames + ")$";
string regexp;
int reg, offset1;
- if (elf_machine == EM_ARM)
+ if (elf_machine == EM_ARM || elf_machine == EM_AARCH64)
{
regexp = "^\\[(" + regnames + ")(, #([+-]?[0-9]+)([+-][0-9]*)?([+-][0-9]*)?)?\\]$";
reg = 1;