/Linux-v6.1/tools/lib/perf/ |
D | evlist.c | 363 map = zalloc(evlist->nr_mmaps * sizeof(struct perf_mmap)); in perf_evlist__alloc_mmap() 367 for (i = 0; i < evlist->nr_mmaps; i++) { in perf_evlist__alloc_mmap() 436 int thread, int *_output, int *_output_overwrite, int *nr_mmaps) in mmap_per_evsel() argument 495 *nr_mmaps += 1; in mmap_per_evsel() 534 int nr_mmaps = 0; in mmap_per_thread() local 545 &output_overwrite, &nr_mmaps)) in mmap_per_thread() 555 &output_overwrite, &nr_mmaps)) in mmap_per_thread() 559 if (nr_mmaps != evlist->nr_mmaps) in mmap_per_thread() 560 pr_err("Miscounted nr_mmaps %d vs %d\n", nr_mmaps, evlist->nr_mmaps); in mmap_per_thread() 575 int nr_mmaps = 0; in mmap_per_cpu() local [all …]
|
/Linux-v6.1/tools/perf/bench/ |
D | inject-buildid.c | 32 static unsigned int nr_mmaps = 100; variable 59 OPT_UINTEGER('m', "nr-mmaps", &nr_mmaps, 98 if ((unsigned int)nr_dsos == DSO_MMAP_RATIO * nr_mmaps) in add_dso() 106 dsos = calloc(nr_mmaps * DSO_MMAP_RATIO, sizeof(*dsos)); in collect_dso() 363 for (i = 0; i < nr_mmaps; i++) { in inject_build_id() 438 time_average = avg_stats(&time_stats) / (nr_mmaps * (nr_samples + 2)); in do_inject_loop() 439 time_stddev = stddev_stats(&time_stats) / (nr_mmaps * (nr_samples + 2)); in do_inject_loop()
|
/Linux-v6.1/tools/perf/ |
D | builtin-record.c | 111 int nr_mmaps; member 495 for (i = 0; i < evlist->core.nr_mmaps; i++) { in record__aio_mmap_read_sync() 778 for (i = 0; i < rec->evlist->core.nr_mmaps; i++) { in record__auxtrace_read_snapshot_all() 1000 int m, tm, nr_mmaps = evlist->core.nr_mmaps; in record__thread_data_init_maps() local 1007 thread_data->nr_mmaps = nr_mmaps; in record__thread_data_init_maps() 1009 thread_data->nr_mmaps = bitmap_weight(thread_data->mask->maps.bits, in record__thread_data_init_maps() 1012 thread_data->maps = zalloc(thread_data->nr_mmaps * sizeof(struct mmap *)); in record__thread_data_init_maps() 1017 thread_data->overwrite_maps = zalloc(thread_data->nr_mmaps * sizeof(struct mmap *)); in record__thread_data_init_maps() 1024 thread_data->nr_mmaps, thread_data->maps, thread_data->overwrite_maps); in record__thread_data_init_maps() 1026 for (m = 0, tm = 0; m < nr_mmaps && tm < thread_data->nr_mmaps; m++) { in record__thread_data_init_maps() [all …]
|
D | builtin-kvm.c | 807 for (i = 0; i < kvm->evlist->core.nr_mmaps; i++) { in perf_kvm__mmap_read()
|
D | builtin-top.c | 916 for (i = 0; i < top->evlist->core.nr_mmaps; i++) in perf_top__mmap_read()
|
D | builtin-trace.c | 4112 for (i = 0; i < evlist->core.nr_mmaps; i++) {
|
/Linux-v6.1/tools/perf/tests/ |
D | openat-syscall-tp-fields.c | 92 for (i = 0; i < evlist->core.nr_mmaps; i++) { in test__syscall_openat_tp_fields()
|
D | keep-tracking.c | 40 for (i = 0; i < evlist->core.nr_mmaps; i++) { in find_comm()
|
D | backward-ring-buffer.c | 37 for (i = 0; i < evlist->core.nr_mmaps; i++) { in count_samples()
|
D | perf-time-to-tsc.c | 147 for (i = 0; i < evlist->core.nr_mmaps; i++) { in test__perf_time_to_tsc()
|
D | perf-record.c | 167 for (i = 0; i < evlist->core.nr_mmaps; i++) { in test__PERF_RECORD()
|
D | bpf.c | 174 for (i = 0; i < evlist->core.nr_mmaps; i++) { in do_test()
|
D | switch-tracking.c | 273 for (i = 0; i < evlist->core.nr_mmaps; i++) { in process_events()
|
D | code-reading.c | 419 for (i = 0; i < evlist->core.nr_mmaps; i++) { in process_events()
|
/Linux-v6.1/tools/lib/perf/include/internal/ |
D | evlist.h | 31 int nr_mmaps; member
|
/Linux-v6.1/tools/perf/util/ |
D | sideband_evlist.c | 58 for (i = 0; i < evlist->core.nr_mmaps; i++) { in perf_evlist__poll_thread()
|
D | evlist.c | 741 for (i = 0; i < evlist->core.nr_mmaps; i++) { in evlist__set_paused() 769 for (i = 0; i < evlist->core.nr_mmaps; i++) in evlist__munmap_nofree() 773 for (i = 0; i < evlist->core.nr_mmaps; i++) in evlist__munmap_nofree() 797 map = zalloc(evlist->core.nr_mmaps * sizeof(struct mmap)); in evlist__alloc_mmap() 801 for (i = 0; i < evlist->core.nr_mmaps; i++) { in evlist__alloc_mmap()
|
D | python.c | 1070 for (i = 0; i < evlist->core.nr_mmaps; i++) { in get_md()
|
/Linux-v6.1/tools/perf/arch/arm64/util/ |
D | hisi-ptt.c | 55 if (!session->evlist->core.nr_mmaps) in hisi_ptt_info_fill()
|
D | arm-spe.c | 81 if (!session->evlist->core.nr_mmaps) in arm_spe_info_fill()
|
/Linux-v6.1/tools/perf/arch/x86/util/ |
D | intel-bts.c | 78 if (!session->evlist->core.nr_mmaps) in intel_bts_info_fill()
|
D | intel-pt.c | 370 if (!session->evlist->core.nr_mmaps) in intel_pt_info_fill()
|
/Linux-v6.1/tools/perf/arch/arm/util/ |
D | cs-etm.c | 726 if (!session->evlist->core.nr_mmaps) in cs_etm_info_fill()
|