From: Bagas Sanjaya <bagasdotme@gmail.com>
To: Hao Zhang <quic_hazha@quicinc.com>,
Mathieu Poirier <mathieu.poirier@linaro.org>,
Suzuki K Poulose <suzuki.poulose@arm.com>,
Alexander Shishkin <alexander.shishkin@linux.intel.com>,
Konrad Dybcio <konradybcio@gmail.com>,
Mike Leach <mike.leach@linaro.org>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Andy Gross <agross@kernel.org>,
Paul Walmsley <paul.walmsley@sifive.com>,
Palmer Dabbelt <palmer@dabbelt.com>,
Albert Ou <aou@eecs.berkeley.edu>,
Jonathan Corbet <corbet@lwn.net>
Cc: Leo Yan <leo.yan@linaro.org>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
coresight@lists.linaro.org, linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, devicetree@vger.kernel.org,
Tingwei Zhang <quic_tingweiz@quicinc.com>,
Jinlong Mao <quic_jinlmao@quicinc.com>,
Yuanfang Zhang <quic_yuanfang@quicinc.com>,
Tao Zhang <quic_taozha@quicinc.com>,
Trilok Soni <quic_tsoni@quicinc.com>,
linux-arm-msm@vger.kernel.org,
Bjorn Andersson <andersson@kernel.org>,
linux-doc@vger.kernel.org
Subject: Re: [PATCH v2 3/3] Documentation: trace: Add documentation for Coresight Dummy Trace
Date: Mon, 27 Mar 2023 16:06:28 +0700 [thread overview]
Message-ID: <ZCFclDU2JZLzbVX/@debian.me> (raw)
In-Reply-To: <20230324061608.33609-4-quic_hazha@quicinc.com>
[-- Attachment #1: Type: text/plain, Size: 1431 bytes --]
On Fri, Mar 24, 2023 at 02:16:08PM +0800, Hao Zhang wrote:
> +Sysfs files and directories
> +---------------------------
> +
> +Root: ``/sys/bus/coresight/devices/dummy<N>``
> +
> +----
> +
> +:File: ``enable_source`` (RW)
> +:Notes:
> + - > 0 : enable the datasets of dummy source.
> +
> + - = 0 : disable the datasets of dummy source.
> +
> +:Syntax:
> + ``echo 1 > enable_source``
> +
> +----
> +
> +:File: ``enable_sink`` (RW)
> +:Notes:
> + - > 0 : enable the datasets of dummy sink.
> +
> + - = 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=\$` (that is, omit the directory). Alternatively,
you can write `ls -l /sys/bus/coresight/devices | grep dummy` (specify
the directory to `ls`).
Thanks.
--
An old man doll... just what I always wanted! - Clara
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
WARNING: multiple messages have this Message-ID (diff)
From: Bagas Sanjaya <bagasdotme@gmail.com>
To: Hao Zhang <quic_hazha@quicinc.com>,
Mathieu Poirier <mathieu.poirier@linaro.org>,
Suzuki K Poulose <suzuki.poulose@arm.com>,
Alexander Shishkin <alexander.shishkin@linux.intel.com>,
Konrad Dybcio <konradybcio@gmail.com>,
Mike Leach <mike.leach@linaro.org>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Andy Gross <agross@kernel.org>,
Paul Walmsley <paul.walmsley@sifive.com>,
Palmer Dabbelt <palmer@dabbelt.com>,
Albert Ou <aou@eecs.berkeley.edu>,
Jonathan Corbet <corbet@lwn.net>
Cc: Leo Yan <leo.yan@linaro.org>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
coresight@lists.linaro.org, linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, devicetree@vger.kernel.org,
Tingwei Zhang <quic_tingweiz@quicinc.com>,
Jinlong Mao <quic_jinlmao@quicinc.com>,
Yuanfang Zhang <quic_yuanfang@quicinc.com>,
Tao Zhang <quic_taozha@quicinc.com>,
Trilok Soni <quic_tsoni@quicinc.com>,
linux-arm-msm@vger.kernel.org,
Bjorn Andersson <andersson@kernel.org>,
linux-doc@vger.kernel.org
Subject: Re: [PATCH v2 3/3] Documentation: trace: Add documentation for Coresight Dummy Trace
Date: Mon, 27 Mar 2023 16:06:28 +0700 [thread overview]
Message-ID: <ZCFclDU2JZLzbVX/@debian.me> (raw)
In-Reply-To: <20230324061608.33609-4-quic_hazha@quicinc.com>
[-- Attachment #1.1: Type: text/plain, Size: 1431 bytes --]
On Fri, Mar 24, 2023 at 02:16:08PM +0800, Hao Zhang wrote:
> +Sysfs files and directories
> +---------------------------
> +
> +Root: ``/sys/bus/coresight/devices/dummy<N>``
> +
> +----
> +
> +:File: ``enable_source`` (RW)
> +:Notes:
> + - > 0 : enable the datasets of dummy source.
> +
> + - = 0 : disable the datasets of dummy source.
> +
> +:Syntax:
> + ``echo 1 > enable_source``
> +
> +----
> +
> +:File: ``enable_sink`` (RW)
> +:Notes:
> + - > 0 : enable the datasets of dummy sink.
> +
> + - = 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=\$` (that is, omit the directory). Alternatively,
you can write `ls -l /sys/bus/coresight/devices | grep dummy` (specify
the directory to `ls`).
Thanks.
--
An old man doll... just what I always wanted! - Clara
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
[-- Attachment #2: Type: text/plain, Size: 176 bytes --]
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2023-03-27 9:07 UTC|newest]
Thread overview: 56+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-24 6:16 [PATCH v2 0/3] Add support to configure Coresight Dummy subunit Hao Zhang
2023-03-24 6:16 ` Hao Zhang
2023-03-24 6:16 ` [PATCH v2 1/3] Coresight: Add coresight dummy driver Hao Zhang
2023-03-24 6:16 ` Hao Zhang
2023-03-24 10:44 ` Suzuki K Poulose
2023-03-24 10:44 ` Suzuki K Poulose
2023-03-27 5:43 ` Hao Zhang
2023-03-27 5:43 ` Hao Zhang
2023-03-27 15:58 ` Mike Leach
2023-03-27 15:58 ` Mike Leach
2023-03-28 7:22 ` Hao Zhang
2023-03-28 7:22 ` Hao Zhang
2023-03-28 8:35 ` Suzuki K Poulose
2023-03-28 8:35 ` Suzuki K Poulose
2023-03-28 9:24 ` Hao Zhang
2023-03-28 9:24 ` Hao Zhang
2023-03-28 10:06 ` Mike Leach
2023-03-28 10:06 ` Mike Leach
2023-03-28 11:25 ` Hao Zhang
2023-03-28 11:25 ` Hao Zhang
2023-03-28 12:21 ` Suzuki K Poulose
2023-03-28 12:21 ` Suzuki K Poulose
2023-03-28 14:32 ` Mike Leach
2023-03-28 14:32 ` Mike Leach
2023-03-24 6:16 ` [PATCH v2 2/3] dt-bindings: arm: Add Coresight Dummy Trace YAML schema Hao Zhang
2023-03-24 6:16 ` Hao Zhang
2023-03-24 10:47 ` Suzuki K Poulose
2023-03-24 10:47 ` Suzuki K Poulose
2023-03-27 5:58 ` Hao Zhang
2023-03-27 5:58 ` Hao Zhang
2023-03-25 11:49 ` Krzysztof Kozlowski
2023-03-25 11:49 ` Krzysztof Kozlowski
2023-03-27 7:38 ` Hao Zhang
2023-03-27 7:38 ` Hao Zhang
2023-03-28 10:12 ` Mike Leach
2023-03-28 10:12 ` Mike Leach
2023-03-28 11:29 ` Hao Zhang
2023-03-28 11:29 ` Hao Zhang
2023-03-31 18:47 ` Rob Herring
2023-03-31 18:47 ` Rob Herring
2023-04-07 6:23 ` Hao Zhang
2023-04-07 6:23 ` Hao Zhang
2023-03-24 6:16 ` [PATCH v2 3/3] Documentation: trace: Add documentation for Coresight Dummy Trace Hao Zhang
2023-03-24 6:16 ` Hao Zhang
2023-03-24 11:00 ` Suzuki K Poulose
2023-03-24 11:00 ` Suzuki K Poulose
2023-03-27 6:05 ` Hao Zhang
2023-03-27 6:05 ` Hao Zhang
2023-03-27 9:06 ` Bagas Sanjaya [this message]
2023-03-27 9:06 ` Bagas Sanjaya
2023-03-28 8:07 ` Hao Zhang
2023-03-28 8:07 ` Hao Zhang
2023-03-27 9:13 ` Greg Kroah-Hartman
2023-03-27 9:13 ` Greg Kroah-Hartman
2023-03-28 1:45 ` Hao Zhang
2023-03-28 1:45 ` Hao Zhang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ZCFclDU2JZLzbVX/@debian.me \
--to=bagasdotme@gmail.com \
--cc=agross@kernel.org \
--cc=alexander.shishkin@linux.intel.com \
--cc=andersson@kernel.org \
--cc=aou@eecs.berkeley.edu \
--cc=corbet@lwn.net \
--cc=coresight@lists.linaro.org \
--cc=devicetree@vger.kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=konradybcio@gmail.com \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=leo.yan@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mathieu.poirier@linaro.org \
--cc=mike.leach@linaro.org \
--cc=palmer@dabbelt.com \
--cc=paul.walmsley@sifive.com \
--cc=quic_hazha@quicinc.com \
--cc=quic_jinlmao@quicinc.com \
--cc=quic_taozha@quicinc.com \
--cc=quic_tingweiz@quicinc.com \
--cc=quic_tsoni@quicinc.com \
--cc=quic_yuanfang@quicinc.com \
--cc=robh+dt@kernel.org \
--cc=suzuki.poulose@arm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.