Home
last modified time | relevance | path

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

12

/external/linux-tools-perf/perf-3.12.0/tools/perf/tests/
Dsample-parsing.c127 static int do_test(u64 sample_type, u64 sample_regs_user, u64 read_format) in do_test() argument
132 .sample_type = sample_type, in do_test()
200 sz = perf_event__sample_event_size(&sample, sample_type, in do_test()
214 err = perf_event__synthesize_sample(event, sample_type, in do_test()
219 "perf_event__synthesize_sample", sample_type, err); in do_test()
234 evsel.sample_size = __perf_evsel__sample_size(sample_type); in do_test()
239 "perf_evsel__parse_sample", sample_type, err); in do_test()
243 if (!samples_same(&sample, &sample_out, sample_type, in do_test()
246 sample_type); in do_test()
269 u64 sample_type; in test__sample_parsing() local
[all …]
/external/linux-tools-perf/perf-3.12.0/tools/perf/tests/attr/
Dtest-record-data8 # sample_type = PERF_SAMPLE_IP | PERF_SAMPLE_TID | PERF_SAMPLE_TIME |
10 sample_type=33039
Dtest-record-group8 sample_type=327
15 sample_type=327
Dtest-record-group18 sample_type=327
16 sample_type=327
Dtest-record-group-sampling8 sample_type=343
21 sample_type=343
Dtest-record-graph-default6 sample_type=295
Dtest-record-raw7 sample_type=1415
Dtest-record-no-inherit6 sample_type=259
Dtest-record-graph-fp6 sample_type=295
Dtest-record-branch-any7 sample_type=2311
Dtest-record-count7 sample_type=7
Dtest-record-no-delay7 sample_type=263
Dtest-record-branch-filter-k7 sample_type=2311
Dtest-record-branch-filter-hv7 sample_type=2311
Dtest-record-branch-filter-any_call7 sample_type=2311
Dtest-record-branch-filter-ind_call7 sample_type=2311
Dtest-record-branch-filter-any7 sample_type=2311
Dtest-record-branch-filter-any_ret7 sample_type=2311
Dtest-record-branch-filter-u7 sample_type=2311
Dtest-record-graph-dwarf6 sample_type=12583
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/
Drecord.c67 evsel->attr.sample_type |= PERF_SAMPLE_IDENTIFIER; in perf_probe_sample_identifier()
98 if (evsel->attr.sample_type == first->attr.sample_type) in perf_evlist__config()
Devsel.c35 int __perf_evsel__sample_size(u64 sample_type) in __perf_evsel__sample_size() argument
37 u64 mask = sample_type & PERF_SAMPLE_MASK; in __perf_evsel__sample_size()
59 static int __perf_evsel__calc_id_pos(u64 sample_type) in __perf_evsel__calc_id_pos() argument
63 if (sample_type & PERF_SAMPLE_IDENTIFIER) in __perf_evsel__calc_id_pos()
66 if (!(sample_type & PERF_SAMPLE_ID)) in __perf_evsel__calc_id_pos()
69 if (sample_type & PERF_SAMPLE_IP) in __perf_evsel__calc_id_pos()
72 if (sample_type & PERF_SAMPLE_TID) in __perf_evsel__calc_id_pos()
75 if (sample_type & PERF_SAMPLE_TIME) in __perf_evsel__calc_id_pos()
78 if (sample_type & PERF_SAMPLE_ADDR) in __perf_evsel__calc_id_pos()
92 static int __perf_evsel__calc_is_pos(u64 sample_type) in __perf_evsel__calc_is_pos() argument
[all …]
Devlist.c831 evlist->combined_sample_type |= evsel->attr.sample_type; in __perf_evlist__combined_sample_type()
846 u64 sample_type = first->attr.sample_type; in perf_evlist__valid_read_format() local
854 if ((sample_type & PERF_SAMPLE_READ) && in perf_evlist__valid_read_format()
872 u64 sample_type; in perf_evlist__id_hdr_size() local
878 sample_type = first->attr.sample_type; in perf_evlist__id_hdr_size()
880 if (sample_type & PERF_SAMPLE_TID) in perf_evlist__id_hdr_size()
883 if (sample_type & PERF_SAMPLE_TIME) in perf_evlist__id_hdr_size()
886 if (sample_type & PERF_SAMPLE_ID) in perf_evlist__id_hdr_size()
889 if (sample_type & PERF_SAMPLE_STREAM_ID) in perf_evlist__id_hdr_size()
892 if (sample_type & PERF_SAMPLE_CPU) in perf_evlist__id_hdr_size()
[all …]
Dsession.c439 attr->sample_type = bswap_64(attr->sample_type); in perf_event__attr_swap()
768 u64 sample_type = __perf_evlist__combined_sample_type(session->evlist); in perf_session__print_tstamp() local
776 if ((sample_type & PERF_SAMPLE_CPU)) in perf_session__print_tstamp()
779 if (sample_type & PERF_SAMPLE_TIME) in perf_session__print_tstamp()
834 u64 sample_type; in dump_sample() local
843 sample_type = evsel->attr.sample_type; in dump_sample()
845 if (sample_type & PERF_SAMPLE_CALLCHAIN) in dump_sample()
848 if (sample_type & PERF_SAMPLE_BRANCH_STACK) in dump_sample()
851 if (sample_type & PERF_SAMPLE_REGS_USER) in dump_sample()
854 if (sample_type & PERF_SAMPLE_STACK_USER) in dump_sample()
[all …]
/external/linux-tools-perf/perf-3.12.0/tools/perf/
Dbuiltin-inject.c316 perf_event__synthesize_sample(event_sw, evsel->attr.sample_type, in perf_inject__sched_stat()
330 u64 sample_type, const char *sample_msg) in perf_evsel__check_stype() argument
335 if (!(attr->sample_type & sample_type)) { in perf_evsel__check_stype()

12