Home
last modified time | relevance | path

Searched full:perf (Results 1 – 25 of 39) sorted by relevance

12

/qemu/scripts/performance/
H A DtopN_perf.py3 # Print the top N most executed functions in QEMU using perf.
57 # Insure that perf is installed
58 check_perf_presence = subprocess.run(["which", "perf"],
61 sys.exit("Please install perf before running the script!")
63 # Insure user has previllage to run perf
64 check_perf_executability = subprocess.run(["perf", "stat", "ls", "/"],
91 # Run perf record
92 perf_record = subprocess.run((["perf", "record", "--output=/tmp/perf.data"] +
97 os.unlink('/tmp/perf.data')
100 # Save perf report output to /tmp/perf_report.out
[all …]
/qemu/block/
H A Dbackup.c46 BackupPerf perf; member
158 job->perf.max_workers, job->perf.max_chunk, in backup_loop()
361 BackupPerf *perf, in backup_job_create() argument
416 if (perf->max_workers < 1 || perf->max_workers > INT_MAX) { in backup_job_create()
421 if (perf->max_chunk < 0) { in backup_job_create()
462 perf->min_cluster_size, &bcs, on_cbw_error, errp); in backup_job_create()
469 if (perf->max_chunk && perf->max_chunk < cluster_size) { in backup_job_create()
471 "cluster size (%" PRIi64 ")", perf->max_chunk, cluster_size); in backup_job_create()
494 job->perf = *perf; in backup_job_create()
496 block_copy_set_copy_opts(bcs, perf->use_copy_range, compress); in backup_job_create()
H A Dreplication.c458 BackupPerf perf = { .use_copy_range = true, .max_workers = 1 }; in replication_start() local
589 NULL, &perf, in replication_start()
/qemu/tests/qemu-iotests/
H A D257.out33 …", "job-id": "ref_backup_0", "sync": "full", "target": "ref_target_0", "x-perf": {"max-workers": 1…
80 …", "job-id": "ref_backup_1", "sync": "full", "target": "ref_target_1", "x-perf": {"max-workers": 1…
94 …, "job-id": "backup_1", "sync": "bitmap", "target": "backup_target_1", "x-perf": {"max-workers": 1…
218 …", "job-id": "ref_backup_2", "sync": "full", "target": "ref_target_2", "x-perf": {"max-workers": 1…
232 …, "job-id": "backup_2", "sync": "bitmap", "target": "backup_target_2", "x-perf": {"max-workers": 1…
302 …", "job-id": "ref_backup_0", "sync": "full", "target": "ref_target_0", "x-perf": {"max-workers": 1…
349 …", "job-id": "ref_backup_1", "sync": "full", "target": "ref_target_1", "x-perf": {"max-workers": 1…
365 …, "job-id": "backup_1", "sync": "bitmap", "target": "backup_target_1", "x-perf": {"max-workers": 1…
425 …", "job-id": "ref_backup_2", "sync": "full", "target": "ref_target_2", "x-perf": {"max-workers": 1…
439 …, "job-id": "backup_2", "sync": "bitmap", "target": "backup_target_2", "x-perf": {"max-workers": 1…
[all …]
H A D219230 'x-perf': {'max-chunk': 65536},
H A D185193 'x-perf': {'max-chunk': 65536} } }" \
H A D185.out113 'x-perf': {'max-chunk': 65536} } }
/qemu/include/tcg/
H A Dperf.h2 * Linux perf perf-<pid>.map and jit-<pid>.dump integration.
11 /* Start writing perf-<pid>.map. */
24 /* Stop writing perf-<pid>.map and/or jit-<pid>.dump. */
/qemu/docs/devel/
H A Dtcg.rst196 The Linux ``perf`` tool will treat all JITted code as a single block as
202 available); its output needs to be integrated with the ``perf.data`` file
207 perf record $QEMU -perfmap $REMAINING_ARGS
208 perf report
210 perf record -k 1 $QEMU -jitdump $REMAINING_ARGS
211 DEBUGINFOD_URLS= perf inject -j -i perf.data -o perf.data.jitted
212 perf report -i perf.data.jitted
/qemu/tcg/
H A Dperf.c2 * Linux perf perf-<pid>.map and jit-<pid>.dump integration.
6 …* [1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/plain/tools/perf/Document…
17 #include "tcg/perf.h"
53 snprintf(map_file, sizeof(map_file), "/tmp/perf-%d.map", getpid()); in perf_enable_perfmap()
210 * `perf inject` will see that the mapped file name in the corresponding in perf_enable_jitdump()
H A Dmeson.build27 tcg_ss.add(files('perf.c'))
/qemu/tests/unit/
H A Dtest-coroutine.c664 g_test_add_func("/perf/lifecycle", perf_lifecycle); in main()
665 g_test_add_func("/perf/nesting", perf_nesting); in main()
666 g_test_add_func("/perf/yield", perf_yield); in main()
667 g_test_add_func("/perf/function-call", perf_baseline); in main()
668 g_test_add_func("/perf/cost", perf_cost); in main()
H A Drcutorture.c11 * ./rcu <nreaders> perf [ <seconds> ]
442 fprintf(stderr, "Usage: %s [nreaders [ [r|u]perf | stress [duration]]\n", in usage()
477 } else if (strcmp(argv[2], "perf") == 0) { in main()
/qemu/scripts/simplebench/
H A Dbench-backup.py138 backup_options['x-perf'] = x_perf
181 max-workers set x-perf.max-workers of backup job
182 use-copy-range set x-perf.use-copy-range of backup job
/qemu/linux-user/
H A Dexit.c20 #include "tcg/perf.h"
H A Dmain.c58 #include "tcg/perf.h"
547 "", "Generate a /tmp/perf-${pid}.map file for perf"},
549 "", "Generate a jit-${pid}.dump file for perf"},
/qemu/include/hw/pci-host/
H A Dls7a.h33 * 16 - 63 GSI for CPU devices such as timers/perf monitor etc
/qemu/include/block/
H A Dblock_int-global-state.h178 * @perf: Performance options. All actual fields assumed to be present,
199 BackupPerf *perf,
/qemu/hw/i386/
H A Damd_iommu.h162 #define AMDVI_FEATURE_PC (1ULL << 9) /* Perf counters */
/qemu/hw/sd/
H A Dsd.c508 sd->ext_csd[210] = 0x46; /* Min write perf for 8bit@52Mhz */ in emmc_set_ext_csd()
509 sd->ext_csd[209] = 0x46; /* Min read perf for 8bit@52Mhz */ in emmc_set_ext_csd()
510 sd->ext_csd[208] = 0x46; /* Min write perf for 4bit@52Mhz */ in emmc_set_ext_csd()
511 sd->ext_csd[207] = 0x46; /* Min read perf for 4bit@52Mhz */ in emmc_set_ext_csd()
512 sd->ext_csd[206] = 0x46; /* Min write perf for 4bit@26Mhz */ in emmc_set_ext_csd()
513 sd->ext_csd[205] = 0x46; /* Min read perf for 4bit@26Mhz */ in emmc_set_ext_csd()
/qemu/
H A Dblockdev.c2681 BackupPerf perf = { .max_workers = 64 }; in do_backup_common() local
2706 perf.use_copy_range = backup->x_perf->use_copy_range; in do_backup_common()
2709 perf.max_workers = backup->x_perf->max_workers; in do_backup_common()
2712 perf.max_chunk = backup->x_perf->max_chunk; in do_backup_common()
2715 perf.min_cluster_size = backup->x_perf->min_cluster_size; in do_backup_common()
2796 &perf, in do_backup_common()
/qemu/accel/tcg/
H A Dtranslate-all.c38 #include "tcg/perf.h"
/qemu/target/arm/
H A Dcpu.h429 uint64_t c9_pmcnten; /* perf monitor counter enables */
430 uint64_t c9_pmovsr; /* perf monitor overflow status */
431 uint64_t c9_pmuserenr; /* perf monitor user enable */
432 uint64_t c9_pmselr; /* perf monitor counter selection register */
433 uint64_t c9_pminten; /* perf monitor interrupt enables */
/qemu/target/xtensa/core-test_mmuhifi_c3/
H A Dcore-isa.h442 /* Perf counters */
/qemu/target/xtensa/core-test_kc705_be/
H A Dcore-isa.h542 /* Perf counters */

12