소스 검색

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
Shashikala Prabhu 4 년 전
부모
커밋
28cecde000
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      qdf/linux/src/i_qdf_time.h

+ 1 - 1
qdf/linux/src/i_qdf_time.h

@@ -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);
 }