Home
last modified time | relevance | path

Searched refs:thread_masks (Results 1 – 1 of 1) sorted by relevance

/linux/tools/perf/
H A Dbuiltin-record.c185 struct thread_mask *thread_masks; member
1235 thread_data[t].mask = &rec->thread_masks[t]; in record__alloc_thread_data()
3735 if (rec->thread_masks) in record__free_thread_masks()
3737 record__thread_mask_free(&rec->thread_masks[t]); in record__free_thread_masks()
3739 zfree(&rec->thread_masks); in record__free_thread_masks()
3746 rec->thread_masks = zalloc(nr_threads * sizeof(*(rec->thread_masks))); in record__alloc_thread_masks()
3747 if (!rec->thread_masks) { in record__alloc_thread_masks()
3753 ret = record__thread_mask_alloc(&rec->thread_masks[t], nr_bits); in record__alloc_thread_masks()
3780 __set_bit(perf_cpu_map__cpu(cpus, t).cpu, rec->thread_masks[t].maps.bits); in record__init_thread_cpu_masks()
3781 __set_bit(perf_cpu_map__cpu(cpus, t).cpu, rec->thread_masks[t].affinity.bits); in record__init_thread_cpu_masks()
[all …]