lkml.org 
[lkml]   [2023]   [Feb]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v1 00/14] perf kvm: Support histograms and TUI mode
    Hi Arnaldo,

    On Mon, Feb 27, 2023 at 06:40:13PM -0300, Arnaldo Carvalho de Melo wrote:

    [...]

    > > And I verified the '--stdio' mode and confirmed it has the same result
    > > with before applying this series.
    >
    > Can you provide precise instructions for all the steps involved? from
    > 'perf kvm record', I'm trying here with a simple 'perf kvm record' and
    > then starting vm and having trouble.

    Below are steps for verification this patch set.

    In a terminal, I launch a KVM virtual machine with qemu command; I
    downloaded an Ubuntu iso file [1] ahead and used it as the file system
    image (or you could use any distro's iso file as file system image):

    $ qemu-system-x86_64 -M pc -enable-kvm -cpu host -m 4096 -hda ubuntu-22.04-desktop-amd64.iso

    Then in another terminal, I can use below commands to capture KVM trace
    data and report the result:

    # cd linux/tools/perf
    # ./perf kvm stat record
    # ./perf kvm stat report => Output in TUI mode
    # ./perf kvm stat report --stdio => Output in stdio mode

    Note, I have sent out the patch set v2 to fix a potential building
    failure in patch 13. Please work on the new patch set [2].

    Thanks,
    Leo

    [1] https://releases.ubuntu.com/22.04/ubuntu-22.04.2-desktop-amd64.iso
    [2] https://lore.kernel.org/lkml/20230228084147.106167-1-leo.yan@linaro.org/

    \
     
     \ /
      Last update: 2023-03-27 00:38    [W:5.288 / U:0.284 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site