Using perf_event with the ARM PMU inside gem5
问题 I know that the ARM PMU is partially implemented, thanks to the gem5 source code and some publications. I have a binary which uses perf_event to access the PMU on a Linux-based OS, under an ARM processor. Could it use perf_event inside a gem5 full-system simulation with a Linux kernel, under the ARM ISA? So far, I haven't found the right way to do it. If someone knows, I will be very grateful! 回答1: As of September 2020, gem5 needs to be patched in order to use the ARM PMU . Edit : As of