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=-7.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED 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 85986C433E0 for ; Tue, 16 Jun 2020 19:44:04 +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 517EE20810 for ; Tue, 16 Jun 2020 19:44:04 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="aTbquLAX"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="nyL++U3I" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 517EE20810 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.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=sY1m8mqbeKzhmJ7ZgpTdasu7VX/VEHm423YqQezQ9Nc=; b=aTbquLAX23ZTs4 c/sX2Y9k1/dYlK8vr7m2nhNHL7c+qTBh6KXPaici5PMlGl/IHKBv34drIluK1Jgbyj/eXj5MnpM1s gM4mNB/rUQ4nfBZBLHLn4XndVqg4oNdRz4lUYzgYCdNf9haqPaOTqroyPT1WF/XuHI6pHNMmUllke raY1HZ+MD4DgtRE7c6Tjz4v/35Vw/ia+IVc/Nlz6HSv+8ouNXQgmtSTZhP3YxU9UOr5RV3UUu7Bsy 6zqxU5AdbVcD2mxaLFMKvX+889IDyaVcnxvjfk1rPyl0OXFJrhpZQmX38HR/qyLNzHJLDp40PUUYr jtPypjdXdFNyDaUP74Qg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jlHV5-0000lA-Pd; Tue, 16 Jun 2020 19:44:03 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jlHV4-0000kz-Fw for linux-arm-kernel@bombadil.infradead.org; Tue, 16 Jun 2020 19:44:02 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=zIL4eU6bKlVvHYK6dYNYTdrk92ieRX/yNsDj/8IRgfQ=; b=nyL++U3I/zqE6mM/ERYRQVagFS wxSL05iUyqJui+/rcZNLWbAse6Pht19vm6Deqyp89zWx6losT3dC6ykvN74B1Hlu2jJ5zdz9V1EAw dm98TqH9emN3mGvVgyv+Pe/tehXohe7MZakrCuEGn+AnCX+B41hmAHWDOFj/oVlWnsgRAw0WHqE2R 8P8eBC38OxPUUyyOcLwnmNs/WvxeoLFAcpX8MX8Vt/U17Ix263qmY8UKkqcRHpOEIsNP8V1qce5vA Igr4tuT49Jo2lbAKfKiwxPN0RfZIwoiZKOGTKtXXFIUdHlp12TXB7VFfZXxlS3PC184l1XYNBkbjJ iGuzLuVw==; Received: from [179.162.131.195] (helo=quaco.ghostprotocols.net) by merlin.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1jlHV2-0005Uk-Rn; Tue, 16 Jun 2020 19:44:01 +0000 Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id 01A7440AFD; Tue, 16 Jun 2020 16:43:55 -0300 (-03) Date: Tue, 16 Jun 2020 16:43:55 -0300 From: Arnaldo Carvalho de Melo To: Mike Leach Subject: Re: [PATCH v5] perf: cs-etm: Allow no CoreSight sink to be specified on command line Message-ID: <20200616194355.GA31667@kernel.org> References: <20200616164041.15373-1-mike.leach@linaro.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200616164041.15373-1-mike.leach@linaro.org> X-Url: http://acmel.wordpress.com 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: mathieu.poirier@linaro.org, suzuki.poulose@arm.com, peterz@infradead.org, coresight@lists.linaro.org, mingo@redhat.com, linux-arm-kernel@lists.infradead.org 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 Em Tue, Jun 16, 2020 at 05:40:41PM +0100, Mike Leach escreveu: > Adjust the handling of the session sink selection to allow no sink to > be selected on the command line. This then forwards the sink selection to > the CoreSight infrastructure which will attempt to select a sink based > on the default sink select priorities. > > Signed-off-by: Mike Leach > Tested-by: Leo Yan Thanks, applied. - Arnaldo > --- > tools/perf/arch/arm/util/cs-etm.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/tools/perf/arch/arm/util/cs-etm.c b/tools/perf/arch/arm/util/cs-etm.c > index cea5e33d61d2..cad7bf783413 100644 > --- a/tools/perf/arch/arm/util/cs-etm.c > +++ b/tools/perf/arch/arm/util/cs-etm.c > @@ -243,10 +243,10 @@ static int cs_etm_set_sink_attr(struct perf_pmu *pmu, > } > > /* > - * No sink was provided on the command line - for _now_ treat > - * this as an error. > + * No sink was provided on the command line - allow the CoreSight > + * system to look for a default > */ > - return ret; > + return 0; > } > > static int cs_etm_recording_options(struct auxtrace_record *itr, > -- > 2.17.1 > -- - Arnaldo _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel