Lines Matching refs:fake_samples
39 static struct sample fake_samples[][5] = { variable
105 for (k = 0; k < ARRAY_SIZE(fake_samples[i]); k++) { in add_hist_entries()
106 sample.pid = fake_samples[i][k].pid; in add_hist_entries()
107 sample.tid = fake_samples[i][k].pid; in add_hist_entries()
108 sample.ip = fake_samples[i][k].ip; in add_hist_entries()
118 thread__put(fake_samples[i][k].thread); in add_hist_entries()
119 fake_samples[i][k].thread = thread__get(al.thread); in add_hist_entries()
120 map__put(fake_samples[i][k].map); in add_hist_entries()
121 fake_samples[i][k].map = map__get(al.map); in add_hist_entries()
122 fake_samples[i][k].sym = al.sym; in add_hist_entries()
141 for (i = 0; i < ARRAY_SIZE(fake_samples); i++) { in put_fake_samples()
142 for (j = 0; j < ARRAY_SIZE(fake_samples[0]); j++) in put_fake_samples()
143 map__put(fake_samples[i][j].map); in put_fake_samples()
236 !find_sample(fake_samples[idx], in __validate_link()
237 ARRAY_SIZE(fake_samples[idx]), in __validate_link()
255 if (count_dummy != ARRAY_SIZE(fake_samples[1]) - 1) { in __validate_link()
257 count_dummy, ARRAY_SIZE(fake_samples[1]) - 1); in __validate_link()
260 if (count != count_pair + ARRAY_SIZE(fake_samples[0])) { in __validate_link()
262 count, count_pair + ARRAY_SIZE(fake_samples[0])); in __validate_link()