Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1563093pxk; Tue, 1 Sep 2020 01:41:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwPHFf3cKsTwOaDYM4PfohBb4WOyLj2Ib/n045jAlloEGKaMv1TIDN0dobfwoYWG0HnUDZM X-Received: by 2002:a17:906:f90c:: with SMTP id lc12mr529171ejb.104.1598949717639; Tue, 01 Sep 2020 01:41:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598949717; cv=none; d=google.com; s=arc-20160816; b=om9cYOWos5emezFfymk9SFo3imln1sPY6uAMDqLV0f4cfs+rr5L4F67+LAd24a7jLO cxYUo0OLLLLCXE3ooNdT3xZ23hn0F4FoHR/JWlFW1OQlIFYjtXj4HilDMI8XDGPOUJNz rB7mGBceEdl969MXUNvMZtSzd22HcRJ4trS857Xw3Ug6QBMzwav2124t0l4jyCFPj2kV 6Avu8Kl9cxEa8bLQYHyaZHaaXxQG6dsvWiC+7OSngyTOpoMZlXse8XEdk+8JnhuXHU53 RyIUoRbJ65N+ZIuJc/pSu0otht82YGcSdWo1xpurt+Ehk/DNyZv+bmiNpKema3Bn2lhU SahA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=ArComxmicdikxkIe1JcffH3BldcX53EJaFpYbE3tDXk=; b=w/m1ZKJufPn1SDop2Y0KvALBJ92owNJ4XH7bYjHVKveundnOKxY02vJaotjeCRgMcS UZrLB7LGRyLjzTtybXUd14HpA0wscj95BKXjKYqFGmFM33ktGGw7MD4fazSs+N4AnE1l oWs2Qviepr6wXFKZAHat8zvHkZSTJFGuZBrcnEh5yIORXENb7XEOWLsUTmH6vyLvusMu iiN5DS3q+cn0nZYlyFu0tkSCHSH9dGLnlooIpY2QAcTWWlbtWdJuTvXVV7xQTl9ISnCl jRoxEEGIbtTJzZ1AI28ngYdILZecRcLCoGBotY8h2HdISiPEyRATAMf8awcFWm2mrzfn 6IiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=luDP2Jgx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w14si289221ejc.294.2020.09.01.01.41.35; Tue, 01 Sep 2020 01:41:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=luDP2Jgx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727867AbgIAIjE (ORCPT + 99 others); Tue, 1 Sep 2020 04:39:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47094 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727803AbgIAIiv (ORCPT ); Tue, 1 Sep 2020 04:38:51 -0400 Received: from mail-wm1-x343.google.com (mail-wm1-x343.google.com [IPv6:2a00:1450:4864:20::343]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BDC9DC061249 for ; Tue, 1 Sep 2020 01:38:50 -0700 (PDT) Received: by mail-wm1-x343.google.com with SMTP id a9so316948wmm.2 for ; Tue, 01 Sep 2020 01:38:50 -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=ArComxmicdikxkIe1JcffH3BldcX53EJaFpYbE3tDXk=; b=luDP2Jgxutwk/q6yDEuVpF9ywwS8K7sSBQ/A9kg7jRRWgPqWDTmK6xY4YFwo9cAtzR OUXzwKsVc+8xeyUh72uZcTISb98dGG8bqlIayphyJydeKO5IXVyjVoTka9uo7l3suffj 55f6XZV233tzV5Y5dDcY8//O9+EQq1aYewTyNHWhg5OiHB66ruIqKiSimbegJUSM1N9z Lz1Sv446nJc1KwrAi8YbMtstbELGsFOguL3qR28XvJGoYqeq9djjY1KwIEVNHtdFbIIW o0Du1Pyf5j20UAMfyKxqPncbI7KpJ+wVaFjyAxnbcUXrMOc5SKuJLJyvVr3Sc4bHwFpk QnjQ== 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=ArComxmicdikxkIe1JcffH3BldcX53EJaFpYbE3tDXk=; b=oMWAGtqdawy6JiIUAybixGPwXu55P0ZPqCeRVz57mc436V3UA7T0ThhztMVQ/CfMVc p8SDKH69wstZaBOkF7GFUIoI+83aFgEMcXz+zBzl2xr1z/1zBJQ1e7tkZngfbX+TFP4Y HbMfrAdq5+EqRuCYUOS3IXGCAPG2Hz1Vul7I8nW50AMtrbBgK3ZN83Umbo+1aCdRFQhY IlVSJkb+nKysfkR3xGhtydvagG/z9o87m8jfnXxCq/gtCcPeMHaCYWZS9oIL/slvwsxk AuIyMw4Nj6ck0/ZcwclsUAt77U5uIHg5BOHCtGnKxUISzYp2JA9Vv42HRE8xx7Ud4bsH bs5g== X-Gm-Message-State: AOAM531yVsZtjUUfaJpol8NicIWGgcg1L9Zvemz+5wVFU1rXUsO3LzU6 Z2WVGGOnS0XaL40eVqe/LyVOag== X-Received: by 2002:a1c:6445:: with SMTP id y66mr757245wmb.12.1598949529415; Tue, 01 Sep 2020 01:38:49 -0700 (PDT) Received: from hackbox2.linaro.org ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id d190sm911260wmd.23.2020.09.01.01.38.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Sep 2020 01:38:48 -0700 (PDT) From: Leo Yan To: Arnaldo Carvalho de Melo , Peter Zijlstra , Ingo Molnar , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Adrian Hunter , Andi Kleen , Ian Rogers , Nick Desaulniers , "Naveen N. Rao" , Kemeng Shi , James Clark , Wei Li , Al Grant , Will Deacon , Mathieu Poirier , Mike Leach , linux-kernel@vger.kernel.org Cc: Leo Yan Subject: [PATCH v2 14/14] perf mem: Document options introduced by Arm SPE Date: Tue, 1 Sep 2020 09:38:15 +0100 Message-Id: <20200901083815.13755-15-leo.yan@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200901083815.13755-1-leo.yan@linaro.org> References: <20200901083815.13755-1-leo.yan@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Document new options which is introduced by Arm SPE, the event type 'ldst' is added for recording both load and store memory operations; and adds the information for '--itrace=M' which can be used to synthesize memory samples for Arm SPE. Signed-off-by: Leo Yan --- tools/perf/Documentation/perf-mem.txt | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/tools/perf/Documentation/perf-mem.txt b/tools/perf/Documentation/perf-mem.txt index 199ea0f0a6c0..2455d485044f 100644 --- a/tools/perf/Documentation/perf-mem.txt +++ b/tools/perf/Documentation/perf-mem.txt @@ -38,7 +38,12 @@ 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; on Intel and PowerPC systems, the types 'load' and 'store' are + supported but misses the type 'ldst'; on Arm64 system, it uses SPE AUX + trace data to generate memory events, so need to specify one of these + three types. -D:: --dump-raw-samples:: @@ -84,6 +89,9 @@ RECORD OPTIONS --ldlat :: Specify desired latency for loads event. (x86 only) +--itrace=M:: + Synthesize memory samples from the AUX trace data. (Arm SPE only) + In addition, for report all perf report options are valid, and for record all perf record options. -- 2.20.1