is_generic
void (*action)(void *arg, const char *event), int is_generic)
if (is_generic != is_papi) {
if (is_generic == is_papi) {
void (*action)(void *arg, uint_t picno, const char *event), int is_generic)
if (is_generic != is_papi) {
if (is_generic == is_papi)
g1 = is_generic(p1, ec1 - p1);
g2 = is_generic(p2, ec2 - p2);