Home
last modified time | relevance | path

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

/tools/perf/tests/
Dsample-parsing.c27 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 …]
Dattr.c95 WRITE_ASS(read_format, "llu"); in store_event()
Devent-times.c178 evsel->attr.read_format |= in test_times()
/tools/perf/tests/attr/
Dtest-record-group9 read_format=4
16 read_format=4
Dtest-record-group19 read_format=4
17 read_format=4
Dtest-record-group-sampling9 read_format=12
24 read_format=12
Dbase-stat12 read_format=3
Dbase-record12 read_format=0
/tools/perf/util/
Devsel.c200 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 …]
Devlist.c538 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()
Dsession.c615 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()
Devent.h625 u64 read_format);
627 u64 read_format,
Dintel-bts.c814 attr.read_format = evsel->attr.read_format; in intel_bts_synth_events()
Dintel-pt.c1990 attr.read_format = evsel->attr.read_format; in intel_pt_synth_events()
Dpython.c701 &attr.read_format, &disabled, &inherit, in pyrf_evsel__init()
/tools/perf/arch/x86/tests/
Dintel-cqm.c73 pe.read_format = PERF_FORMAT_GROUP; in test__intel_cqm_count_nmi_context()
/tools/include/uapi/linux/
Dperf_event.h306 __u64 read_format; member
395 #define perf_flags(attr) (*(&(attr)->read_format + 1))
/tools/testing/selftests/powerpc/pmu/
Devent.c33 e->attr.read_format = PERF_FORMAT_TOTAL_TIME_ENABLED | \ in event_init_opts()
/tools/kvm/kvm_stat/
Dkvm_stat371 self.read_format = PERF_FORMAT_GROUP
425 read_format = 'xxxxxxxx' + 'Q' * len(self.events)
427 struct.unpack(read_format,
/tools/perf/
Ddesign.txt48 __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
Dbuiltin-inject.c523 evsel->attr.read_format, &sample_sw, in perf_inject__sched_stat()
Dbuiltin-stat.c196 attr->read_format = PERF_FORMAT_TOTAL_TIME_ENABLED | in create_perf_stat_counter()
/tools/perf/Documentation/
Dintel-pt.txt199 read_format ID
578 read_format ID
597 read_format ID
613 read_format ID