Lines Matching defs:read_format
1429 size_t perf_event__sample_event_size(const struct perf_sample *sample, u64 type, u64 read_format)
1462 if (read_format & PERF_FORMAT_TOTAL_TIME_ENABLED)
1464 if (read_format & PERF_FORMAT_TOTAL_TIME_RUNNING)
1467 if (read_format & PERF_FORMAT_GROUP) {
1468 sz = sample_read_value_size(read_format);
1472 if (read_format & PERF_FORMAT_LOST)
1558 static __u64 *copy_read_group_values(__u64 *array, __u64 read_format,
1561 size_t sz = sample_read_value_size(read_format);
1564 sample_read_group__for_each(v, sample->read.group.nr, read_format) {
1572 int perf_event__synthesize_sample(union perf_event *event, u64 type, u64 read_format,
1635 if (read_format & PERF_FORMAT_GROUP)
1641 if (read_format & PERF_FORMAT_TOTAL_TIME_ENABLED) {
1646 if (read_format & PERF_FORMAT_TOTAL_TIME_RUNNING) {
1652 if (read_format & PERF_FORMAT_GROUP) {
1653 array = copy_read_group_values(array, read_format,
1659 if (read_format & PERF_FORMAT_LOST) {