Lines Matching refs:s1
21 if (s1->m != s2->m) { \
28 if (memcmp(&s1->m, &s2->m, sizeof(s1->m))) { \
43 static bool samples_same(const struct perf_sample *s1, in samples_same() argument
89 for (i = 0; i < s1->read.group.nr; i++) { in samples_same()
103 for (i = 0; i < s1->callchain->nr; i++) in samples_same()
109 if (memcmp(s1->raw_data, s2->raw_data, s1->raw_size)) { in samples_same()
118 for (i = 0; i < s1->branch_stack->nr; i++) { in samples_same()
129 size_t sz = hweight_long(s1->user_regs.mask) * sizeof(u64); in samples_same()
133 if (s1->user_regs.abi && in samples_same()
134 (!s1->user_regs.regs || !s2->user_regs.regs || in samples_same()
135 memcmp(s1->user_regs.regs, s2->user_regs.regs, sz))) { in samples_same()
143 if (memcmp(s1->user_stack.data, s2->user_stack.data, in samples_same()
144 s1->user_stack.size)) { in samples_same()
160 size_t sz = hweight_long(s1->intr_regs.mask) * sizeof(u64); in samples_same()
164 if (s1->intr_regs.abi && in samples_same()
165 (!s1->intr_regs.regs || !s2->intr_regs.regs || in samples_same()
166 memcmp(s1->intr_regs.regs, s2->intr_regs.regs, sz))) { in samples_same()
186 if (memcmp(s1->aux_sample.data, s2->aux_sample.data, in samples_same()
187 s1->aux_sample.size)) { in samples_same()