Lines Matching refs:sample
30 static void SampleMatchExpectation(const SampleEntry& sample, const ExpectedSampleInMap& expected, in SampleMatchExpectation() argument
33 ASSERT_TRUE(sample.thread != nullptr); in SampleMatchExpectation()
34 ASSERT_EQ(expected.pid, sample.thread->pid); in SampleMatchExpectation()
35 ASSERT_EQ(expected.tid, sample.thread->tid); in SampleMatchExpectation()
36 ASSERT_STREQ(expected.comm, sample.thread_comm); in SampleMatchExpectation()
37 ASSERT_TRUE(sample.map != nullptr); in SampleMatchExpectation()
38 ASSERT_EQ(expected.dso_name, sample.map->dso->Path()); in SampleMatchExpectation()
39 ASSERT_EQ(expected.map_start_addr, sample.map->start_addr); in SampleMatchExpectation()
40 ASSERT_EQ(expected.sample_count, sample.sample_count); in SampleMatchExpectation()
44 static void CheckSampleCallback(const SampleEntry& sample, in CheckSampleCallback() argument
48 SampleMatchExpectation(sample, expected_samples[*pos], &has_error); in CheckSampleCallback()