Lines Matching refs:read_format
1445 size_t perf_event__sample_event_size(const struct perf_sample *sample, u64 type, u64 read_format)
1478 if (read_format & PERF_FORMAT_TOTAL_TIME_ENABLED)
1480 if (read_format & PERF_FORMAT_TOTAL_TIME_RUNNING)
1483 if (read_format & PERF_FORMAT_GROUP) {
1484 sz = sample_read_value_size(read_format);
1488 if (read_format & PERF_FORMAT_LOST)
1574 static __u64 *copy_read_group_values(__u64 *array, __u64 read_format,
1577 size_t sz = sample_read_value_size(read_format);
1580 sample_read_group__for_each(v, sample->read.group.nr, read_format) {
1588 int perf_event__synthesize_sample(union perf_event *event, u64 type, u64 read_format,
1651 if (read_format & PERF_FORMAT_GROUP)
1657 if (read_format & PERF_FORMAT_TOTAL_TIME_ENABLED) {
1662 if (read_format & PERF_FORMAT_TOTAL_TIME_RUNNING) {
1668 if (read_format & PERF_FORMAT_GROUP) {
1669 array = copy_read_group_values(array, read_format,
1675 if (read_format & PERF_FORMAT_LOST) {