Searched refs:nr_cblocks (Results 1 – 6 of 6) sorted by relevance
/tools/perf/util/ |
D | mmap.c | 73 return map->aio.nr_cblocks > 0; in perf_mmap__aio_enabled() 151 map->aio.nr_cblocks = mp->nr_cblocks; in perf_mmap__aio_mmap() 152 if (map->aio.nr_cblocks) { in perf_mmap__aio_mmap() 153 map->aio.aiocb = calloc(map->aio.nr_cblocks, sizeof(struct aiocb *)); in perf_mmap__aio_mmap() 158 map->aio.cblocks = calloc(map->aio.nr_cblocks, sizeof(struct aiocb)); in perf_mmap__aio_mmap() 163 map->aio.data = calloc(map->aio.nr_cblocks, sizeof(void *)); in perf_mmap__aio_mmap() 169 for (i = 0; i < map->aio.nr_cblocks; ++i) { in perf_mmap__aio_mmap() 205 for (i = 0; i < map->aio.nr_cblocks; ++i) in perf_mmap__aio_munmap()
|
D | mmap.h | 41 int nr_cblocks; member 51 int nr_cblocks, affinity, flush, comp_level; member
|
D | record.h | 72 int nr_cblocks; member
|
D | evlist.h | 184 bool auxtrace_overwrite, int nr_cblocks,
|
D | evlist.c | 953 bool auxtrace_overwrite, int nr_cblocks, int affinity, int flush, in evlist__mmap_ex() argument 962 .nr_cblocks = nr_cblocks, in evlist__mmap_ex()
|
/tools/perf/ |
D | builtin-record.c | 262 for (i = 0; i < md->aio.nr_cblocks; ++i) { in record__aio_sync() 281 while (aio_suspend((const struct aiocb **)aiocb, md->aio.nr_cblocks, &timeout)) { in record__aio_sync() 413 opts->nr_cblocks = 0; in record__aio_parse() 416 opts->nr_cblocks = strtol(str, NULL, 0); in record__aio_parse() 417 if (!opts->nr_cblocks) in record__aio_parse() 418 opts->nr_cblocks = nr_cblocks_default; in record__aio_parse() 448 return rec->opts.nr_cblocks > 0; in record__aio_enabled() 857 opts->nr_cblocks, opts->affinity, in record__mmap_evlist() 2166 rec->opts.nr_cblocks = strtol(value, NULL, 0); in perf_record_config() 2167 if (!rec->opts.nr_cblocks) in perf_record_config() [all …]
|