has_inherit_and_sample_read
if (has_inherit_and_sample_read(attr) && !(attr->sample_type & PERF_SAMPLE_TID))
if (has_inherit_and_sample_read(&event->attr))
if (has_inherit_and_sample_read(&event->attr))
values[n++] = perf_event_count(event, has_inherit_and_sample_read(&event->attr));
bool self = has_inherit_and_sample_read(&event->attr);