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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id A488CC7619A for ; Mon, 27 Mar 2023 09:07:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: Reply-To:Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date :Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=TlVRbRlUgEK5x+WaL174JXOs99Xc1ryMVXLuO0CVuLw=; b=PkBdGmsGSeDUJk1RCJDeZLQYEh CY2jwMZOiDaVIzL1Blperqxp45vwWiyx+2QaqJjHzBPgyOWjJa+O7Evf6lGA2lBY9q40qOXnBZ9yN nzM6iMZg0nueD/zLk29Iq9nYxzx7Y9gR8VUuqigZr5NIb/YIigR5xqsUvku+sL7sTaqbypfWk9qSZ bs7c7Fdj3znl9JEtMdTbyWj4glIt0HOYmep5oAXqpfTi2vYGaLyaKf04lN+6qymv8TB52LRIXI61w 09G2K4Uj+j6I6M/EASAVxGuJTcdho9oEHErpV/DMv8sOUsf8gyMu0Ja0dKofPO9yeqUR9W/G4XtSa d0WGlC7w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pgioI-00APiC-0x; Mon, 27 Mar 2023 09:06:38 +0000 Received: from mail-pj1-x102f.google.com ([2607:f8b0:4864:20::102f]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pgioF-00APhY-1b for linux-arm-kernel@lists.infradead.org; Mon, 27 Mar 2023 09:06:36 +0000 Received: by mail-pj1-x102f.google.com with SMTP id gp15-20020a17090adf0f00b0023d1bbd9f9eso11188226pjb.0 for ; Mon, 27 Mar 2023 02:06:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679907993; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=O8fUt4pO+XHuFO5xT5Dt4jN0bSb0IjaRl69C7+BMdDg=; b=LcgNg+6NtV1SL1HZQ41SfLf4+zxLtfV9YXrxPK7vJ5t3NhP4X/JdG0vszd1eEYhVEi Lx0vA1NU1gcwAQ8PRLarirt1b17dx3ulnzdHVH3i9FyW/z845IxGIo4PEVkQAxINU0kz O2BbcKQHUzwTxWoIs4Nl9/n8vmpmDFssbVjkJtANNenJpDzQQM3coQDZhgRLEqCACobQ NA26ZrjjI4CcToPS5twfuS0xEWwLRWevqsCZH/kaaBMSyPDAgQYA+YrSDAEcICpyyYH/ KiS0tgcgHQbHeXuzAIOXjLgCE46vLsxSFJunPzgAq2e+Lc8OPBQ5cmJX9U/Y8FcU9ki2 CzVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679907993; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=O8fUt4pO+XHuFO5xT5Dt4jN0bSb0IjaRl69C7+BMdDg=; b=jsVPbvLskHJT/CH1p7svp/+rGmonr/H0vCcXq4syW5DSqJKNsAlhpKBpv1ETnkY9Y+ iICT9Kl3W8pklzUNkZjPvh3X/B84/anhbItBobsumfNUX8GOd9Wk3F/NtbfKfkGOUj0x /TEARsZbYW9Hg6TTFdJD3MgjNwfEaKDcd778CLWlg7Iy9DZJ2x6TyCMGK33LWn7/hfyE z8aqItvjTACaVmNjmDufWUie+Edc8IYWlCWjrSgUWeSmLk72pdvlWn5zTZiJ4iYCCrwn GBabmugcH8h5j57Zh3AYUHxR9x5y2sUWJ5E5d7joK6Ex7yuRSUdZBwlpQf2J1jeTXDtr qClw== X-Gm-Message-State: AAQBX9cyXD/6/JtiSSJxRr+/lpZ2law2EqOq7cFMJR6TmCypFdbRGO0/ RSw7cl3okO5N8NaX+iH8kaY= X-Google-Smtp-Source: AKy350akZsC9DAW9cAZ9dO/WH1qyoqAa+nZML0KGvlXEjleks2KmWYsZflCCbNjDE2Oyna1h5ZRy6w== X-Received: by 2002:a17:903:28c8:b0:1a2:19c1:a974 with SMTP id kv8-20020a17090328c800b001a219c1a974mr8678082plb.68.1679907993332; Mon, 27 Mar 2023 02:06:33 -0700 (PDT) Received: from debian.me (subs02-180-214-232-16.three.co.id. [180.214.232.16]) by smtp.gmail.com with ESMTPSA id l18-20020a170902d35200b0019468fe44d3sm18629240plk.25.2023.03.27.02.06.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Mar 2023 02:06:32 -0700 (PDT) Received: by debian.me (Postfix, from userid 1000) id 6B322106758; Mon, 27 Mar 2023 16:06:29 +0700 (WIB) Date: Mon, 27 Mar 2023 16:06:28 +0700 From: Bagas Sanjaya To: Hao Zhang , Mathieu Poirier , Suzuki K Poulose , Alexander Shishkin , Konrad Dybcio , Mike Leach , Rob Herring , Krzysztof Kozlowski , Andy Gross , Paul Walmsley , Palmer Dabbelt , Albert Ou , Jonathan Corbet Cc: Leo Yan , Greg Kroah-Hartman , coresight@lists.linaro.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Tingwei Zhang , Jinlong Mao , Yuanfang Zhang , Tao Zhang , Trilok Soni , linux-arm-msm@vger.kernel.org, Bjorn Andersson , linux-doc@vger.kernel.org Subject: Re: [PATCH v2 3/3] Documentation: trace: Add documentation for Coresight Dummy Trace Message-ID: References: <20230324061608.33609-1-quic_hazha@quicinc.com> <20230324061608.33609-4-quic_hazha@quicinc.com> MIME-Version: 1.0 In-Reply-To: <20230324061608.33609-4-quic_hazha@quicinc.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230327_020635_576449_E01C4566 X-CRM114-Status: GOOD ( 14.12 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============2986041978191719624==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============2986041978191719624== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Nhj3/4xBxIE5HRwH" Content-Disposition: inline --Nhj3/4xBxIE5HRwH Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Mar 24, 2023 at 02:16:08PM +0800, Hao Zhang wrote: > +Sysfs files and directories > +--------------------------- > + > +Root: ``/sys/bus/coresight/devices/dummy`` > + > +---- > + > +:File: ``enable_source`` (RW) > +:Notes: > + - > 0 : enable the datasets of dummy source. > + > + - =3D 0 : disable the datasets of dummy source. > + > +:Syntax: > + ``echo 1 > enable_source`` > + > +---- > + > +:File: ``enable_sink`` (RW) > +:Notes: > + - > 0 : enable the datasets of dummy sink. > + > + - =3D 0 : disable the datasets of dummy sink. > + > +:Syntax: > + ``echo 1 > enable_sink`` Is enable_{source,sink} integer-valued or bit (0/1)? In other words, is it OK to `echo 2` to both sysfs files? > + > +---- > + > +Config details > +--------------------------- > + > +There are two types of nodes, dummy sink and dummy source. The nodes > +should be observed at the coresight path > +"/sys/bus/coresight/devices". For consistency, inline this sysfs also (thus ``/sys/bus/coresight/devices``. > +e.g. e.g.:: (make the shell snippet below code block) > +/sys/bus/coresight/devices # ls -l | grep dummy IMO I prefer `PS1=3D\$` (that is, omit the directory). Alternatively, you can write `ls -l /sys/bus/coresight/devices | grep dummy` (specify the directory to `ls`). Thanks. --=20 An old man doll... just what I always wanted! - Clara --Nhj3/4xBxIE5HRwH Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQSSYQ6Cy7oyFNCHrUH2uYlJVVFOowUCZCFcjwAKCRD2uYlJVVFO o1gMAP9hA3XoJ+1BWv3KOewMhgRMYIwCugU1u1SLb6+ulgXKKQD8DNcMJrpatOcs cyouf4vyhI6HmCRIK5V0aHosRUkHrQM= =Bs3E -----END PGP SIGNATURE----- --Nhj3/4xBxIE5HRwH-- --===============2986041978191719624== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============2986041978191719624==--