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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C53E8C64EC7 for ; Tue, 28 Feb 2023 08:44:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231255AbjB1IoK (ORCPT ); Tue, 28 Feb 2023 03:44:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51092 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231151AbjB1InX (ORCPT ); Tue, 28 Feb 2023 03:43:23 -0500 Received: from mail-pf1-x430.google.com (mail-pf1-x430.google.com [IPv6:2607:f8b0:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6918813537 for ; Tue, 28 Feb 2023 00:43:00 -0800 (PST) Received: by mail-pf1-x430.google.com with SMTP id u20so5189250pfm.7 for ; Tue, 28 Feb 2023 00:43:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=QcYnfVUhbZn9a7DJQxPts8NFnTbESI3ZdIxOG6ZSYi4=; b=rSgvDtF/wwjYXMC8nd8jl02NHDbmTcn0gvXseij+B77jqtsUvpDDcxJb5MVqkBHL1l 1HVCqWtP3q9PkFZPRmKYXrWxev+8EAvtQFkcxqAQ4IT8I7hyeI5949yw4uhTm/kDJkRZ RVOLBobVsBtlVilhO8rkT0bbF87WI6wL2OTrUW/nTzFUDKdtncuOwR2U2QepXvUCPy79 qejTQRoq2MKcuDAgCrykXjfhcNnk8LMulDiwcxGaMINgNePoRpkz9txc8oE5jUQR8y85 pgqUu0UloLIm00IdnbYBkO1TCxDVmB1JSz5iwTEPfjLaLMEBzvfr55wd0jcXiuRjb5Ms GKCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=QcYnfVUhbZn9a7DJQxPts8NFnTbESI3ZdIxOG6ZSYi4=; b=suh7bHWQ7eEo7gMMfbRHzamMfOhtF4IYIVMz1bES1EMbeujri1uVAg+fl7ILCgdCpZ dBbiE4QukJBtX74LBx/ErGuJWyo4n7oU3NMywFqustOJayU1kJ6UJT8iqW/tzzzZV1uO LqOaCnEHQ1uWsHdApBx8ggle9uy+ybB8K6Kb/qTLSTNMbRGTUb/yR41NsEboKRx4yWp7 +r8RTcfeU7YnPTQzL4MjZgzYTFWzvfGsYb6LqKPm2/en2BqqbUm3brPXntUSA8Uy7PGu yhYaUiga5BKYaiqITRMqXFi5zBM+qrichCRhmURcj+i12O585gNVxDSMrmJ2o1yMQhyh T74w== X-Gm-Message-State: AO0yUKX7L6Oyb/qjZlAjOx8icU1fVb2nc0n3ZNI6i5XT2siwG+w5ko3H LGzytqXuk1sgSlJ0Ydblv0fJNA== X-Google-Smtp-Source: AK7set95msG1/6Sh9v+FITXHpNA20OgLeQT3mg9oPI6viuFokojuKa/LaXMD2mJYpxmReRbXZ1LarQ== X-Received: by 2002:a62:1808:0:b0:575:b783:b6b3 with SMTP id 8-20020a621808000000b00575b783b6b3mr1778268pfy.28.1677573780039; Tue, 28 Feb 2023 00:43:00 -0800 (PST) Received: from leoy-huanghe.lan (n058152048225.netvigator.com. [58.152.48.225]) by smtp.gmail.com with ESMTPSA id u25-20020aa78499000000b005d6fcd8f9desm5681270pfn.94.2023.02.28.00.42.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Feb 2023 00:42:59 -0800 (PST) From: Leo Yan To: Arnaldo Carvalho de Melo , Peter Zijlstra , Ingo Molnar , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Ian Rogers , Adrian Hunter , linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Leo Yan Subject: [PATCH v2 14/14] perf kvm: Update documentation to reflect new changes Date: Tue, 28 Feb 2023 16:41:47 +0800 Message-Id: <20230228084147.106167-15-leo.yan@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230228084147.106167-1-leo.yan@linaro.org> References: <20230228084147.106167-1-leo.yan@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Update documentation for new sorting and option '--stdio'. Signed-off-by: Leo Yan --- 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). -- 2.34.1