qcacmn: Change time format of MTRACE logs

qcacld-2.0 to qcacld-3.0 propagation

MTRACE logs timestamp format is different from logcat logs,
and it's difficult to correlate with other logs.

This fix changes the timeformat of MTRACE logs
from qtimer ticks to hr:min:sec:msec

Change-Id: I45e5d28fbeccd757648f05ce4e593d8ca4fe7804
CRS-Fixed: 1049125
Цей коміт міститься в:
Sreelakshmi Konamki
2016-10-27 15:00:57 +05:30
зафіксовано qcabuildsw
джерело 3f82a0e32d
коміт e2e313532a
5 змінених файлів з 37 додано та 3 видалено

Переглянути файл

@@ -121,7 +121,8 @@ typedef enum {
/**
* typedef struct qdf_trace_record_s - keep trace record
* @time: timestamp
* @qtime: qtimer ticks
* @time: user timestamp
* @module: module name
* @code: hold record of code
* @session: hold record of session
@@ -129,7 +130,8 @@ typedef enum {
* @pid: hold pid of the process
*/
typedef struct qdf_trace_record_s {
uint64_t time;
uint64_t qtime;
char time[18];
uint8_t module;
uint8_t code;
uint16_t session;