From patchwork Wed Mar 15 14:51:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Yan X-Patchwork-Id: 13176014 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 81F29C6FD1D for ; Wed, 15 Mar 2023 14:54:17 +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=FJGf7eGwV1ek3c t315TCLj5XG+tpwSpZtGeub5P1cBitq9Wieny4eziuCiahdwKHDnWx+7W5C4I4RdbtIj3s1ctSdST Ox/cnJMZ4BU8HJiJ/T5ue+LdnqAwdYMDReKGOQcFsGVNMkp9OHUkxrr/EZBbroLPfd5ihyLy4Lzch Dpab45jGcNkkX4tfbJ0k5Yzna15umdU12WF5zVFjANZBt6xnbAmKX4SEfWnZVHNSk200Jkm2rQxrD jlReSMwY51DM+WcGKFsmn0KEL871K26lKKDjfJ/61d9klCrCSsda6LxFEfXmVx+PfYdDqQF+DT1vt vmoAnrwsduh2KBasxAzQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pcSVF-00DgCA-0Z; Wed, 15 Mar 2023 14:53:21 +0000 Received: from mail-pl1-x629.google.com ([2607:f8b0:4864:20::629]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pcSUw-00Dfxi-01 for linux-arm-kernel@lists.infradead.org; Wed, 15 Mar 2023 14:53:03 +0000 Received: by mail-pl1-x629.google.com with SMTP id c18so1715935ple.11 for ; Wed, 15 Mar 2023 07:53:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678891981; 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=fBRB+iqdB2lrxzxP/K6MLf4EVrdfE0pmldFOD/r94qjAPy1mKmIlnvNcBS3W/1QOdZ GB1Yr8uy1wE/+elFlEF+g8O3cQZMYKq46UlaeD4QOba7SeslEPUMYDWLAnQu5j1Is7Jp 3m9F0TNKHkF/Hcr0Cl6aGH6Xg29iw/A5KtZBAuA9e8D6Ds6tig1mOs/+KA0OYA7TMD0E Iiqn4iHdoz9bxm5gXl3XrAqZEHNiXBcPOFFu99NUAczAW7OQNB8Z0Zj+ysgGnRNbuWpW LO4an+DRY+3aj3Y69HgvpZRxVwLx0ikauopI6KAUHGYAEaezIggdyg6uJadwj4n6nBMs U6ag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678891981; 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=fxPDqt680u0CGJmqrxvWQiBAN+CmG5clVlODNoL0G2Tuq8HNcxNkCVZ8NWZ7qPxjB+ SFSblw+3SF1uRc7EUlXTsDNlYcfGE3E4k1Y/pQjlKEWK7C3sRYhiFm8YDYs9Ejpmf0E9 bAwgebM+af4SZjGQ41lLZCcMrVHXLSFlKZ1KqrP/dmHkRPXSh2pDJAjH41pJfiCJ3WrM p3GB6IW/bzV3GtLBrSpxhdjCpxd0UQNWQ7lb8yyidT7TAltsDJNQTxDuohGhdGPVnoq6 CkEOj1YKIIQzXUK1ULm+rDfUEUecADUPMGeAcj14pS1C9ogkjAzgesrfdlUBii7BhMKw opSg== X-Gm-Message-State: AO0yUKUmuzeyi6IF+LXlOedWB7bLSOArDDxZJcOJfjjoVeIzD3LrVgok tIyhfwq16c1eVT7U/zD/a9+82Q== X-Google-Smtp-Source: AK7set+JCK/kO1YmQbSWHbUctvXH13LzI3Uf5TBpJAr0ALjblrtiTJbKCOgXTLT8x7A3gG/mulzd7Q== X-Received: by 2002:a17:903:430b:b0:19c:171a:d346 with SMTP id jz11-20020a170903430b00b0019c171ad346mr2373750plb.44.1678891981306; Wed, 15 Mar 2023 07:53:01 -0700 (PDT) Received: from leoy-huanghe.lan ([107.151.177.133]) by smtp.gmail.com with ESMTPSA id kh3-20020a170903064300b0019926c77577sm3781587plb.90.2023.03.15.07.52.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Mar 2023 07:53:01 -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 v5 16/16] perf kvm: Update documentation to reflect new changes Date: Wed, 15 Mar 2023 22:51:12 +0800 Message-Id: <20230315145112.186603-17-leo.yan@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230315145112.186603-1-leo.yan@linaro.org> References: <20230315145112.186603-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-20230315_075302_058006_5B63B471 X-CRM114-Status: GOOD ( 11.96 ) 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).