Home
last modified time | relevance | path

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

1234

/tools/perf/tests/
Dsample-parsing.c169 static int do_test(u64 sample_type, u64 sample_regs, u64 read_format) in do_test() argument
175 .sample_type = sample_type, in do_test()
247 if (sample_type & PERF_SAMPLE_REGS_USER) in do_test()
250 if (sample_type & PERF_SAMPLE_REGS_INTR) in do_test()
253 if (sample_type & PERF_SAMPLE_BRANCH_STACK) in do_test()
267 sz = perf_event__sample_event_size(&sample, sample_type, read_format); in do_test()
280 err = perf_event__synthesize_sample(event, sample_type, read_format, in do_test()
284 "perf_event__synthesize_sample", sample_type, err); in do_test()
299 evsel.sample_size = __evsel__sample_size(sample_type); in do_test()
304 "evsel__parse_sample", sample_type, err); 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-group9 sample_type=327
16 sample_type=327
Dtest-record-group19 sample_type=327
17 sample_type=327
Dtest-record-group211 sample_type=87
21 sample_type=87
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-branch-any7 sample_type=2311
Dtest-record-no-inherit7 sample_type=263
Dtest-record-branch-filter-ind_call7 sample_type=2311
Dtest-record-branch-filter-any7 sample_type=2311
Dtest-record-branch-filter-u7 sample_type=2311
Dtest-record-branch-filter-hv7 sample_type=2311
Dtest-record-count8 sample_type=7
Dtest-record-graph-fp7 sample_type=295
Dtest-record-branch-filter-any_call7 sample_type=2311
Dtest-record-branch-filter-k7 sample_type=2311
Dtest-record-branch-filter-any_ret7 sample_type=2311
Dtest-record-no-buffering7 sample_type=263
Dtest-record-pfm-period8 sample_type=7
/tools/perf/util/
Drecord.c88 attr->sample_type = read_sampler->core.attr.sample_type | in evsel__config_leader_sampling()
89 leader->core.attr.sample_type; in evsel__config_leader_sampling()
134 if (evsel->core.attr.sample_type == first->core.attr.sample_type) in perf_evlist__config()
Dcs-etm.c954 if (packet->sample_type == CS_ETM_DISCONTINUITY) in cs_etm__first_executed_instr()
964 if (packet->sample_type == CS_ETM_DISCONTINUITY) in cs_etm__last_executed_instr()
1122 if (packet->sample_type == CS_ETM_DISCONTINUITY) { in cs_etm__copy_insn()
1311 attr.sample_type = evsel->core.attr.sample_type & PERF_SAMPLE_MASK; in cs_etm__synth_events()
1312 attr.sample_type |= PERF_SAMPLE_IP | PERF_SAMPLE_TID | in cs_etm__synth_events()
1315 attr.sample_type &= ~(u64)PERF_SAMPLE_TIME; in cs_etm__synth_events()
1317 attr.sample_type |= PERF_SAMPLE_TIME; in cs_etm__synth_events()
1336 attr.sample_type |= PERF_SAMPLE_ADDR; in cs_etm__synth_events()
1341 etm->branches_sample_type = attr.sample_type; in cs_etm__synth_events()
1344 attr.sample_type &= ~(u64)PERF_SAMPLE_ADDR; in cs_etm__synth_events()
[all …]
/tools/perf/ui/browsers/
Dscripts.c39 if (attr->sample_type & PERF_SAMPLE_BRANCH_STACK) in attr_to_script()
41 if (attr->sample_type & PERF_SAMPLE_REGS_INTR) in attr_to_script()
43 if (attr->sample_type & PERF_SAMPLE_REGS_USER) in attr_to_script()
45 if (attr->sample_type & PERF_SAMPLE_PHYS_ADDR) in attr_to_script()
/tools/testing/selftests/bpf/prog_tests/
Dget_stackid_cannot_attach.c13 .sample_type = PERF_SAMPLE_IP | PERF_SAMPLE_BRANCH_STACK, in test_get_stackid_cannot_attach()
56 attr.sample_type |= PERF_SAMPLE_CALLCHAIN; in test_get_stackid_cannot_attach()

1234