Lines Matching refs:sample
13 struct sample { struct
22 static struct sample fake_common_samples[] = { argument
35 static struct sample fake_samples[][5] = {
67 struct perf_sample sample = { .period = 1, }; in add_hist_entries() local
85 sample.pid = fake_common_samples[k].pid; in add_hist_entries()
86 sample.tid = fake_common_samples[k].pid; in add_hist_entries()
87 sample.ip = fake_common_samples[k].ip; in add_hist_entries()
89 &sample) < 0) in add_hist_entries()
111 sample.pid = fake_samples[i][k].pid; in add_hist_entries()
112 sample.tid = fake_samples[i][k].pid; in add_hist_entries()
113 sample.ip = fake_samples[i][k].ip; in add_hist_entries()
115 &sample) < 0) in add_hist_entries()
139 static int find_sample(struct sample *samples, size_t nr_samples, in find_sample()