/tools/perf/tests/ |
D | sample-parsing.c | 27 u64 type, u64 read_format) in samples_same() argument 61 if (read_format & PERF_FORMAT_GROUP) in samples_same() 65 if (read_format & PERF_FORMAT_TOTAL_TIME_ENABLED) in samples_same() 67 if (read_format & PERF_FORMAT_TOTAL_TIME_RUNNING) in samples_same() 70 if (read_format & PERF_FORMAT_GROUP) { in samples_same() 145 static int do_test(u64 sample_type, u64 sample_regs, u64 read_format) in do_test() argument 151 .read_format = read_format, in do_test() 222 if (read_format & PERF_FORMAT_GROUP) { in do_test() 230 sz = perf_event__sample_event_size(&sample, sample_type, read_format); in do_test() 243 err = perf_event__synthesize_sample(event, sample_type, read_format, in do_test() [all …]
|
D | attr.c | 95 WRITE_ASS(read_format, "llu"); in store_event()
|
D | event-times.c | 178 evsel->attr.read_format |= in test_times()
|
/tools/perf/tests/attr/ |
D | test-record-group | 9 read_format=4 16 read_format=4
|
D | test-record-group1 | 9 read_format=4 17 read_format=4
|
D | test-record-group-sampling | 9 read_format=12 24 read_format=12
|
D | base-stat | 12 read_format=3
|
D | base-record | 12 read_format=0
|
/tools/perf/util/ |
D | evsel.c | 200 evsel->attr.read_format |= PERF_FORMAT_ID; in perf_evsel__set_sample_id() 829 attr->read_format |= PERF_FORMAT_GROUP; in perf_evsel__config() 933 evsel->attr.read_format |= in perf_evsel__config() 1362 PRINT_ATTRf(read_format, p_read_format); in perf_event_attr__fprintf() 1823 u64 read_format = evsel->attr.read_format; in perf_evsel__parse_sample() local 1826 if (read_format & PERF_FORMAT_GROUP) in perf_evsel__parse_sample() 1833 if (read_format & PERF_FORMAT_TOTAL_TIME_ENABLED) { in perf_evsel__parse_sample() 1839 if (read_format & PERF_FORMAT_TOTAL_TIME_RUNNING) { in perf_evsel__parse_sample() 1846 if (read_format & PERF_FORMAT_GROUP) { in perf_evsel__parse_sample() 1987 u64 read_format) in perf_event__sample_event_size() argument [all …]
|
D | evlist.c | 538 if (!(evsel->attr.read_format & PERF_FORMAT_ID) || in perf_evlist__id_add_fd() 542 if (evsel->attr.read_format & PERF_FORMAT_TOTAL_TIME_ENABLED) in perf_evlist__id_add_fd() 544 if (evsel->attr.read_format & PERF_FORMAT_TOTAL_TIME_RUNNING) in perf_evlist__id_add_fd() 1097 if (evsel->attr.read_format & PERF_FORMAT_ID) { in perf_evlist__mmap_per_evsel() 1310 if ((evsel->attr.read_format & PERF_FORMAT_ID) && in perf_evlist__mmap_ex() 1523 u64 read_format = first->attr.read_format; in perf_evlist__valid_read_format() local 1527 if (read_format != pos->attr.read_format) in perf_evlist__valid_read_format() 1533 !(read_format & PERF_FORMAT_ID)) { in perf_evlist__valid_read_format() 1543 return first->attr.read_format; in perf_evlist__read_format()
|
D | session.c | 615 bswap_field_64(read_format); in perf_event__attr_swap() 630 if (bswap_safe(read_format, 1)) in perf_event__attr_swap() 631 swap_bitfield((u8 *) (&attr->read_format + 1), in perf_event__attr_swap() 1033 static void sample_read__printf(struct perf_sample *sample, u64 read_format) in sample_read__printf() argument 1037 if (read_format & PERF_FORMAT_TOTAL_TIME_ENABLED) in sample_read__printf() 1041 if (read_format & PERF_FORMAT_TOTAL_TIME_RUNNING) in sample_read__printf() 1045 if (read_format & PERF_FORMAT_GROUP) { in sample_read__printf() 1120 sample_read__printf(sample, evsel->attr.read_format); in dump_sample() 1202 u64 read_format = evsel->attr.read_format; in perf_evlist__deliver_sample() local 1209 if (read_format & PERF_FORMAT_GROUP) in perf_evlist__deliver_sample()
|
D | event.h | 625 u64 read_format); 627 u64 read_format,
|
D | intel-bts.c | 814 attr.read_format = evsel->attr.read_format; in intel_bts_synth_events()
|
D | intel-pt.c | 1990 attr.read_format = evsel->attr.read_format; in intel_pt_synth_events()
|
D | python.c | 701 &attr.read_format, &disabled, &inherit, in pyrf_evsel__init()
|
/tools/perf/arch/x86/tests/ |
D | intel-cqm.c | 73 pe.read_format = PERF_FORMAT_GROUP; in test__intel_cqm_count_nmi_context()
|
/tools/include/uapi/linux/ |
D | perf_event.h | 306 __u64 read_format; member 395 #define perf_flags(attr) (*(&(attr)->read_format + 1))
|
/tools/testing/selftests/powerpc/pmu/ |
D | event.c | 33 e->attr.read_format = PERF_FORMAT_TOTAL_TIME_ENABLED | \ in event_init_opts()
|
/tools/kvm/kvm_stat/ |
D | kvm_stat | 371 self.read_format = PERF_FORMAT_GROUP 425 read_format = 'xxxxxxxx' + 'Q' * len(self.events) 427 struct.unpack(read_format,
|
/tools/perf/ |
D | design.txt | 48 __u32 read_format; 156 additional values as specified by 'read_format', each value is a u64 (8 bytes) 160 * Bits that can be set in hw_event.read_format to request that
|
D | builtin-inject.c | 523 evsel->attr.read_format, &sample_sw, in perf_inject__sched_stat()
|
D | builtin-stat.c | 196 attr->read_format = PERF_FORMAT_TOTAL_TIME_ENABLED | in create_perf_stat_counter()
|
/tools/perf/Documentation/ |
D | intel-pt.txt | 199 read_format ID 578 read_format ID 597 read_format ID 613 read_format ID
|