Home
last modified time | relevance | path

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

/linux-6.12.1/tools/perf/util/
Dmmap.c73 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()
Dmmap.h37 int nr_cblocks; member
48 int nr_cblocks, affinity, flush, comp_level; member
Drecord.h71 int nr_cblocks; member
Devlist.h199 bool auxtrace_overwrite, int nr_cblocks,
Devlist.c1006 bool auxtrace_overwrite, int nr_cblocks, int affinity, int flush, in evlist__mmap_ex() argument
1015 .nr_cblocks = nr_cblocks, in evlist__mmap_ex()
/linux-6.12.1/tools/perf/
Dbuiltin-record.c367 for (i = 0; i < md->aio.nr_cblocks; ++i) { in record__aio_sync()
386 while (aio_suspend((const struct aiocb **)aiocb, md->aio.nr_cblocks, &timeout)) { in record__aio_sync()
522 opts->nr_cblocks = 0; in record__aio_parse()
525 opts->nr_cblocks = strtol(str, NULL, 0); in record__aio_parse()
526 if (!opts->nr_cblocks) in record__aio_parse()
527 opts->nr_cblocks = nr_cblocks_default; in record__aio_parse()
557 return rec->opts.nr_cblocks > 0; in record__aio_enabled()
1310 opts->nr_cblocks, opts->affinity, in record__mmap_evlist()
2973 rec->opts.nr_cblocks = strtol(value, NULL, 0); in perf_record_config()
2974 if (!rec->opts.nr_cblocks) in perf_record_config()
[all …]