Lines Matching refs:sampledata
305 static struct list_sample_data *sampledata;
395 sampledata = new0(struct list_sample_data, 1);
396 if (sampledata == NULL) {
401 sampledata->sampletime = gettime_ns();
402 sampledata->counter = samples;
419 r = log_sample(proc, samples, ps_first, &sampledata, &pscount, &n_cpus);
426 elapsed = (sample_stop - sampledata->sampletime) * 1000000000.0;
454 LIST_PREPEND(link, head, sampledata);
518 sampledata = head;
519 while (sampledata->link_prev) {
520 struct list_sample_data *old_sampledata = sampledata;
521 sampledata = sampledata->link_prev;
524 free(sampledata);