summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdhar Mahesh Kumar <c_medhar@qti.qualcomm.com>2014-03-30 17:38:38 -0700
committerAkash Patel <c_akashp@qca.qualcomm.com>2014-04-04 11:24:16 -0700
commit4109f9fa11fcd1bbb666d0cede8a0a249fefc73a (patch)
treef35c2899b33580214587a24f1fe2c0719dc1c424
parent11d00db4421764291ef142c953721007af3159bf (diff)
VOSS:Changes to use vos_timer_get_system_time instead of jiffies_to_msecs.
Changes to make sure that all logging mechanism use similar timestamp which helps in correlating analysis when a kernel panic happens Change-Id: Ie9102fc87e4e424550c9b5116d5418177b2f5448 CRs-Fixed: 640909
-rw-r--r--CORE/VOSS/src/vos_trace.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/CORE/VOSS/src/vos_trace.c b/CORE/VOSS/src/vos_trace.c
index ea81ece70c25..6827aaca9ab7 100644
--- a/CORE/VOSS/src/vos_trace.c
+++ b/CORE/VOSS/src/vos_trace.c
@@ -59,6 +59,7 @@
Include Files
------------------------------------------------------------------------*/
#include <vos_trace.h>
+#include <aniGlobal.h>
/*--------------------------------------------------------------------------
Preprocessor definitions and constants
------------------------------------------------------------------------*/
@@ -239,10 +240,10 @@ void kmsgwconnBuffWrite(const char *wconnlogstrRead)
const char *pwconnlogstr = wconnlogstrRead;
static const char num[16] = {'0','1','2','3','4','5','6','7','8','9','A',
'B','C','D','E','F'};
- unsigned int timetick;
+ v_TIME_t timetick;
int bits; /*timetick for now returns 32 bit number*/
- timetick = ( jiffies_to_msecs(jiffies) / 10 );
+ timetick = vos_timer_get_system_time();
bits = sizeof(timetick) * 8/*number of bits in a byte*/;
kmsgwconnstrlogchar('[');