Home
last modified time | relevance | path

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

12345

/tools/perf/tests/
A Dsample-parsing.c212 .sample_type = sample_type, in do_test()
292 if (sample_type & PERF_SAMPLE_REGS_USER) in do_test()
295 if (sample_type & PERF_SAMPLE_REGS_INTR) in do_test()
356 sample_type); in do_test()
372 sample_type); in do_test()
398 u64 sample_type; in test__sample_parsing() local
414 for (sample_type = 1; sample_type != PERF_SAMPLE_MAX; in test__sample_parsing()
415 sample_type <<= 1) { in test__sample_parsing()
417 if (sample_type == PERF_SAMPLE_READ) { in test__sample_parsing()
419 err = do_test(sample_type, 0, rf[i]); in test__sample_parsing()
[all …]
A Ddlfilter-test.c112 static int write_attr(struct test_data *td, u64 sample_type, u64 *id) in write_attr() argument
118 .sample_type = sample_type, in write_attr()
173 static int write_sample(struct test_data *td, u64 sample_type, u64 id, pid_t pid, pid_t tid) in write_sample() argument
192 event->header.size = perf_event__sample_event_size(&sample, sample_type, 0); in write_sample()
193 err = perf_event__synthesize_sample(event, sample_type, 0, &sample); in write_sample()
323 u64 sample_type = TEST_SAMPLE_TYPE; in test__dlfilter_test() local
368 err = write_attr(td, sample_type, &id); in test__dlfilter_test()
381 if (write_sample(td, sample_type, id, pid, tid) != TEST_OK) { in test__dlfilter_test()
/tools/perf/util/
A Dbpf_off_cpu.c322 u64 sample_type, val, sid = 0; in off_cpu_write() local
342 sample_type = evsel->core.attr.sample_type; in off_cpu_write()
344 if (sample_type & ~OFFCPU_SAMPLE_TYPES) { in off_cpu_write()
346 (unsigned long long)sample_type); in off_cpu_write()
367 if (sample_type & PERF_SAMPLE_IP) in off_cpu_write()
369 if (sample_type & PERF_SAMPLE_TID) in off_cpu_write()
371 if (sample_type & PERF_SAMPLE_TIME) in off_cpu_write()
373 if (sample_type & PERF_SAMPLE_CPU) in off_cpu_write()
375 if (sample_type & PERF_SAMPLE_PERIOD) in off_cpu_write()
377 if (sample_type & PERF_SAMPLE_RAW) { in off_cpu_write()
[all …]
A Drecord.c91 attr->sample_type = read_sampler->core.attr.sample_type | in evsel__config_leader_sampling()
92 leader->core.attr.sample_type; in evsel__config_leader_sampling()
129 if (evsel->core.attr.sample_type == first->core.attr.sample_type) in evlist__config()
A Devsel.c149 WRITE_ASS(sample_type, "llu"); in store_event()
289 if (sample_type & PERF_SAMPLE_IP) in __perf_evsel__calc_id_pos()
292 if (sample_type & PERF_SAMPLE_TID) in __perf_evsel__calc_id_pos()
295 if (sample_type & PERF_SAMPLE_TIME) in __perf_evsel__calc_id_pos()
298 if (sample_type & PERF_SAMPLE_ADDR) in __perf_evsel__calc_id_pos()
322 if (sample_type & PERF_SAMPLE_CPU) in __perf_evsel__calc_is_pos()
2405 attr.sample_type = 0; in evsel__detect_missing_features()
2419 attr.sample_type = 0; in evsel__detect_missing_features()
2426 attr.sample_type = 0; in evsel__detect_missing_features()
2433 attr.sample_type = 0; in evsel__detect_missing_features()
[all …]
/tools/perf/tests/shell/attr/
A Dtest-record-data7 # sample_type = PERF_SAMPLE_IP | PERF_SAMPLE_TID | PERF_SAMPLE_TIME |
9 sample_type=33039
A Dtest-record-group19 sample_type=327
17 sample_type=327
A Dtest-record-group212 sample_type=87
22 sample_type=87
A Dtest-record-group312 sample_type=87
23 sample_type=87
A Dtest-record-group-sampling10 sample_type=343
23 sample_type=343
A Dtest-record-group-sampling116 sample_type=343
38 sample_type=343
A Dtest-record-group-sampling216 sample_type=87
44 sample_type=87
A Dtest-record-raw7 sample_type=1415
A Dtest-record-branch-any7 sample_type=2311
A Dtest-record-no-inherit7 sample_type=263
A Dtest-record-branch-filter-any7 sample_type=2311
A Dtest-record-branch-filter-any_call7 sample_type=2311
A Dtest-record-branch-filter-any_ret7 sample_type=2311
A Dtest-record-branch-filter-hv7 sample_type=2311
A Dtest-record-branch-filter-ind_call7 sample_type=2311
A Dtest-record-branch-filter-k7 sample_type=2311
A Dtest-record-branch-filter-u7 sample_type=2311
A Dtest-record-count8 sample_type=7
/tools/perf/python/
A Dtracepoint.py27 ev.sample_type = ev.sample_type & ~perf.SAMPLE_IP
/tools/testing/selftests/bpf/prog_tests/
A Dget_stackid_cannot_attach.c13 .sample_type = PERF_SAMPLE_IP | PERF_SAMPLE_BRANCH_STACK, in test_get_stackid_cannot_attach()
55 attr.sample_type |= PERF_SAMPLE_CALLCHAIN; in test_get_stackid_cannot_attach()

Completed in 26 milliseconds

12345