summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvwan@ti.com <vwan@ti.com>2015-08-24 10:07:46 -0700
committerAngela Stegmaier <angelabaker@ti.com>2015-10-05 14:28:23 -0500
commitc5c18b3568026d2f2524953536b53e5ea4483ecf (patch)
treea86c2e7cdd7ba22f77cead0baa19264da6ea077c
parent43ca3bfecee502b4f87c4f40ffb0f8c42944ded8 (diff)
downloadipc-c5c18b3568026d2f2524953536b53e5ea4483ecf.tar.gz
Disable entry/exit trace in some List_* functions in QNX
Some functions in the List module are called with interrupts disabled. When these functions write to the slog (IPC_DEBUG_SLOG_LEVEL=7), a hard hang is occasionally observed. This patch disables the entry/exit trace in these functions to prevent the system from entering the deadlock state. Signed-off-by: VW <vwan@ti.com>
-rw-r--r--qnx/src/ipc3x_dev/ti/syslink/utils/hlos/knl/List.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/qnx/src/ipc3x_dev/ti/syslink/utils/hlos/knl/List.c b/qnx/src/ipc3x_dev/ti/syslink/utils/hlos/knl/List.c
index 4481c87..467036b 100644
--- a/qnx/src/ipc3x_dev/ti/syslink/utils/hlos/knl/List.c
+++ b/qnx/src/ipc3x_dev/ti/syslink/utils/hlos/knl/List.c
@@ -758,7 +758,7 @@ List_dequeue (List_Handle handle)
List_Object * obj = (List_Object *) handle;
IArg key;
- GT_1trace (curTrace, GT_ENTER, "List_dequeue", handle);
+/* GT_1trace (curTrace, GT_ENTER, "List_dequeue", handle); */
GT_assert (curTrace, (handle != NULL));
@@ -794,7 +794,7 @@ List_dequeue (List_Handle handle)
}
#endif /* if !defined(IPC_BUILD_OPTIMIZE) */
- GT_1trace (curTrace, GT_LEAVE, "List_dequeue", elem);
+/* GT_1trace (curTrace, GT_LEAVE, "List_dequeue", elem); */
/*! @retval Valid-pointer Pointer to first element */
return elem ;
@@ -808,7 +808,7 @@ List_enqueue (List_Handle handle, List_Elem * elem)
List_Object * obj = (List_Object *) handle;
IArg key = 0;
- GT_2trace (curTrace, GT_ENTER, "List_enqueue", handle, elem);
+/* GT_2trace (curTrace, GT_ENTER, "List_enqueue", handle, elem); */
GT_assert (curTrace, (handle != NULL));
GT_assert (curTrace, (elem != NULL));
@@ -844,7 +844,7 @@ List_enqueue (List_Handle handle, List_Elem * elem)
}
#endif /* if !defined(IPC_BUILD_OPTIMIZE) */
- GT_0trace (curTrace, GT_LEAVE, "List_enqueue");
+/* GT_0trace (curTrace, GT_LEAVE, "List_enqueue"); */
}
@@ -855,7 +855,7 @@ List_enqueueHead (List_Handle handle, List_Elem * elem)
List_Object * obj = (List_Object *) handle;
IArg key;
- GT_2trace (curTrace, GT_ENTER, "List_enqueueHead", handle, elem);
+/* GT_2trace (curTrace, GT_ENTER, "List_enqueueHead", handle, elem); */
GT_assert (curTrace, (handle != NULL));
GT_assert (curTrace, (elem != NULL));
@@ -891,7 +891,7 @@ List_enqueueHead (List_Handle handle, List_Elem * elem)
}
#endif /* if !defined(IPC_BUILD_OPTIMIZE) */
- GT_0trace (curTrace, GT_LEAVE, "List_enqueueHead");
+/* GT_0trace (curTrace, GT_LEAVE, "List_enqueueHead"); */
}