V5: Add more text to Kconfig Move this trace point to function rproc_load_segments() and rename it to trace_rproc_load_segment_event() V4: Add config symbol REMOTEPROC_TRACEPOINTS to enable traces Rename rproc_qcom.h to remoteproc_tracepoints.h Rename qcom_tracepoints.c to remoteproc_tracepoints.c Switch to EXPORT_SYMBOL_GPL V3: Split the Patch to 2 as per suggestion from Mukesh, fixed format error from v2. V2: Moved the traces to common code from the qcom_pas driver as per Bjorns review, fixed text as per Triloks suggestion, Updated QuiC copyright to 2023. [1]: https://lore.kernel.org/all/20230224165142.17745-2-quic_gokukris@xxxxxxxxxxx/ Gokul krishna Krishnakumar (2): remoteproc: Introduce traces for remoteproc events remoteproc: qcom: Add remoteproc tracing drivers/remoteproc/Kconfig | 9 ++ drivers/remoteproc/Makefile | 1 + drivers/remoteproc/qcom_common.c | 37 +++++ drivers/remoteproc/qcom_q6v5.c | 9 ++ drivers/remoteproc/remoteproc_core.c | 5 + drivers/remoteproc/remoteproc_internal.h | 9 +- drivers/remoteproc/remoteproc_tracepoints.c | 14 ++ include/trace/events/remoteproc_tracepoints.h | 152 ++++++++++++++++++ 8 files changed, 234 insertions(+), 2 deletions(-) create mode 100644 drivers/remoteproc/remoteproc_tracepoints.c create mode 100644 include/trace/events/remoteproc_tracepoints.h base-commit: 1ca04f21b204e99dd704146231adfb79ea2fb366 -- 2.40.1