[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1605563084-30385-1-git-send-email-rishabhb@codeaurora.org>
Date: Mon, 16 Nov 2020 13:44:41 -0800
From: Rishabh Bhatnagar <rishabhb@...eaurora.org>
To: linux-remoteproc@...r.kernel.org, linux-kernel@...r.kernel.org
Cc: bjorn.andersson@...aro.org, tsoni@...eaurora.org,
psodagud@...eaurora.org, sidgup@...eaurora.org,
Rishabh Bhatnagar <rishabhb@...eaurora.org>
Subject: [PATCH v2 0/3] Add events to trace remoteproc lifecycle
Insert tracepoints in mdt_loader, qcom_scm and remoteproc_core drivers.
These tracepoints will be used to analyze the time taken
at each step during bootup/shutdown of the remoteproc. Tracepoints
in mdt_loader driver provides information about location and size
of firmware segments being loaded. Also trace the scm pas calls
used to boot/load remote processors.
Changelog:
v2 -> v1:
- Add traces in qcom_scm driver
- Add traces in remoteproc core to trace the remoteproc state
- Trace the physical address where segment is loaded in mdt_loader
Rishabh Bhatnagar (3):
soc: qcom: Add tracepoints to mdt loader
firmware: scm: Add tracepoints to scm driver for pas calls
remoteproc: Add ftrace events to trace lifecycle of remoteprocs
drivers/firmware/qcom_scm.c | 9 ++++
drivers/remoteproc/remoteproc_core.c | 19 +++++++-
drivers/soc/qcom/mdt_loader.c | 7 +++
include/trace/events/mdt_loader.h | 38 +++++++++++++++
include/trace/events/qcom_scm.h | 34 ++++++++++++++
include/trace/events/remoteproc.h | 91 ++++++++++++++++++++++++++++++++++++
6 files changed, 197 insertions(+), 1 deletion(-)
create mode 100644 include/trace/events/mdt_loader.h
create mode 100644 include/trace/events/qcom_scm.h
create mode 100644 include/trace/events/remoteproc.h
--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project
Powered by blists - more mailing lists