Home
last modified time | relevance | path

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

/linux-6.1.9/tools/lib/perf/
Devlist.c363 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-6.1.9/tools/perf/bench/
Dinject-buildid.c32 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-6.1.9/tools/perf/
Dbuiltin-record.c111 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 …]
Dbuiltin-kvm.c807 for (i = 0; i < kvm->evlist->core.nr_mmaps; i++) { in perf_kvm__mmap_read()
Dbuiltin-top.c916 for (i = 0; i < top->evlist->core.nr_mmaps; i++) in perf_top__mmap_read()
Dbuiltin-trace.c4120 for (i = 0; i < evlist->core.nr_mmaps; i++) {
/linux-6.1.9/tools/lib/perf/include/internal/
Devlist.h31 int nr_mmaps; member
/linux-6.1.9/tools/perf/tests/
Dopenat-syscall-tp-fields.c92 for (i = 0; i < evlist->core.nr_mmaps; i++) { in test__syscall_openat_tp_fields()
Dkeep-tracking.c40 for (i = 0; i < evlist->core.nr_mmaps; i++) { in find_comm()
Dbackward-ring-buffer.c37 for (i = 0; i < evlist->core.nr_mmaps; i++) { in count_samples()
Dperf-time-to-tsc.c147 for (i = 0; i < evlist->core.nr_mmaps; i++) { in test__perf_time_to_tsc()
Dperf-record.c167 for (i = 0; i < evlist->core.nr_mmaps; i++) { in test__PERF_RECORD()
Dbpf.c174 for (i = 0; i < evlist->core.nr_mmaps; i++) { in do_test()
Dswitch-tracking.c273 for (i = 0; i < evlist->core.nr_mmaps; i++) { in process_events()
Dcode-reading.c419 for (i = 0; i < evlist->core.nr_mmaps; i++) { in process_events()
/linux-6.1.9/tools/perf/util/
Dsideband_evlist.c58 for (i = 0; i < evlist->core.nr_mmaps; i++) { in perf_evlist__poll_thread()
Devlist.c741 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()
Dpython.c1070 for (i = 0; i < evlist->core.nr_mmaps; i++) { in get_md()
/linux-6.1.9/tools/perf/arch/arm64/util/
Dhisi-ptt.c55 if (!session->evlist->core.nr_mmaps) in hisi_ptt_info_fill()
Darm-spe.c81 if (!session->evlist->core.nr_mmaps) in arm_spe_info_fill()
/linux-6.1.9/tools/perf/arch/x86/util/
Dintel-bts.c78 if (!session->evlist->core.nr_mmaps) in intel_bts_info_fill()
Dintel-pt.c370 if (!session->evlist->core.nr_mmaps) in intel_pt_info_fill()
/linux-6.1.9/tools/perf/arch/arm/util/
Dcs-etm.c726 if (!session->evlist->core.nr_mmaps) in cs_etm_info_fill()