I am a newbie towards using PAPI interface. MY intension is to get system-wide profile information for some significant systems related to CPU, Cache and Disk. I have used Oprofile before to acheive the same task. I was wondering if using PAPI I can write a code to get system wide profile information accesing the hardware performance counters related to this system event. If yes, is this better or efficient way to do than doing it through Oprofile.
Thanks in advance for your suggestions and help!
Ata E Husain