/linux/tools/perf/tests/attr/ |
A D | test-stat-default | 78 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 D | test-stat-detailed-1 | 79 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 D | test-stat-detailed-2 | 79 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 D | test-stat-detailed-3 | 79 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 D | test-stat-group1 | 9 read_format=3|15 17 read_format=3|15
|
A D | test-stat-group | 9 read_format=3|15 17 read_format=3|15
|
A D | test-record-group | 10 read_format=4 17 read_format=4
|
A D | test-record-group1 | 10 read_format=4 18 read_format=4
|
A D | test-record-group2 | 12 read_format=12 22 read_format=12
|
A D | test-record-group-sampling | 10 read_format=12 25 read_format=12
|
A D | base-record | 12 read_format=0|4
|
A D | base-stat | 12 read_format=3
|
A D | system-wide-dummy | 14 read_format=4
|
/linux/tools/perf/tests/ |
A D | sample-parsing.c | 45 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 D | tracex6_user.c | 108 .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 D | cache.c | 6 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 D | evsel.c | 283 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 D | evlist.c | 220 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 D | counting.c | 29 .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 D | evsel.c | 1124 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 D | session.c | 802 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 D | synthetic-events.h | 62 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 D | intel-hybrid.txt | 99 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 D | libperf-counting.txt | 82 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 D | sample-parsing.c | 42 .read_format = 0, in do_test()
|