From: Gokul Krishna Krishnakumar <quic_gokukris@quicinc.com>
To: Trilok Soni <quic_tsoni@quicinc.com>, <linux-remoteproc@vger.kernel.org>
Cc: Bjorn Andersson <andersson@kernel.org>,
Mathieu Poirier <mathieu.poirier@linaro.org>,
<linux-kernel@vger.kernel.org>,
"Satya Durga Srinivasu Prabhala" <quic_satyap@quicinc.com>,
Rajendra Nayak <quic_rjendra@quicinc.com>,
Elliot Berman <quic_eberman@quicinc.com>,
"Guru Das Srinagesh" <quic_gurus@quicinc.com>,
Sibi Sankar <quic_sibis@quicinc.com>,
Melody Olvera <quic_molvera@quicinc.com>
Subject: Re: [PATCH v4 1/2] remoteproc: Introduce traces for remoteproc events
Date: Wed, 31 May 2023 17:55:45 -0700 [thread overview]
Message-ID: <98ffc5cd-7129-3128-1f83-d66b4fc8c78a@quicinc.com> (raw)
In-Reply-To: <b332eaf8-2528-ad71-9118-6627bf9ab7c1@quicinc.com>
On 5/31/2023 2:51 PM, Trilok Soni wrote:
> On 5/31/2023 2:28 PM, Gokul krishna Krishnakumar wrote:
>> Adding Traces for the following remoteproc events:
>> rproc_subdev_event,
>> rproc_interrupt_event,
>> rproc_load_event,
>> rproc_start_event,
>> rproc_stop_event
>>
>> Signed-off-by: Gokul krishna Krishnakumar <quic_gokukris@quicinc.com>
>> ---
>> drivers/remoteproc/Kconfig | 5 +
>> drivers/remoteproc/Makefile | 1 +
>> drivers/remoteproc/remoteproc_tracepoints.c | 13 ++
>> include/trace/events/remoteproc_tracepoints.h | 129 ++++++++++++++++++
>> 4 files changed, 148 insertions(+)
>> create mode 100644 drivers/remoteproc/remoteproc_tracepoints.c
>> create mode 100644 include/trace/events/remoteproc_tracepoints.h
>>
>> diff --git a/drivers/remoteproc/Kconfig b/drivers/remoteproc/Kconfig
>> index a850e9f486dd..2ef4f527f1c1 100644
>> --- a/drivers/remoteproc/Kconfig
>> +++ b/drivers/remoteproc/Kconfig
>> @@ -365,6 +365,11 @@ config XLNX_R5_REMOTEPROC
>> It's safe to say N if not interested in using RPU r5f cores.
>> +config REMOTEPROC_TRACEPOINTS
>> + bool "Support for Remote Processor subsystem traces"
>> + help
>> + Say y to add traces to the remoteproc events.
>
> More information here please. What information these traces provide? How
> they can be useful to developers? More text will always be helpful.
>
Say y to add traces to remoteproc events of interest such as the
start/stop/crash events in a remote-processor and also sub-device
stop/start events and there errors.
These traces can be useful while debugging errors with subsystem restart
and draw an estimate on how long each event takes to run.
> ---Trilok Soni
How does this look.
Thanks,
Gokul
next prev parent reply other threads:[~2023-06-01 0:55 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <cover.1685486994.git.quic_gokukris@quicinc.com>
2023-05-31 21:35 ` [PATCH v4 0/2] Patches for introducing traces in remoteproc Trilok Soni
2023-05-31 21:36 ` Trilok Soni
2023-05-31 21:49 ` Gokul Krishna Krishnakumar
2023-05-31 21:50 ` Trilok Soni
[not found] ` <5c1744bc362fbc80615349f12c18c8ab5c4f0a6e.1685486994.git.quic_gokukris@quicinc.com>
2023-05-31 21:51 ` [PATCH v4 1/2] remoteproc: Introduce traces for remoteproc events Trilok Soni
2023-06-01 0:55 ` Gokul Krishna Krishnakumar [this message]
[not found] ` <bd949ac8225abb842630bd7f4a2d45334c58f17f.1685486994.git.quic_gokukris@quicinc.com>
2023-06-01 14:18 ` [PATCH v4 2/2] remoteproc: qcom: Add remoteproc tracing kernel test robot
2023-06-01 14:18 ` kernel test robot
2023-06-07 15:35 ` Mathieu Poirier
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=98ffc5cd-7129-3128-1f83-d66b4fc8c78a@quicinc.com \
--to=quic_gokukris@quicinc.com \
--cc=andersson@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-remoteproc@vger.kernel.org \
--cc=mathieu.poirier@linaro.org \
--cc=quic_eberman@quicinc.com \
--cc=quic_gurus@quicinc.com \
--cc=quic_molvera@quicinc.com \
--cc=quic_rjendra@quicinc.com \
--cc=quic_satyap@quicinc.com \
--cc=quic_sibis@quicinc.com \
--cc=quic_tsoni@quicinc.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®