This repository was archived by the owner on Nov 8, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +8
-0
lines changed Expand file tree Collapse file tree 3 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -93,6 +93,7 @@ EXPORT_TRACEPOINT_SYMBOL_GPL(android_vh_syscall_prctl_finished);
93
93
EXPORT_TRACEPOINT_SYMBOL_GPL (android_vh_ufs_send_uic_command );
94
94
EXPORT_TRACEPOINT_SYMBOL_GPL (android_vh_ufs_send_tm_command );
95
95
EXPORT_TRACEPOINT_SYMBOL_GPL (android_vh_ufs_check_int_errors );
96
+ EXPORT_TRACEPOINT_SYMBOL_GPL (android_vh_ufs_update_sdev );
96
97
EXPORT_TRACEPOINT_SYMBOL_GPL (android_vh_cgroup_attach );
97
98
EXPORT_TRACEPOINT_SYMBOL_GPL (android_rvh_iommu_setup_dma_ops );
98
99
EXPORT_TRACEPOINT_SYMBOL_GPL (android_vh_iommu_iovad_alloc_iova );
Original file line number Diff line number Diff line change @@ -5095,6 +5095,8 @@ static int ufshcd_slave_alloc(struct scsi_device *sdev)
5095
5095
5096
5096
ufshcd_setup_links (hba , sdev );
5097
5097
5098
+ trace_android_vh_ufs_update_sdev (sdev );
5099
+
5098
5100
return 0 ;
5099
5101
}
5100
5102
Original file line number Diff line number Diff line change @@ -49,6 +49,11 @@ DECLARE_HOOK(android_vh_ufs_check_int_errors,
49
49
TP_PROTO (struct ufs_hba * hba , bool queue_eh_work ),
50
50
TP_ARGS (hba , queue_eh_work ));
51
51
52
+ struct scsi_device ;
53
+ DECLARE_HOOK (android_vh_ufs_update_sdev ,
54
+ TP_PROTO (struct scsi_device * sdev ),
55
+ TP_ARGS (sdev ));
56
+
52
57
#endif /* _TRACE_HOOK_UFSHCD_H */
53
58
/* This part must be outside protection */
54
59
#include <trace/define_trace.h>
You can’t perform that action at this time.
0 commit comments