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=-2.5 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS,URIBL_BLOCKED, USER_AGENT_MUTT 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 9E407C43381 for ; Wed, 27 Mar 2019 14:45:22 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 6CFC12087C for ; Wed, 27 Mar 2019 14:45:22 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="aS1eQSie"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="myZV8vp/" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6CFC12087C 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+infradead-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=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=HCwXYk0RuLNjdnsmOZrjKMEVR81Xpqsiz04M6wZZarg=; b=aS1eQSieDCmBPl iCnMwfERh8rJM+4OHwRU9fO/bh8+iEYyc0RggM9MUalFRS2QV1IILtnkPRhJavu77d9WNHFxYeA3v e+/njzSIhnlw51nbJhuNLVt+1oMu0Y1btt9aVxafHbQys6qQMXkqdLPBWjhzp4RjibdIT4vUsD/Ou NaoNomZvOrAltc4Zi1W8RpbZwiv21QDXexC9KUIEZppIL/xtbfmkjdpD+jaGwLv6s+rvQ8vJPZ7jC 3Zk2qWJ/7dDf9uTSMRBrwP58f22kEHM2RAvAwAZ6T189eEJs2gaa+yoskF1d8Wf+Io0qQEqSwm4JY Nq8ZnnoIFh+DAjB44sBw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1h99np-0001Kf-7h; Wed, 27 Mar 2019 14:45:17 +0000 Received: from mail-yw1-xc41.google.com ([2607:f8b0:4864:20::c41]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h99nk-000153-Vr for linux-arm-kernel@lists.infradead.org; Wed, 27 Mar 2019 14:45:14 +0000 Received: by mail-yw1-xc41.google.com with SMTP id w66so283365ywd.4 for ; Wed, 27 Mar 2019 07:45:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=mhuLWk0dX+HlGm7LDtRNpejkQnYKvBL2oVHAZGpjDAA=; b=myZV8vp/ZtKdOCdKW9xoT1vNlVovcLloxn/YeTzAE1MHHVx6Z8UX0UNOMTx+81cp4T 86KoekngwuMvmOzzJ6AV8EM8IHJH+sYrgCg124vkiTo9yIZi6hLyJd7ZxrB9JFaqAIWN vLX4zMI7S5Tjab9TVs06C/4nHGo0uMpihklwXn+sNM+t7GHcm0zqnM1Pun0evS0M5ydG 0LHCKNOZoNuKcG/2tNJWUbxeEtBgeoyOwtQYEW+uxRNTEOTOdiUujyx5fDv8Mlro+NnW w3ofyhDWBoCr67XDuPwolxnVqZlQ6DHgJTu8Rf3GGVPKz4Ph6w/1ljyIYvzTsGOQTL07 fHWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=mhuLWk0dX+HlGm7LDtRNpejkQnYKvBL2oVHAZGpjDAA=; b=EStdgB9N1zLK8kRbbo0HAssxcB0JDSSlia7fZwvb//W7/t4TMNtIpEGcFqvMhCzncJ MCZmh19NiBHW8L5N+p6I+nDEtP3ZuzaUabtj7RydeCYll3HCaas4DnMIYvY4ePtg0BYq +frzMj2RQkvWQEokFCVuS34+C7DvOoroMBBa2TWqQ+OkfW+NUM//Zxl7vR/8dv5mu3OP 8W0jIbsxA0Ct/M2rPibgRT3jZZsTE79PzlxioQMg4w4pLbBrzYAgUoyY8658UyJ3EJDN v/FuoL8DT9N4a+sLKYCcS+wRe7u8PTg+uMDeVRJYG9sow5AfwcGfACz2NuHTvzkEnbcu GxMA== X-Gm-Message-State: APjAAAXjWBOOWFWSBubZaZLBn584okcrGG4zw7rQv8RhFX1XJq27B/Oa d3FdUiyJt/y9qO549nKSvdFd3A== X-Google-Smtp-Source: APXvYqzP1kxiC3BsPDOrUlKYD2TxkOKV+CP/no5hcRPEUunlX9WVCD0d5VDwf5Rq06umROmMG0j+Tw== X-Received: by 2002:a81:6507:: with SMTP id z7mr30354338ywb.440.1553697906371; Wed, 27 Mar 2019 07:45:06 -0700 (PDT) Received: from leoy-ThinkPad-X240s (li931-65.members.linode.com. [45.56.113.65]) by smtp.gmail.com with ESMTPSA id p7sm6832536ywl.17.2019.03.27.07.45.00 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 27 Mar 2019 07:45:05 -0700 (PDT) Date: Wed, 27 Mar 2019 22:44:55 +0800 From: Leo Yan To: Mathieu Poirier Subject: Re: [PATCH v2 00/16] coresight: Add support for CPU-wide trace scenarios Message-ID: <20190327144455.GA22561@leoy-ThinkPad-X240s> References: <20190325215632.17013-1-mathieu.poirier@linaro.org> <20190327075251.GC13559@leoy-ThinkPad-X240s> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190327_074513_066392_B3076F51 X-CRM114-Status: GOOD ( 18.07 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "Suzuki K. Poulose" , Alexander Shishkin , Coresight ML , Peter Zijlstra , Mike Leach , linux-arm-kernel Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, Mar 27, 2019 at 08:40:18AM -0600, Mathieu Poirier wrote: > On Wed, 27 Mar 2019 at 01:52, Leo Yan wrote: > > > > On Mon, Mar 25, 2019 at 03:56:16PM -0600, Mathieu Poirier wrote: > > > This is the second revision of a patchset that adds support for CPU-wide > > > trace scenarios and as such, it is now possible to issue the following > > > commands: > > > > > > # perf record -e cs_etm/@20070000.etr/ -C 2,3 $COMMAND > > > # perf record -e cs_etm/@20070000.etr/ -a $COMMAND > > > > > > The solution is designed to work for both 1:1 and N:1 source/sink > > > topologies, though the former hasn't been tested for lack of access to HW. > > > > > > Most of the changes revolve around allowing more than one event to use > > > a sink when operated from perf. More specifically the first event to > > > use a sink switches it on while the last one is tasked to aggregate traces > > > and switching off the device. > > > > > > This is the kernel part of the solution, with the user space portion to be > > > released in a later set. All patches (user and kernel) have been rebased > > > on v5.1-rc2 and are hosted here[1]. Everything has been tested on Juno and > > > 410c dragonboard platforms. > > > > FWIW, gave the testing on my Hikey620 board and these patches also work > > well with below commands: > > > > # perf record -e cs_etm/@f6402000.etf/ -a uname > > # perf record -e cs_etm/@f6402000.etf/ -C 0,4 uname > > > > # perf record -e cs_etm/@f6404000.etr/ -a uname > > # perf record -e cs_etm/@f6404000.etr/ -C 1,2,7 uname > > Should I add your "Tested-by:" to the patches then? Yes. Please add my test tag: Tested-by: Leo Yan Thanks, Leo Yan _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel