From patchwork Mon Mar 13 11:40:18 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Yan X-Patchwork-Id: 13172384 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4D050C6FD19 for ; Mon, 13 Mar 2023 11:49:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=k3cCkjFFiO2r8pCOda+ofl72sy4+FDtaKf0LDa/P9pA=; b=LFAd4USsE/ryeS GfNnqPvMfiLtVeMevJVapGP8WHK+tmIDIxJrlVLY/Oc3mdtDJxQ5eM8bAvgpglzSYnwYufqG90TaP mwMi7dTS4W9uHH/oaFfV6jXzqb2P6ayVBHJKK5So4zHEIvyy9CaWxFrUEe6aJXn9V+TdO3t8OOENP gMRDDREAg7YcmLyADo6tTL+P5DWJZR45vN5xNoNMF75IIaiNnfXtNKnJnG8Fq/Qsz/rGbUCm4Qidc 4ofQxU1l5sweh3ZNaZrgtkKOEOUYqLhADhJF7028ObfTZqcM1NuT5UV25zVP9r3KJrJthnAq5WTv4 IOxWA0zCqh1X01O9eElA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pbgep-005VSy-Mw; Mon, 13 Mar 2023 11:48:05 +0000 Received: from mail-pj1-x1034.google.com ([2607:f8b0:4864:20::1034]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pbgYq-005SOz-B0 for linux-arm-kernel@lists.infradead.org; Mon, 13 Mar 2023 11:41:54 +0000 Received: by mail-pj1-x1034.google.com with SMTP id y15-20020a17090aa40f00b00237ad8ee3a0so11374994pjp.2 for ; Mon, 13 Mar 2023 04:41:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678707710; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=t1yEtOA/S7kgzfPudB0ZivwtY0/Ec+bbW+dtSNwunWQ=; b=PWzyhSH7DDp3iwYN3Te37MQ9JYhNVv0IyBMtCysoB+Q/lCmbMl9dUCChzy+LyzPolw JEtrqhXuoSgr4KHUHE7B1IiTCuDdGVmQubZtZPynd+U+gDWle9nRGhK+ZVYlkO1fDJTg aEKGg0F2n0NWcWtUdQhG1M2uUrb8BuempT554KwuimR0EdpziZhwy9RYCKcfxgDQORW1 D1DWKJ5r8vcJYeGGrz/RIPMmjMc0XDM/gas3njQjhj9cQQRREk5DevndMWvjgYJWLdA5 KeQsh13PJS7joZ+qEfa/baZHCx5ZBaL56qr5ATxHpKjDMUipZRf4tgQ0/+8KMReUtTvr BK7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678707710; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=t1yEtOA/S7kgzfPudB0ZivwtY0/Ec+bbW+dtSNwunWQ=; b=5vxmeKyN6D2990hFYrzz7KH5GU5BWLEe6DKf79+7RZEAA744RDYsO7W4GzfeWS1hj7 VPVRGXoKHZQb4O3UNfLxBg/KSIdmk+uwiLHnE2TylFsLpAyf5zDL6ztnIHgORisC/e1f 4dV+n5EGUzOO5OQV3Wq8vUbslK1i9WWBIx6g5j0+VLdhO8aq7FL3V+bFnLYO8QmRy3JD 8wfi0T6sh5XiN5F7aIVHoDEXPX/CpWPiKHen5pwUw5afbQubnM6hbYrVPuqncS+ZqcCf hPMY9PyL7RnZfxjvAlnVib4wnFhICdoWm7CNtc8VmapE15Tj2FeAT7KNo4EGU2g+7hPd XWCA== X-Gm-Message-State: AO0yUKWvwzhRSwkGQJzFw9bc9iBUbvoVKihPkbNrZ2O8L+jel3CL+6Z3 FdapYT2PqalrTBdnvcRQmYS5Mg== X-Google-Smtp-Source: AK7set8ER/k+D4jtSDLuKMHuWPTPL48SSuXRYXmXmkyFS/46dYzVd9ITc/lT50214G26sg2nf9FORg== X-Received: by 2002:a17:90b:3c49:b0:233:e1e6:33d4 with SMTP id pm9-20020a17090b3c4900b00233e1e633d4mr35154950pjb.47.1678707710206; Mon, 13 Mar 2023 04:41:50 -0700 (PDT) Received: from leoy-huanghe.lan ([156.59.236.112]) by smtp.gmail.com with ESMTPSA id q21-20020a17090a2e1500b0022335f1dae2sm4281625pjd.22.2023.03.13.04.41.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Mar 2023 04:41:49 -0700 (PDT) From: Leo Yan To: Arnaldo Carvalho de Melo , Jiri Olsa , Namhyung Kim , Ian Rogers , John Garry , James Clark , Adrian Hunter , Peter Zijlstra , Ingo Molnar , Mark Rutland , Alexander Shishkin , linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Leo Yan Subject: [PATCH v4 16/16] perf kvm: Update documentation to reflect new changes Date: Mon, 13 Mar 2023 19:40:18 +0800 Message-Id: <20230313114018.543254-17-leo.yan@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230313114018.543254-1-leo.yan@linaro.org> References: <20230313114018.543254-1-leo.yan@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230313_044152_539840_2E1D8EDE X-CRM114-Status: GOOD ( 12.03 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Update documentation for new sorting and option '--stdio'. Signed-off-by: Leo Yan Reviewed-by: James Clark --- tools/perf/Documentation/perf-kvm.txt | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/tools/perf/Documentation/perf-kvm.txt b/tools/perf/Documentation/perf-kvm.txt index 2ad3f5d9f72b..b66be66fe836 100644 --- a/tools/perf/Documentation/perf-kvm.txt +++ b/tools/perf/Documentation/perf-kvm.txt @@ -58,7 +58,7 @@ There are a couple of variants of perf kvm: events. 'perf kvm stat report' reports statistical data which includes events - handled time, samples, and so on. + handled sample, percent_sample, time, percent_time, max_t, min_t, mean_t. 'perf kvm stat live' reports statistical data in a live mode (similar to record + report but with statistical data updated live at a given display @@ -82,6 +82,8 @@ OPTIONS :GMEXAMPLESUBCMD: top include::guest-files.txt[] +--stdio:: Use the stdio interface. + -v:: --verbose:: Be more verbose (show counter open errors, etc). @@ -97,7 +99,10 @@ STAT REPORT OPTIONS -k:: --key=:: Sorting key. Possible values: sample (default, sort by samples - number), time (sort by average time). + number), percent_sample (sort by sample percentage), time + (sort by average time), precent_time (sort by time percentage), + max_t (sort by maximum time), min_t (sort by minimum time), mean_t + (sort by mean time). -p:: --pid=:: Analyze events only for given process ID(s) (comma separated list).