On 2/6/2024 10:02 AM, Krishna chaitanya chundru wrote:
This change adds ftrace support for following functions which helps in debugging the issues when there is Channel state & MHI state change and also when we receive data and control events:
Please write commit msg in imperative mood. https://www.kernel.org/doc/html/v4.10/process/submitting-patches.html#describe-your-changes
1. mhi_intvec_mhi_states 2. mhi_process_data_event_ring 3. mhi_process_ctrl_ev_ring 4. mhi_gen_tre 5. mhi_update_channel_state 6. mhi_tryset_pm_state 7. mhi_pm_st_worker Change the implementation of the arrays which has enum to strings mapping to make it consistent in both trace header file and other files. Where ever the trace events are added, debug messages are removed.
Ditto. Regards, Naman