Home | History | Annotate | Download | only in simpleperf

Lines Matching defs:sample_type

73   sample_type = attr.sample_type;
82 sample_type = attr.sample_type;
84 if (sample_type & PERF_SAMPLE_TID) {
87 if (sample_type & PERF_SAMPLE_TIME) {
90 if (sample_type & PERF_SAMPLE_ID) {
93 if (sample_type & PERF_SAMPLE_STREAM_ID) {
96 if (sample_type & PERF_SAMPLE_CPU) {
99 if (sample_type & PERF_SAMPLE_IDENTIFIER) {
111 if (sample_type & PERF_SAMPLE_TID) {
114 if (sample_type & PERF_SAMPLE_TIME) {
117 if (sample_type & PERF_SAMPLE_ID) {
120 if (sample_type & PERF_SAMPLE_STREAM_ID) {
123 if (sample_type & PERF_SAMPLE_CPU) {
131 if (sample_type & PERF_SAMPLE_TID) {
135 if (sample_type & PERF_SAMPLE_TIME) {
138 if (sample_type & (PERF_SAMPLE_ID | PERF_SAMPLE_IDENTIFIER)) {
141 if (sample_type & PERF_SAMPLE_STREAM_ID) {
145 if (sample_type & PERF_SAMPLE_CPU) {
155 if (sample_type & PERF_SAMPLE_TID) {
158 if (sample_type & PERF_SAMPLE_TIME) {
161 if (sample_type & PERF_SAMPLE_ID) {
164 if (sample_type & PERF_SAMPLE_STREAM_ID) {
167 if (sample_type & PERF_SAMPLE_CPU) {
170 if (sample_type & PERF_SAMPLE_IDENTIFIER) {
385 sample_type = attr.sample_type;
389 if (sample_type & PERF_SAMPLE_IDENTIFIER) {
392 if (sample_type & PERF_SAMPLE_IP) {
395 if (sample_type & PERF_SAMPLE_TID) {
398 if (sample_type & PERF_SAMPLE_TIME) {
401 if (sample_type & PERF_SAMPLE_ADDR) {
404 if (sample_type & PERF_SAMPLE_ID) {
407 if (sample_type & PERF_SAMPLE_STREAM_ID) {
410 if (sample_type & PERF_SAMPLE_CPU) {
413 if (sample_type & PERF_SAMPLE_PERIOD) {
416 if (sample_type & PERF_SAMPLE_CALLCHAIN) {
421 if (sample_type & PERF_SAMPLE_RAW) {
426 if (sample_type & PERF_SAMPLE_BRANCH_STACK) {
431 if (sample_type & PERF_SAMPLE_REGS_USER) {
448 if (sample_type & PERF_SAMPLE_STACK_USER) {
470 sample_type = attr.sample_type;
471 CHECK_EQ(0u, sample_type & ~(PERF_SAMPLE_IP | PERF_SAMPLE_TID
491 if (sample_type & PERF_SAMPLE_IP) {
494 if (sample_type & PERF_SAMPLE_TID) {
497 if (sample_type & PERF_SAMPLE_TIME) {
500 if (sample_type & PERF_SAMPLE_ID) {
503 if (sample_type & PERF_SAMPLE_CPU) {
506 if (sample_type & PERF_SAMPLE_PERIOD) {
509 if (sample_type & PERF_SAMPLE_CALLCHAIN) {
512 if (sample_type & PERF_SAMPLE_REGS_USER) {
515 if (sample_type & PERF_SAMPLE_STACK_USER) {
523 if (sample_type & PERF_SAMPLE_IP) {
526 if (sample_type & PERF_SAMPLE_TID) {
529 if (sample_type & PERF_SAMPLE_TIME) {
532 if (sample_type & PERF_SAMPLE_ID) {
535 if (sample_type & PERF_SAMPLE_CPU) {
538 if (sample_type & PERF_SAMPLE_PERIOD) {
541 if (sample_type & PERF_SAMPLE_CALLCHAIN) {
546 if (sample_type & PERF_SAMPLE_REGS_USER) {
549 if (sample_type & PERF_SAMPLE_STACK_USER) {
575 if (sample_type & PERF_SAMPLE_BRANCH_STACK) {
582 if (sample_type & PERF_SAMPLE_RAW) {
601 if (sample_type & PERF_SAMPLE_CALLCHAIN) {
608 if (sample_type & PERF_SAMPLE_IP) {
625 if ((sample_type & PERF_SAMPLE_CALLCHAIN) == 0) {
658 if (sample_type & PERF_SAMPLE_IDENTIFIER) {
661 if (sample_type & PERF_SAMPLE_IP) {
664 if (sample_type & PERF_SAMPLE_TID) {
667 if (sample_type & PERF_SAMPLE_TIME) {
670 if (sample_type & PERF_SAMPLE_ADDR) {
673 if (sample_type & PERF_SAMPLE_ID) {
676 if (sample_type & PERF_SAMPLE_STREAM_ID) {
679 if (sample_type & PERF_SAMPLE_CPU) {
682 if (sample_type & PERF_SAMPLE_PERIOD) {
685 if (sample_type & PERF_SAMPLE_CALLCHAIN) {
692 if (sample_type & PERF_SAMPLE_RAW) {
697 if (sample_type & PERF_SAMPLE_BRANCH_STACK) {
703 if (sample_type & PERF_SAMPLE_REGS_USER) {
707 if (sample_type & PERF_SAMPLE_STACK_USER) {
711 CHECK_EQ(p, new_binary + new_size) << "sample_type = " << std::hex << sample_type;
720 if (sample_type & PERF_SAMPLE_STACK_USER) {
741 PrintIndented(indent, "sample_type: 0x%" PRIx64 "\n", sample_type);
742 if (sample_type & PERF_SAMPLE_IP) {
745 if (sample_type & PERF_SAMPLE_TID) {
748 if (sample_type & PERF_SAMPLE_TIME) {
751 if (sample_type & PERF_SAMPLE_ADDR) {
754 if (sample_type & (PERF_SAMPLE_ID | PERF_SAMPLE_IDENTIFIER)) {
757 if (sample_type & PERF_SAMPLE_STREAM_ID) {
760 if (sample_type & PERF_SAMPLE_CPU) {
763 if (sample_type & PERF_SAMPLE_PERIOD) {
766 if (sample_type & PERF_SAMPLE_CALLCHAIN) {
772 if (sample_type & PERF_SAMPLE_RAW) {
780 if (sample_type & PERF_SAMPLE_BRANCH_STACK) {
790 if (sample_type & PERF_SAMPLE_REGS_USER) {
801 if (sample_type & PERF_SAMPLE_STACK_USER) {