Searched refs:sample_type (Results 26 - 50 of 103) sorted by relevance

12345

/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dtask_fd_query_tp.c38 attr.sample_type = PERF_SAMPLE_RAW;
H A Dperf_event_stackmap.c60 .sample_type = PERF_SAMPLE_IP | PERF_SAMPLE_BRANCH_STACK |
H A Dperf_skip.c67 attr.sample_type = PERF_SAMPLE_IP;
H A Dperf_branches.c114 attr.sample_type = PERF_SAMPLE_BRANCH_STACK;
H A Dtp_attach_query.c37 attr.sample_type = PERF_SAMPLE_RAW | PERF_SAMPLE_CALLCHAIN;
/linux-master/arch/x86/events/intel/
H A Dds.c1190 u64 sample_type = attr->sample_type; local
1194 if (!(sample_type & ~(PERF_SAMPLE_IP|PERF_SAMPLE_TIME)) &&
1198 if (sample_type & PERF_PEBS_MEMINFO_TYPE)
1207 gprs = (sample_type & PERF_SAMPLE_REGS_INTR) &&
1210 tsx_weight = (sample_type & PERF_SAMPLE_WEIGHT_TYPE) &&
1217 if ((sample_type & PERF_SAMPLE_REGS_INTR) &&
1221 if (sample_type & PERF_SAMPLE_BRANCH_STACK) {
1623 u64 sample_type; local
1629 sample_type
1801 u64 sample_type; local
[all...]
/linux-master/tools/perf/util/
H A Dcs-etm.c1271 if (packet->sample_type == CS_ETM_DISCONTINUITY)
1281 if (packet->sample_type == CS_ETM_DISCONTINUITY)
1434 if (packet->sample_type == CS_ETM_DISCONTINUITY) {
1652 attr.sample_type = evsel->core.attr.sample_type & PERF_SAMPLE_MASK;
1653 attr.sample_type |= PERF_SAMPLE_IP | PERF_SAMPLE_TID |
1656 attr.sample_type &= ~(u64)PERF_SAMPLE_TIME;
1658 attr.sample_type |= PERF_SAMPLE_TIME;
1677 attr.sample_type |= PERF_SAMPLE_ADDR;
1681 etm->branches_sample_type = attr.sample_type;
[all...]
H A Dintel-bts.c794 attr.sample_type = evsel->core.attr.sample_type & PERF_SAMPLE_MASK;
795 attr.sample_type |= PERF_SAMPLE_IP | PERF_SAMPLE_TID |
797 attr.sample_type &= ~(u64)PERF_SAMPLE_TIME;
798 attr.sample_type &= ~(u64)PERF_SAMPLE_CPU;
814 attr.sample_type |= PERF_SAMPLE_ADDR;
816 id, (u64)attr.sample_type);
824 bts->branches_sample_type = attr.sample_type;
831 __evsel__sample_size(attr.sample_type);
H A Dperf_api_probe.c84 evsel->core.attr.sample_type |= PERF_SAMPLE_IDENTIFIER;
H A Darm-spe.c56 u64 sample_type; member in struct:arm_spe
333 ret = arm_spe__inject_event(event, sample, spe->sample_type);
798 if ((evsel->core.attr.sample_type & PERF_SAMPLE_TIME))
1145 attr.sample_type = evsel->core.attr.sample_type &
1147 attr.sample_type |= PERF_SAMPLE_IP | PERF_SAMPLE_TID |
1151 attr.sample_type &= ~(u64)PERF_SAMPLE_TIME;
1153 attr.sample_type |= PERF_SAMPLE_TIME;
1155 spe->sample_type = attr.sample_type;
[all...]
H A Djitdump.c42 uint64_t sample_type; member in struct:jit_buf_desc
508 if (jd->sample_type & PERF_SAMPLE_TID) {
512 if (jd->sample_type & PERF_SAMPLE_TIME)
603 if (jd->sample_type & PERF_SAMPLE_TID) {
607 if (jd->sample_type & PERF_SAMPLE_TIME)
870 * track sample_type to compute id_all layout
874 jd.sample_type = first->core.attr.sample_type;
H A Dintel-pt.c1119 if (!(evsel->core.attr.sample_type & PERF_SAMPLE_TIME))
1181 if ((evsel->core.attr.sample_type & PERF_SAMPLE_AUX) &&
1224 if (!(evsel->core.attr.sample_type & PERF_SAMPLE_CALLCHAIN))
1262 if (!(evsel->core.attr.sample_type & PERF_SAMPLE_BRANCH_STACK))
2241 u64 sample_type = evsel->core.attr.sample_type; local
2270 if (sample_type & PERF_SAMPLE_TIME) {
2281 if (sample_type & PERF_SAMPLE_CALLCHAIN &&
2289 if (sample_type & PERF_SAMPLE_REGS_INTR &&
2305 if (sample_type
[all...]
/linux-master/arch/s390/kernel/
H A Dperf_pai_crypto.c302 a->sample_type |= PERF_SAMPLE_RAW;
432 if (event->attr.sample_type & PERF_SAMPLE_TID) {
436 if (event->attr.sample_type & PERF_SAMPLE_TIME)
438 if (event->attr.sample_type & (PERF_SAMPLE_ID | PERF_SAMPLE_IDENTIFIER))
440 if (event->attr.sample_type & PERF_SAMPLE_CPU) {
444 if (event->attr.sample_type & PERF_SAMPLE_RAW) {
H A Dperf_pai_ext.c278 a->sample_type |= PERF_SAMPLE_RAW;
448 if (event->attr.sample_type & PERF_SAMPLE_TID) {
452 if (event->attr.sample_type & PERF_SAMPLE_TIME)
454 if (event->attr.sample_type & (PERF_SAMPLE_ID | PERF_SAMPLE_IDENTIFIER))
456 if (event->attr.sample_type & PERF_SAMPLE_CPU)
458 if (event->attr.sample_type & PERF_SAMPLE_RAW) {
/linux-master/tools/perf/tests/
H A Dbp_signal_overflow.c94 pe.sample_type = PERF_SAMPLE_IP;
H A Dsw-clock.c41 .sample_type = PERF_SAMPLE_PERIOD,
H A Dbp_signal.c117 pe.sample_type = PERF_SAMPLE_IP;
H A Dbp_account.c56 attr->sample_type = PERF_SAMPLE_IP;
H A Dwp.c49 attr->sample_type = PERF_SAMPLE_IP;
/linux-master/tools/lib/perf/Documentation/examples/
H A Dsampling.c35 .sample_type = PERF_SAMPLE_IP|PERF_SAMPLE_TID|PERF_SAMPLE_CPU|PERF_SAMPLE_PERIOD,
/linux-master/kernel/events/
H A Dcore.c1847 static void __perf_event_header_size(struct perf_event *event, u64 sample_type) argument
1852 if (sample_type & PERF_SAMPLE_IP)
1855 if (sample_type & PERF_SAMPLE_ADDR)
1858 if (sample_type & PERF_SAMPLE_PERIOD)
1861 if (sample_type & PERF_SAMPLE_WEIGHT_TYPE)
1864 if (sample_type & PERF_SAMPLE_READ)
1867 if (sample_type & PERF_SAMPLE_DATA_SRC)
1870 if (sample_type & PERF_SAMPLE_TRANSACTION)
1873 if (sample_type & PERF_SAMPLE_PHYS_ADDR)
1876 if (sample_type
1903 u64 sample_type = event->attr.sample_type; local
7149 __perf_event_header__init_id(struct perf_sample_data *data, struct perf_event *event, u64 sample_type) argument
7190 u64 sample_type = data->type; local
7338 u64 sample_type = data->type; local
7679 u64 sample_type = event->attr.sample_type; local
[all...]
/linux-master/tools/testing/selftests/user_events/
H A Dperf_test.c162 pe.sample_type = PERF_SAMPLE_RAW;
224 pe.sample_type = PERF_SAMPLE_RAW;
/linux-master/tools/perf/
H A Dbuiltin-report.c365 /* For pipe mode, sample_type is not currently set */
369 u64 sample_type = evlist__combined_sample_type(session->evlist); local
378 sample_type |= PERF_SAMPLE_CALLCHAIN;
382 sample_type |= PERF_SAMPLE_BRANCH_STACK;
384 if (!is_pipe && !(sample_type & PERF_SAMPLE_CALLCHAIN)) {
410 if (!(sample_type & PERF_SAMPLE_CALLCHAIN)) {
418 !(sample_type & PERF_SAMPLE_BRANCH_STACK)) {
433 !(sample_type & PERF_SAMPLE_DATA_SRC)) {
434 evsel->core.attr.sample_type |= PERF_SAMPLE_DATA_SRC;
435 sample_type |
1243 u64 sample_type; local
[all...]
/linux-master/tools/testing/selftests/powerpc/pmu/
H A Devent.c39 e->attr.sample_type = PERF_SAMPLE_REGS_INTR;
/linux-master/tools/testing/selftests/bpf/
H A Dget_cgroup_id_user.c107 attr.sample_type = PERF_SAMPLE_RAW;

Completed in 249 milliseconds

12345