Lines Matching refs:read_format

1817 static int __perf_event_read_size(u64 read_format, int nr_siblings)
1823 if (read_format & PERF_FORMAT_TOTAL_TIME_ENABLED)
1826 if (read_format & PERF_FORMAT_TOTAL_TIME_RUNNING)
1829 if (read_format & PERF_FORMAT_ID)
1832 if (read_format & PERF_FORMAT_LOST)
1835 if (read_format & PERF_FORMAT_GROUP) {
1895 __perf_event_read_size(event->attr.read_format,
1933 * depends on per-event read_format, also (re)check the existing events.
1942 if (__perf_event_read_size(event->attr.read_format,
1946 if (__perf_event_read_size(group_leader->attr.read_format,
1961 if (__perf_event_read_size(sibling->attr.read_format,
5489 u64 read_format, u64 *values)
5535 if (read_format & PERF_FORMAT_TOTAL_TIME_ENABLED) {
5540 if (read_format & PERF_FORMAT_TOTAL_TIME_RUNNING) {
5549 if (read_format & PERF_FORMAT_ID)
5551 if (read_format & PERF_FORMAT_LOST)
5556 if (read_format & PERF_FORMAT_ID)
5558 if (read_format & PERF_FORMAT_LOST)
5568 u64 read_format, char __user *buf)
5585 ret = __perf_read_group_add(leader, read_format, values);
5590 ret = __perf_read_group_add(child, read_format, values);
5610 u64 read_format, char __user *buf)
5617 if (read_format & PERF_FORMAT_TOTAL_TIME_ENABLED)
5619 if (read_format & PERF_FORMAT_TOTAL_TIME_RUNNING)
5621 if (read_format & PERF_FORMAT_ID)
5623 if (read_format & PERF_FORMAT_LOST)
5651 u64 read_format = event->attr.read_format;
5666 if (read_format & PERF_FORMAT_GROUP)
5667 ret = perf_read_group(event, read_format, buf);
5669 ret = perf_read_one(event, read_format, buf);
7199 u64 read_format = event->attr.read_format;
7204 if (read_format & PERF_FORMAT_TOTAL_TIME_ENABLED) {
7208 if (read_format & PERF_FORMAT_TOTAL_TIME_RUNNING) {
7212 if (read_format & PERF_FORMAT_ID)
7214 if (read_format & PERF_FORMAT_LOST)
7225 u64 read_format = event->attr.read_format;
7238 if (read_format & PERF_FORMAT_TOTAL_TIME_ENABLED)
7241 if (read_format & PERF_FORMAT_TOTAL_TIME_RUNNING)
7249 if (read_format & PERF_FORMAT_ID)
7251 if (read_format & PERF_FORMAT_LOST)
7264 if (read_format & PERF_FORMAT_ID)
7266 if (read_format & PERF_FORMAT_LOST)
7289 u64 read_format = event->attr.read_format;
7300 if (read_format & PERF_FORMAT_TOTAL_TIMES)
7303 if (event->attr.read_format & PERF_FORMAT_GROUP)
12153 if (attr->read_format & ~(PERF_FORMAT_MAX-1))