get_evtype
ptr += sprintf(ptr, ",evtype=0x%02x", (unsigned int)get_evtype(config));
evtype = get_evtype(event->attr.config);