qcacmn: Use ktime_get_ts64 for logging time stamp
Use ktime_get_ts64 instead of ktime_get_real_ts64 to display logging time stamp. ktime_get_real_ts64 displays the time of day in a timespec64. Whereas, ktime_get_ts64 gets the monotonic clock in timespec64 format. Change-Id: Id6646a2d60c5d049b0d777f58c9ac332ffb52437 CRs-Fixed: 2764048
Esse commit está contido em:
@@ -300,7 +300,7 @@ static inline uint64_t __qdf_get_log_timestamp(void)
|
||||
{
|
||||
struct timespec64 ts;
|
||||
|
||||
ktime_get_real_ts64(&ts);
|
||||
ktime_get_ts64(&ts);
|
||||
|
||||
return ((uint64_t)ts.tv_sec * 1000000) + (ts.tv_nsec / 1000);
|
||||
}
|
||||
|
Referência em uma nova issue
Block a user