Skip to content

Add events to trace remoteproc lifecycle

Rishabh Bhatnagar linux-remoteproc lkml oe-kbuild-all 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 5 repliesIn review
  2. v12 patches 2 repliesSuperseded

v2 -> v1 from the cover letter

- 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

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3soc: qcom: Add tracepoints to mdt loaderdrivers/soc/qcom/mdt_loader.c include/trace/events/mdt_loader.h+45 -01 reply
2/3firmware: scm: Add tracepoints to scm driver for pas callsdrivers/firmware/qcom_scm.c include/trace/events/qcom_scm.h+43 -01 reply
3/3remoteproc: Add ftrace events to trace lifecycle of remoteprocsdrivers/remoteproc/remoteproc_core.c include/trace/events/remoteproc.h+109 -13 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [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
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project