How to use PAPI to measure FLOPs of a model compiled by TVM?

Hi @iwangyuezhang, this error normally indicates that PAPI is not configured correctly. Could you provide the output of papi_avail and papi_native_avail?