|
From: | Paul Menzel |
Subject: | Using QEMU to performance test Linux kernel |
Date: | Thu, 15 Aug 2024 23:23:09 +0200 |
User-agent: | Mozilla Thunderbird |
Dear QEMU folks,I would like to boot a Linux kernel image several times, and log the output – case in point [1] it would be booting with `initcall_debug`, and look at how long `acpi_init()` took to execute.
I came up withqemu-system-x86_64 -enable-kvm -smp cpus=2 -m 1G -nographic -kernel /boot/vmlinuz-6.11.0-rc3-00007-gd74da846046a -append "initcall_debug console=ttyS0"
but it hangs, as no bootable image is found. There are probably a lot of ways to reboot it (initrd, wrapper script, …). What is the “easiest” way?
Kind regards, Paul[1]: https://lore.kernel.org/linux-acpi/20240808222138.51-1-colin.king@intel.com/
[Prev in Thread] | Current Thread | [Next in Thread] |