MIPS: add support for software performance events