+ }
+ else { // PAPI_NATIVE_EVENT_KIND
+ asciiEventCode = RtsFlags.PapiFlags.userEvents[i];
+ name = papiNativeEventNames[i];
+ code = strtol(asciiEventCode, NULL, 16 /* hex number expected */);
+ PAPI_CHECK(PAPI_event_code_to_name(code, name))
+ }
+ papi_add_event(name, code);