Home
last modified time | relevance | path

Searched refs:read_format (Results 1 – 25 of 51) sorted by relevance

123

/linux/tools/perf/tests/attr/
A Dtest-stat-default78 read_format=15
89 read_format=15
100 read_format=15
111 read_format=15
122 read_format=15
133 read_format=15
144 read_format=15
155 read_format=15
166 read_format=15
A Dtest-stat-detailed-179 read_format=15
90 read_format=15
101 read_format=15
112 read_format=15
123 read_format=15
134 read_format=15
145 read_format=15
156 read_format=15
167 read_format=15
A Dtest-stat-detailed-279 read_format=15
90 read_format=15
101 read_format=15
112 read_format=15
123 read_format=15
134 read_format=15
145 read_format=15
156 read_format=15
167 read_format=15
A Dtest-stat-detailed-379 read_format=15
90 read_format=15
101 read_format=15
112 read_format=15
123 read_format=15
134 read_format=15
145 read_format=15
156 read_format=15
167 read_format=15
A Dtest-stat-group19 read_format=3|15
17 read_format=3|15
A Dtest-stat-group9 read_format=3|15
17 read_format=3|15
A Dtest-record-group10 read_format=4
17 read_format=4
A Dtest-record-group110 read_format=4
18 read_format=4
A Dtest-record-group212 read_format=12
22 read_format=12
A Dtest-record-group-sampling10 read_format=12
25 read_format=12
A Dbase-record12 read_format=0|4
A Dbase-stat12 read_format=3
A Dsystem-wide-dummy14 read_format=4
/linux/tools/perf/tests/
A Dsample-parsing.c45 u64 type, u64 read_format, bool needs_swap) in samples_same() argument
79 if (read_format & PERF_FORMAT_GROUP) in samples_same()
83 if (read_format & PERF_FORMAT_TOTAL_TIME_ENABLED) in samples_same()
85 if (read_format & PERF_FORMAT_TOTAL_TIME_RUNNING) in samples_same()
88 if (read_format & PERF_FORMAT_GROUP) { in samples_same()
191 static int do_test(u64 sample_type, u64 sample_regs, u64 read_format) in do_test() argument
198 .read_format = read_format, in do_test()
283 if (read_format & PERF_FORMAT_GROUP) { in do_test()
304 err = perf_event__synthesize_sample(event, sample_type, read_format, in do_test()
358 if (ret && read_format) in do_test()
[all …]
/linux/samples/bpf/
A Dtracex6_user.c108 .read_format = 0, in test_bpf_perf_event()
117 .read_format = 0, in test_bpf_perf_event()
126 .read_format = 0, in test_bpf_perf_event()
136 .read_format = 0, in test_bpf_perf_event()
148 .read_format = 0, in test_bpf_perf_event()
161 .read_format = 0, in test_bpf_perf_event()
/linux/tools/testing/selftests/resctrl/
A Dcache.c6 struct read_format { struct
14 static struct read_format rf_cqm; argument
22 pea_llc_miss.read_format = PERF_FORMAT_GROUP; in initialize_perf_event_attr()
54 memset(&rf_cqm, 0, sizeof(struct read_format)); in initialize_llc_perf()
97 if (read(fd_lm, &rf_cqm, sizeof(struct read_format)) == -1) { in get_llc_perf()
/linux/tools/lib/perf/
A Devsel.c283 u64 read_format = evsel->attr.read_format; in perf_evsel__read_size() local
288 if (read_format & PERF_FORMAT_TOTAL_TIME_ENABLED) in perf_evsel__read_size()
291 if (read_format & PERF_FORMAT_TOTAL_TIME_RUNNING) in perf_evsel__read_size()
294 if (read_format & PERF_FORMAT_ID) in perf_evsel__read_size()
297 if (read_format & PERF_FORMAT_GROUP) { in perf_evsel__read_size()
A Devlist.c220 return first->attr.read_format; in perf_evlist__read_format()
279 if (!(evsel->attr.read_format & PERF_FORMAT_ID) || in perf_evlist__id_add_fd()
283 if (evsel->attr.read_format & PERF_FORMAT_TOTAL_TIME_ENABLED) in perf_evlist__id_add_fd()
285 if (evsel->attr.read_format & PERF_FORMAT_TOTAL_TIME_RUNNING) in perf_evlist__id_add_fd()
497 if (evsel->attr.read_format & PERF_FORMAT_ID) { in mmap_per_evsel()
590 if ((evsel->attr.read_format & PERF_FORMAT_ID) && in perf_evlist__mmap_ops()
/linux/tools/lib/perf/Documentation/examples/
A Dcounting.c29 .read_format = PERF_FORMAT_TOTAL_TIME_ENABLED|PERF_FORMAT_TOTAL_TIME_RUNNING, in main()
35 .read_format = PERF_FORMAT_TOTAL_TIME_ENABLED|PERF_FORMAT_TOTAL_TIME_RUNNING, in main()
/linux/tools/perf/util/
A Devsel.c1124 attr->read_format |= PERF_FORMAT_GROUP; in evsel__config()
1152 evsel->core.attr.read_format |= in evsel__config()
1258 evsel->core.attr.read_format |= in evsel__config()
1520 u64 read_format = leader->core.attr.read_format; in evsel__process_group_data() local
1555 u64 read_format = leader->core.attr.read_format; in evsel__read_group() local
1559 if (!(read_format & PERF_FORMAT_ID)) in evsel__read_group()
1584 u64 read_format = evsel->core.attr.read_format; in evsel__read_counter() local
1586 if (read_format & PERF_FORMAT_GROUP) in evsel__read_counter()
2407 u64 read_format = evsel->core.attr.read_format; in evsel__parse_sample() local
2410 if (read_format & PERF_FORMAT_GROUP) in evsel__parse_sample()
[all …]
A Dsession.c802 bswap_field_64(read_format); in perf_event__attr_swap()
818 if (bswap_safe(read_format, 1)) in perf_event__attr_swap()
819 swap_bitfield((u8 *) (&attr->read_format + 1), in perf_event__attr_swap()
1252 if (read_format & PERF_FORMAT_TOTAL_TIME_ENABLED) in sample_read__printf()
1256 if (read_format & PERF_FORMAT_TOTAL_TIME_RUNNING) in sample_read__printf()
1260 if (read_format & PERF_FORMAT_GROUP) { in sample_read__printf()
1367 u64 read_format; in dump_read() local
1378 read_format = evsel->core.attr.read_format; in dump_read()
1386 if (read_format & PERF_FORMAT_ID) in dump_read()
1469 u64 read_format = evsel->core.attr.read_format; in evlist__deliver_sample() local
[all …]
A Dsynthetic-events.h62 int perf_event__synthesize_sample(union perf_event *event, u64 type, u64 read_format, const struct …
76 size_t perf_event__sample_event_size(const struct perf_sample *sample, u64 type, u64 read_format);
/linux/tools/perf/Documentation/
A Dintel-hybrid.txt99 read_format TOTAL_TIME_ENABLED|TOTAL_TIME_RUNNING
112 read_format TOTAL_TIME_ENABLED|TOTAL_TIME_RUNNING
152 read_format TOTAL_TIME_ENABLED|TOTAL_TIME_RUNNING
166 read_format TOTAL_TIME_ENABLED|TOTAL_TIME_RUNNING
/linux/tools/lib/perf/Documentation/
A Dlibperf-counting.txt82 23 .read_format = PERF_FORMAT_TOTAL_TIME_ENABLED|PERF_FORMAT_TOTAL_TIME_RUNNING,
88 29 .read_format = PERF_FORMAT_TOTAL_TIME_ENABLED|PERF_FORMAT_TOTAL_TIME_RUNNING,
93 The `read_format` setup tells perf to include timing details together with each count.
/linux/tools/perf/arch/x86/tests/
A Dsample-parsing.c42 .read_format = 0, in do_test()

Completed in 34 milliseconds

123