bus: mhi: host: Change the trace string for the userspace tools mapping
authorKrishna chaitanya chundru <quic_krichai@quicinc.com>
Sun, 18 Feb 2024 08:43:39 +0000 (14:13 +0530)
committerManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Thu, 22 Feb 2024 05:15:19 +0000 (10:45 +0530)
commita52354173bea2224009d52ed4439932260d389fb
tree9e5458f22c7d951a746419991694caed48dd4ed4
parent27711860c54ccb5e80719df684f49f0bf3f8fb51
bus: mhi: host: Change the trace string for the userspace tools mapping

User space tools can't map strings if we use directly, as the string
address is internal to kernel.

So add trace point strings for the user space tools to map strings
properly.

Suggested-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Krishna chaitanya chundru <quic_krichai@quicinc.com>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Link: https://lore.kernel.org/r/20240218-ftrace_string-v1-1-27da85c1f844@quicinc.com
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
drivers/bus/mhi/host/main.c
drivers/bus/mhi/host/trace.h