Home
last modified time | relevance | path

Searched refs:sample_type (Results 1 – 25 of 54) sorted by relevance

123

/tools/perf/tests/
Dsample-parsing.c151 static int do_test(u64 sample_type, u64 sample_regs, u64 read_format) in do_test() argument
156 .sample_type = sample_type, in do_test()
220 if (sample_type & PERF_SAMPLE_REGS_USER) in do_test()
223 if (sample_type & PERF_SAMPLE_REGS_INTR) in do_test()
237 sz = perf_event__sample_event_size(&sample, sample_type, read_format); in do_test()
250 err = perf_event__synthesize_sample(event, sample_type, read_format, in do_test()
254 "perf_event__synthesize_sample", sample_type, err); in do_test()
269 evsel.sample_size = __perf_evsel__sample_size(sample_type); in do_test()
274 "perf_evsel__parse_sample", sample_type, err); in do_test()
278 if (!samples_same(&sample, &sample_out, sample_type, read_format)) { in do_test()
[all …]
/tools/perf/tests/attr/
Dtest-record-data7 # sample_type = PERF_SAMPLE_IP | PERF_SAMPLE_TID | PERF_SAMPLE_TIME |
9 sample_type=33039
Dtest-record-group19 sample_type=327
17 sample_type=327
Dtest-record-group9 sample_type=327
16 sample_type=327
Dtest-record-group-sampling9 sample_type=343
22 sample_type=343
Dtest-record-raw7 sample_type=1415
Dtest-record-graph-default7 sample_type=295
Dtest-record-no-inherit7 sample_type=263
Dtest-record-branch-any7 sample_type=2311
Dtest-record-branch-filter-any_ret7 sample_type=2311
Dtest-record-graph-fp7 sample_type=295
Dtest-record-branch-filter-any_call7 sample_type=2311
Dtest-record-branch-filter-u7 sample_type=2311
Dtest-record-count8 sample_type=7
Dtest-record-branch-filter-any7 sample_type=2311
Dtest-record-branch-filter-ind_call7 sample_type=2311
Dtest-record-branch-filter-hv7 sample_type=2311
Dtest-record-branch-filter-k7 sample_type=2311
Dtest-record-no-buffering7 sample_type=263
Dtest-record-graph-dwarf7 sample_type=45359
Dtest-record-C014 sample_type=391
Dbase-record11 sample_type=263
Dbase-stat11 sample_type=65536
/tools/perf/util/
Drecord.c82 evsel->attr.sample_type |= PERF_SAMPLE_IDENTIFIER; in perf_probe_sample_identifier()
172 if (evsel->attr.sample_type == first->attr.sample_type) in perf_evlist__config()
Devsel.c103 int __perf_evsel__sample_size(u64 sample_type) in __perf_evsel__sample_size() argument
105 u64 mask = sample_type & PERF_SAMPLE_MASK; in __perf_evsel__sample_size()
127 static int __perf_evsel__calc_id_pos(u64 sample_type) in __perf_evsel__calc_id_pos() argument
131 if (sample_type & PERF_SAMPLE_IDENTIFIER) in __perf_evsel__calc_id_pos()
134 if (!(sample_type & PERF_SAMPLE_ID)) in __perf_evsel__calc_id_pos()
137 if (sample_type & PERF_SAMPLE_IP) in __perf_evsel__calc_id_pos()
140 if (sample_type & PERF_SAMPLE_TID) in __perf_evsel__calc_id_pos()
143 if (sample_type & PERF_SAMPLE_TIME) in __perf_evsel__calc_id_pos()
146 if (sample_type & PERF_SAMPLE_ADDR) in __perf_evsel__calc_id_pos()
160 static int __perf_evsel__calc_is_pos(u64 sample_type) in __perf_evsel__calc_is_pos() argument
[all …]

123