Rename K_DebugLowTime to _k_debug_sys_clock_tick_count

Updating global variable's name to follow a consistent naming convention.

Change accomplished with the following script:

   #!/bin/bash
   echo "Searching for ${1} to replace with ${2}"
   find ./ \( -name "*.[chs]" -o -name "sysgen.py" -o -name "*.kconf" \) \
            ! -path "./host/src/genIdt/*" \
            ! -path "*/outdir/*" | xargs sed -i 's/\b'${1}'\b/'${2}'/g';

Change-Id: Id55e2394076ed44694e3f761f8a0e6e7bf0b59f9
Signed-off-by: Yonattan Louise <yonattan.a.louise.mendoza@intel.com>
This commit is contained in:
Yonattan Louise 2015-04-27 10:28:39 -05:00 committed by Anas Nashif
commit 8489e2410d

View file

@ -161,11 +161,11 @@ static inline void _WlMonitorUpdate(void)
*/ */
#ifdef CONFIG_TASK_DEBUG #ifdef CONFIG_TASK_DEBUG
uint32_t __noinit K_DebugLowTime; uint32_t __noinit _k_debug_sys_clock_tick_count;
static inline int _TlDebugUpdate(int32_t ticks) static inline int _TlDebugUpdate(int32_t ticks)
{ {
K_DebugLowTime += ticks; _k_debug_sys_clock_tick_count += ticks;
return !_k_debug_halt; return !_k_debug_halt;
} }
#else #else