Searched refs:sample_type (Results 1 – 25 of 48) sorted by relevance
12
/external/linux-tools-perf/perf-3.12.0/tools/perf/tests/ |
D | sample-parsing.c | 127 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/ |
D | test-record-data | 8 # sample_type = PERF_SAMPLE_IP | PERF_SAMPLE_TID | PERF_SAMPLE_TIME | 10 sample_type=33039
|
D | test-record-group | 8 sample_type=327 15 sample_type=327
|
D | test-record-group1 | 8 sample_type=327 16 sample_type=327
|
D | test-record-group-sampling | 8 sample_type=343 21 sample_type=343
|
D | test-record-graph-default | 6 sample_type=295
|
D | test-record-raw | 7 sample_type=1415
|
D | test-record-no-inherit | 6 sample_type=259
|
D | test-record-graph-fp | 6 sample_type=295
|
D | test-record-branch-any | 7 sample_type=2311
|
D | test-record-count | 7 sample_type=7
|
D | test-record-no-delay | 7 sample_type=263
|
D | test-record-branch-filter-k | 7 sample_type=2311
|
D | test-record-branch-filter-hv | 7 sample_type=2311
|
D | test-record-branch-filter-any_call | 7 sample_type=2311
|
D | test-record-branch-filter-ind_call | 7 sample_type=2311
|
D | test-record-branch-filter-any | 7 sample_type=2311
|
D | test-record-branch-filter-any_ret | 7 sample_type=2311
|
D | test-record-branch-filter-u | 7 sample_type=2311
|
D | test-record-graph-dwarf | 6 sample_type=12583
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/ |
D | record.c | 67 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()
|
D | evsel.c | 35 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 …]
|
D | evlist.c | 831 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 …]
|
D | session.c | 439 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/ |
D | builtin-inject.c | 316 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