Perf stat in PYNQ PS

What would be the best way to see the number of instructions executed by the PS (ARM Cortex A9) for a certain executable?

I tried to install linux-tools to use perf stat command, but not sure of the variant to install. Is there any other way I can compute or see CPI ultimately?

TIA

1 Like