Searched refs:sample_type (Results 1 - 25 of 103) sorted by last modified time

12345

/linux-master/sound/soc/intel/avs/
H A Dtopology.c368 audio_format->sample_type = le32_to_cpu(velem->value);
/linux-master/arch/x86/kvm/vmx/
H A Dpmu_intel.c220 * - set 'sample_type = PERF_SAMPLE_BRANCH_STACK' and
231 .sample_type = PERF_SAMPLE_BRANCH_STACK,
/linux-master/tools/power/x86/turbostat/
H A Dturbostat.c1572 attr.sample_type = PERF_SAMPLE_IDENTIFIER;
/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/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/lib/bpf/
H A Dlibbpf.c12986 attr.sample_type = PERF_SAMPLE_RAW;
/linux-master/arch/powerpc/perf/
H A Dcore-book3s.c606 event->attr.sample_type ||
2273 if (event->attr.sample_type & PERF_SAMPLE_IP)
2296 (event->attr.sample_type & PERF_SAMPLE_IP) &&
2308 if (event->attr.sample_type & PERF_SAMPLE_ADDR_TYPE)
2311 if (event->attr.sample_type & PERF_SAMPLE_BRANCH_STACK) {
2318 if (event->attr.sample_type & PERF_SAMPLE_DATA_SRC &&
2324 if (event->attr.sample_type & PERF_SAMPLE_WEIGHT_TYPE &&
2326 ppmu->get_mem_weight(&data.weight.full, event->attr.sample_type);
/linux-master/tools/perf/util/
H A Dsession.c130 pr_err("non matching sample_type\n");
807 bswap_field_64(sample_type);
1277 u64 sample_type = __evlist__combined_sample_type(evlist); local
1285 if ((sample_type & PERF_SAMPLE_CPU))
1288 if (sample_type & PERF_SAMPLE_TIME)
1358 u64 sample_type; local
1368 sample_type = evsel->core.attr.sample_type;
1376 if (sample_type & PERF_SAMPLE_REGS_USER)
1379 if (sample_type
1529 u64 sample_type = evsel->core.attr.sample_type; local
[all...]
H A Dpython.c822 .sample_type = PERF_SAMPLE_PERIOD | PERF_SAMPLE_TID,
829 "sample_type",
881 &sample_period, &attr.sample_type,
H A Dmachine.c2984 if (!((evsel->core.attr.sample_type & PERF_SAMPLE_REGS_USER) &&
2985 (evsel->core.attr.sample_type & PERF_SAMPLE_STACK_USER)))
H A Devsel.h144 * types here. Note, the recorded sample_type cannot be changed because
263 int __evsel__sample_size(u64 sample_type);
510 return evsel->core.attr.sample_type & PERF_SAMPLE_CALLCHAIN ||
520 return evsel->core.attr.sample_type & PERF_SAMPLE_BRANCH_STACK ||
H A Devsel.c142 int __evsel__sample_size(u64 sample_type) argument
144 u64 mask = sample_type & PERF_SAMPLE_MASK;
160 * @sample_type: sample type
166 static int __perf_evsel__calc_id_pos(u64 sample_type) argument
170 if (sample_type & PERF_SAMPLE_IDENTIFIER)
173 if (!(sample_type & PERF_SAMPLE_ID))
176 if (sample_type & PERF_SAMPLE_IP)
179 if (sample_type & PERF_SAMPLE_TID)
182 if (sample_type & PERF_SAMPLE_TIME)
185 if (sample_type
199 __perf_evsel__calc_is_pos(u64 sample_type) argument
2745 u64 sample_type = evsel->core.attr.sample_type; local
[all...]
H A Ddata-convert-json.c158 u64 sample_type = __evlist__combined_sample_type(evsel->evlist); local
180 if ((sample_type & PERF_SAMPLE_CPU))
H A Dcallchain.c1676 void callchain_param_setup(u64 sample_type, const char *arch) argument
1679 if ((sample_type & PERF_SAMPLE_REGS_USER) &&
1680 (sample_type & PERF_SAMPLE_STACK_USER)) {
1683 } else if (sample_type & PERF_SAMPLE_BRANCH_STACK)
/linux-master/tools/perf/ui/browsers/
H A Dscripts.c39 if (attr->sample_type & PERF_SAMPLE_BRANCH_STACK)
41 if (attr->sample_type & PERF_SAMPLE_REGS_INTR)
43 if (attr->sample_type & PERF_SAMPLE_REGS_USER)
45 if (attr->sample_type & PERF_SAMPLE_PHYS_ADDR)
/linux-master/tools/perf/tests/
H A Dparse-events.c92 TEST_ASSERT_VAL("wrong sample_type",
93 PERF_TP_SAMPLE_TYPE == evsel->core.attr.sample_type);
108 TEST_ASSERT_VAL("wrong sample_type",
109 PERF_TP_SAMPLE_TYPE == evsel->core.attr.sample_type);
665 TEST_ASSERT_VAL("wrong sample_type",
666 PERF_TP_SAMPLE_TYPE == evsel->core.attr.sample_type);
721 TEST_ASSERT_VAL("wrong time", !(PERF_SAMPLE_TIME & evsel->core.attr.sample_type));
733 TEST_ASSERT_VAL("wrong time", !(PERF_SAMPLE_TIME & evsel->core.attr.sample_type));
1005 TEST_ASSERT_VAL("wrong sample_type",
1006 evsel->core.attr.sample_type
[all...]
/linux-master/tools/perf/
H A Dbuiltin-trace.c3009 (evsel->core.attr.sample_type & PERF_SAMPLE_TIME))
H A Dbuiltin-script.c420 static int evsel__do_check_stype(struct evsel *evsel, u64 sample_type, const char *sample_msg, argument
427 if (attr->sample_type & sample_type)
450 static int evsel__check_stype(struct evsel *evsel, u64 sample_type, const char *sample_msg, argument
453 return evsel__do_check_stype(evsel, sample_type, sample_msg, field, false);
492 !(evsel->core.attr.sample_type & (PERF_SAMPLE_IP|PERF_SAMPLE_ADDR))) {
504 !(evsel->core.attr.sample_type & (PERF_SAMPLE_IP|PERF_SAMPLE_ADDR))) {
1598 ((evsel->core.attr.sample_type & PERF_SAMPLE_ADDR) &&
2431 if ((evsel->core.attr.sample_type & PERF_SAMPLE_ADDR) &&
2457 u64 sample_type; local
3659 u64 sample_type = evlist__combined_sample_type(session->evlist); local
[all...]
H A Dbuiltin-report.c364 /* For pipe mode, sample_type is not currently set */
368 u64 sample_type = evlist__combined_sample_type(session->evlist); local
377 sample_type |= PERF_SAMPLE_CALLCHAIN;
381 sample_type |= PERF_SAMPLE_BRANCH_STACK;
383 if (!is_pipe && !(sample_type & PERF_SAMPLE_CALLCHAIN)) {
409 if (!(sample_type & PERF_SAMPLE_CALLCHAIN)) {
417 !(sample_type & PERF_SAMPLE_BRANCH_STACK)) {
432 !(sample_type & PERF_SAMPLE_DATA_SRC)) {
433 evsel->core.attr.sample_type |= PERF_SAMPLE_DATA_SRC;
434 sample_type |
1242 u64 sample_type; local
[all...]
H A Dbuiltin-record.c1922 evsel->core.attr.sample_type, &sample);
H A Dbuiltin-c2c.c2850 u64 sample_type = evlist__combined_sample_type(evlist); local
2853 if ((sample_type & PERF_SAMPLE_REGS_USER) &&
2854 (sample_type & PERF_SAMPLE_STACK_USER)) {
2857 } else if (sample_type & PERF_SAMPLE_BRANCH_STACK)
2859 else if (sample_type & PERF_SAMPLE_CALLCHAIN)
/linux-master/tools/perf/arch/x86/util/
H A Dperf_regs.c289 .sample_type = PERF_SAMPLE_REGS_INTR,
/linux-master/tools/perf/arch/powerpc/util/
H A Dperf_regs.c194 .sample_type = PERF_SAMPLE_REGS_INTR,
/linux-master/tools/perf/arch/arm64/util/
H A Dperf_regs.c153 .sample_type = PERF_SAMPLE_REGS_USER,

Completed in 383 milliseconds

12345