From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 05C27C4363A for ; Wed, 28 Oct 2020 06:41:19 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7FA2E21775 for ; Wed, 28 Oct 2020 06:41:18 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="vGjp4rlY"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="nbHmMt5O" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7FA2E21775 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:MIME-Version:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:References:In-Reply-To:Message-Id:Date:Subject:To: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=S4pB3Qs+m1IuR60eyJvWEjymZqm3ZxO0xrBSZl76fjw=; b=vGjp4rlY5qQuqy6TcuHsQBCqEi RKWBnChIKh+XDUyo0I9+FCwLjNxniAFssCaoF593z2Re20OkD/aENPDAJU0T3mXPlxcMcINKD0kSY JKqr6nt3+zY5QmF3MgbabtRMcxF1xW3t9bapu9yPQ1CvKAP7OBwBE/7nh255VIst1rnC+9MqnBW5Z 61KhEZWVeFHbCgTx5hAPAK41wTKO0Wl+Cc/Kkut+83H867CA9nEDtT4gUZlsNyd4eRy2x3y+2f/bw TeJ5N4Y17MvMKHclcoNI1Pdxb+waoxXSApHCW5t11JcfDUnAUIXxvBi85DAs7Zau0KTlruE2AzbL9 1IifMjbw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kXf7g-0006vU-3C; Wed, 28 Oct 2020 06:39:52 +0000 Received: from mail-pj1-x1041.google.com ([2607:f8b0:4864:20::1041]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kXf71-0006eg-4n for linux-arm-kernel@lists.infradead.org; Wed, 28 Oct 2020 06:39:12 +0000 Received: by mail-pj1-x1041.google.com with SMTP id m17so1112289pjz.3 for ; Tue, 27 Oct 2020 23:39:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=w3jvPkaI6Fvufscz5TOGN3cMyWxi/xK+/XekPoieKuM=; b=nbHmMt5Ofz7dpI4oVG8er172WLWhYn3iy87HwpWDGZroHblR40SYYb12GE6tOGhAYL VUsDndG8Qeikh/AigBMf6S9lz43v38jUqnkrO4GROlXKjIVbQ/J5FzQedEKVUq27kRjB uMY1Ne8mSFyap/KOnSR8/cYkvXw4YIZznl/wRfierXV+0B7r97oT9Jws8fK32ljjJZup a9l+E0uarqBeTPRnqC6H9/ncEibZqRZyYaA2j1JBVzdSeV/D+xTdxMd1AnyTJCZ+w1c5 orxLgmLdaoKE6ONBlyyjsiCHFV4ZKpRl/zFxb6i4MA5pnulZNJafWq81G/qKne6tXBhn ZkLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=w3jvPkaI6Fvufscz5TOGN3cMyWxi/xK+/XekPoieKuM=; b=nJHFq9XTplbIoewL3qnyG2E+pFX+PsK7Uf9jP0YsztxaWVSFSGuXUsDBgemb5YFmof V9FArn1wMaHz+nWjAeRSgpZAf0wHBqjBBEZGciEdIt4UQY/h5M0bREYwaetb4KnV2UJ/ spmnGqm0DuJqH0EWLU969LNmr/8Ycb1xTHqVO340YmTF9DhvDBBg7DtOg8PNGP/WWiz+ Qq7BcBkwtJmCmiUXY6jfKDKSrv+hv0ZSkryn+nr7InXkJv1RvNdLqihvoNb5GUfQi33y ikRFxZ4YCBaDDoTu7zHlh4ZLgrtPS9PPdzCa0kKMFe6bavJShC8FHX8LNVHoIAoR/HWf m7Zg== X-Gm-Message-State: AOAM533/why8qfBHUp9A2mK3GMVP3rvZEOUGsp6tbGzApJD3PbBnQIuP Y+vVGp0lzyJUDCvk2aUeUigXKA== X-Google-Smtp-Source: ABdhPJweHXefCoW8ZQA9mpLM4Yu8KeZfkGcFKKE2c8zmiq39SmIfmF+GSWMPp9wmAlimk0jqQYHJnQ== X-Received: by 2002:a17:902:16b:b029:d6:7a92:451a with SMTP id 98-20020a170902016bb02900d67a92451amr32383plb.85.1603867149280; Tue, 27 Oct 2020 23:39:09 -0700 (PDT) Received: from localhost ([2600:3c01::f03c:91ff:fe8a:bb03]) by smtp.gmail.com with ESMTPSA id i123sm4324281pfc.13.2020.10.27.23.39.08 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 27 Oct 2020 23:39:08 -0700 (PDT) From: Leo Yan To: Arnaldo Carvalho de Melo , Peter Zijlstra , Ingo Molnar , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , John Garry , Will Deacon , Mathieu Poirier , Kemeng Shi , "Naveen N. Rao" , Ian Rogers , Al Grant , James Clark , Wei Li , =?UTF-8?q?Andr=C3=A9=20Przywara?= , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v3 9/9] perf mem: Document event type 'ldst' Date: Wed, 28 Oct 2020 14:38:13 +0800 Message-Id: <20201028063813.8562-10-leo.yan@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20201028063813.8562-1-leo.yan@linaro.org> References: <20201028063813.8562-1-leo.yan@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201028_023911_259506_E5C396C7 X-CRM114-Status: GOOD ( 15.60 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Leo Yan MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The event type 'ldst' is added for recording both load and store memory operations, this patch documents for the new event type. Signed-off-by: Leo Yan --- tools/perf/Documentation/perf-mem.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tools/perf/Documentation/perf-mem.txt b/tools/perf/Documentation/perf-mem.txt index 199ea0f0a6c0..c50ef37dba72 100644 --- a/tools/perf/Documentation/perf-mem.txt +++ b/tools/perf/Documentation/perf-mem.txt @@ -38,7 +38,11 @@ OPTIONS -t:: --type=:: - Select the memory operation type: load or store (default: load,store) + Select the memory operation type: load, store, ldst (default: load,store). + The type 'ldst' means the single event can record both for load and store + operations; Intel and PowerPC support the types 'load' and 'store' but + 'ldst' cannot be used; on Arm64, it uses Arm SPE as memory events and + user needs to specify one of these three types. -D:: --dump-raw-samples:: -- 2.17.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel