Understanding papi_native_avail command

Issue #90 closed
Sabquat Bahar created an issue

From Linux manpage and other PAPI documentation, the papi_native_avail command should list all native events available in the system. If any of the events from the list is picked and executed with papi_command_line <event>, one should be able to see some number corresponding to that event. However, in my case, I find that all events listed by the papi_native_avail command are not available with the papi_command_line command. For example, the event list generated by papi_native_avail command includes the following two events- perf::PERF_COUNT_HW_CACHE_LL and perf::L1-DCACHE-STORE-MISSES. However, I get different results if I use papi_command_line for those events-

$ papi_command_line perf::PERF_COUNT_HW_CACHE_LL

This utility lets you add events from the command line interface to see if they work.

Successfully added: perf::PERF_COUNT_HW_CACHE_LL

perf::PERF_COUNT_HW_CACHE_LL :  20 

----------------------------------
$ papi_command_line perf::L1-DCACHE-STORE-MISSES

This utility lets you add events from the command line interface to see if they work.

Failed adding: perf::L1-DCACHE-STORE-MISSES
because: Event does not exist
No events specified!
Try running something like: papi_command_line PAPI_TOT_CYC

From my understanding, as the perf::L1-DCACHE-STORE-MISSES event is listed by the papi_native_avail command, I should get some value using papi_command_line perf::L1-DCACHE-STORE-MISSES command. However, papi_command_line reporting that, perf::L1-DCACHE-STORE-MISSES event does not exist.

Please, let me know what I am missing here.

For your kind information, I have attached the output created by the papi_native_avail command.

Comments (2)

  1. Log in to comment