I don't understand how to get the event code for a specific event. In my case I would like to find out what the event code for an FP_ASSIST is. Using the code given by papi_native_avail (0x4000001a), results in the error message "fd/status: Invalid argument". Or is there some other relative simple tool which prints the total count for an event, to test whether an event is working correctly.
Since I always get 0 events with hpctoolkit for FP_ASSIST I am wondering whether this is a problem in hpctoolkit, PAPI, perfctr or the hardware. It is a XEON 5550 and as far as I understand the Intel documentation the underflow in my program should cause a FP_ASSIST. Does someone happen to know whether FP_ASSIST works correctly on Nehalem-EP?