Even though profile.c currently uses perf, it very likely will not support other architectures. Needs to be tested and working on at least all recent Intel processors, AMD, and IBM's POWER9 processors.
AMD processors will require IBS support in the kernel (which I think is available). POWER9 will require kernel support as well, so that we don't have to require users to have root access.