Searched refs:read_format (Results 1 - 25 of 37) sorted by path

12

/linux-master/include/uapi/linux/
H A Dperf_event.h342 * as specified by attr.read_format:
344 * struct read_format {
412 __u64 read_format; member in struct:perf_event_attr
941 * struct read_format values;
967 * { struct read_format values; } && PERF_SAMPLE_READ
/linux-master/kernel/events/
H A Dcore.c1817 static int __perf_event_read_size(u64 read_format, int nr_siblings) argument
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,
5488 __perf_read_group_add(struct perf_event *leader, u64 read_format, u64 *values) argument
5567 perf_read_group(struct perf_event *event, u64 read_format, char __user *buf) argument
5609 perf_read_one(struct perf_event *event, u64 read_format, char __user *buf) argument
5651 u64 read_format = event->attr.read_format; local
7199 u64 read_format = event->attr.read_format; local
7225 u64 read_format = event->attr.read_format; local
7289 u64 read_format = event->attr.read_format; local
[all...]
/linux-master/samples/bpf/
H A Dtracex6_user.c107 .read_format = 0,
116 .read_format = 0,
125 .read_format = 0,
135 .read_format = 0,
147 .read_format = 0,
160 .read_format = 0,
/linux-master/tools/include/uapi/linux/
H A Dperf_event.h342 * as specified by attr.read_format:
344 * struct read_format {
412 __u64 read_format; member in struct:perf_event_attr
941 * struct read_format values;
967 * { struct read_format values; } && PERF_SAMPLE_READ
/linux-master/tools/kvm/kvm_stat/
H A Dkvm_stat416 ('read_format', ctypes.c_uint64),
428 self.read_format = PERF_FORMAT_GROUP
453 struct read_format {
462 read_format = 'xxxxxxxx' + 'Q' * len(self.events)
464 struct.unpack(read_format,
/linux-master/tools/lib/perf/Documentation/examples/
H A Dcounting.c29 .read_format = PERF_FORMAT_TOTAL_TIME_ENABLED|PERF_FORMAT_TOTAL_TIME_RUNNING,
35 .read_format = PERF_FORMAT_TOTAL_TIME_ENABLED|PERF_FORMAT_TOTAL_TIME_RUNNING,
/linux-master/tools/lib/perf/
H A Devlist.c244 return first->attr.read_format;
309 if (!(evsel->attr.read_format & PERF_FORMAT_ID) ||
313 if (evsel->attr.read_format & PERF_FORMAT_TOTAL_TIME_ENABLED)
315 if (evsel->attr.read_format & PERF_FORMAT_TOTAL_TIME_RUNNING)
537 if (evsel->attr.read_format & PERF_FORMAT_ID) {
653 if ((evsel->attr.read_format & PERF_FORMAT_ID) &&
H A Devsel.c294 u64 read_format = evsel->attr.read_format; local
299 if (read_format & PERF_FORMAT_TOTAL_TIME_ENABLED)
302 if (read_format & PERF_FORMAT_TOTAL_TIME_RUNNING)
305 if (read_format & PERF_FORMAT_ID)
308 if (read_format & PERF_FORMAT_LOST)
311 if (read_format & PERF_FORMAT_GROUP) {
326 u64 read_format = evsel->attr.read_format; local
346 if (read_format
369 u64 read_format = evsel->attr.read_format; local
392 u64 read_format = evsel->attr.read_format; local
[all...]
/linux-master/tools/lib/perf/tests/
H A Dtest-evlist.c449 .read_format = PERF_FORMAT_TOTAL_TIME_ENABLED |
H A Dtest-evsel.c216 if (attr->read_format & PERF_FORMAT_TOTAL_TIME_ENABLED)
218 if (attr->read_format & PERF_FORMAT_TOTAL_TIME_RUNNING)
220 if (attr->read_format & PERF_FORMAT_ID)
222 if (attr->read_format & PERF_FORMAT_LOST)
237 attr->read_format |= PERF_FORMAT_GROUP;
241 attr->read_format &= ~PERF_FORMAT_GROUP;
262 if (attr->read_format & PERF_FORMAT_TOTAL_TIME_ENABLED)
264 if (attr->read_format & PERF_FORMAT_TOTAL_TIME_RUNNING)
266 if (attr->read_format & PERF_FORMAT_ID)
268 if (attr->read_format
[all...]
/linux-master/tools/perf/arch/x86/tests/
H A Dintel-cqm.c77 pe.read_format = PERF_FORMAT_GROUP;
H A Dsample-parsing.c45 .read_format = 0,
/linux-master/tools/perf/
H A Dbuiltin-inject.c850 evsel->core.attr.read_format, &sample_sw);
H A Dbuiltin-stat.c522 return STAT_RECORD || counter->core.attr.read_format & PERF_FORMAT_ID;
/linux-master/tools/perf/tests/
H A Dattr.c106 WRITE_ASS(read_format, "llu");
H A Devent-times.c184 evsel->core.attr.read_format |=
H A Dsample-parsing.c45 u64 type, u64 read_format, bool needs_swap)
79 if (read_format & PERF_FORMAT_GROUP)
83 if (read_format & PERF_FORMAT_TOTAL_TIME_ENABLED)
85 if (read_format & PERF_FORMAT_TOTAL_TIME_RUNNING)
88 if (read_format & PERF_FORMAT_GROUP) {
91 if (read_format & PERF_FORMAT_LOST)
96 if (read_format & PERF_FORMAT_LOST)
196 static int do_test(u64 sample_type, u64 sample_regs, u64 read_format) argument
203 .read_format = read_format,
43 samples_same(const struct perf_sample *s1, const struct perf_sample *s2, u64 type, u64 read_format, bool needs_swap) argument
[all...]
/linux-master/tools/perf/ui/browsers/
H A Dscripts.c37 if (attr->read_format & PERF_FORMAT_GROUP)
/linux-master/tools/perf/util/
H A Darm-spe.c1163 attr.read_format = evsel->core.attr.read_format;
H A Dcs-etm.c1663 attr.read_format = evsel->core.attr.read_format;
H A Devlist.c1266 u64 read_format = first->core.attr.read_format; local
1270 if (read_format != pos->core.attr.read_format) {
1272 read_format, (u64)pos->core.attr.read_format);
1278 !(read_format & PERF_FORMAT_ID)) {
H A Devsel.c253 evsel->core.attr.read_format |= PERF_FORMAT_ID;
1139 attr->read_format = PERF_FORMAT_LOST;
1158 attr->read_format |= PERF_FORMAT_GROUP;
1184 evsel->core.attr.read_format |=
1290 evsel->core.attr.read_format |=
1337 evsel->core.attr.read_format |= PERF_FORMAT_ID;
1541 u64 read_format = leader->core.attr.read_format; local
1550 if (read_format & PERF_FORMAT_TOTAL_TIME_ENABLED)
1553 if (read_format
1576 u64 read_format = leader->core.attr.read_format; local
1605 u64 read_format = evsel->core.attr.read_format; local
2443 u64 read_format = evsel->core.attr.read_format; local
[all...]
H A Dintel-bts.c805 attr.read_format = evsel->core.attr.read_format;
H A Dintel-pt.c3758 attr.read_format = evsel->core.attr.read_format;
H A Dperf_event_attr_fprintf.c273 PRINT_ATTRf(read_format, p_read_format);

Completed in 334 milliseconds

12