Lines Matching defs:sample
15 struct sample {
24 static struct sample fake_common_samples[] = {
37 static struct sample fake_samples[][5] = {
69 struct perf_sample sample = { .period = 1, .weight = 1, };
81 sample.cpumode = PERF_RECORD_MISC_USER;
82 sample.pid = fake_common_samples[k].pid;
83 sample.tid = fake_common_samples[k].pid;
84 sample.ip = fake_common_samples[k].ip;
86 if (machine__resolve(machine, &al, &sample) < 0)
90 NULL, NULL, &sample, true);
102 sample.pid = fake_samples[i][k].pid;
103 sample.tid = fake_samples[i][k].pid;
104 sample.ip = fake_samples[i][k].ip;
105 if (machine__resolve(machine, &al, &sample) < 0)
109 NULL, NULL, &sample, true);
129 static int find_sample(struct sample *samples, size_t nr_samples,
301 /* process sample events */