diff -r a179b74831c9 -r c1f20ce4abcf kernel/eka/drivers/usbcc/queue.cpp --- a/kernel/eka/drivers/usbcc/queue.cpp Thu Aug 19 11:14:22 2010 +0300 +++ b/kernel/eka/drivers/usbcc/queue.cpp Tue Aug 31 16:34:26 2010 +0300 @@ -1,4 +1,4 @@ -// Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies). +// Copyright (c) 2002-2010 Nokia Corporation and/or its subsidiary(-ies). // All rights reserved. // This component and the accompanying materials are made available // under the terms of the License "Eclipse Public License v1.0" @@ -23,6 +23,11 @@ */ #include +#include "OstTraceDefinitions.h" +#ifdef OST_TRACE_COMPILER_IN_USE +#include "queueTraces.h" +#endif + void TSglQueLink::Enque(TSglQueLink* aLink) @@ -86,7 +91,8 @@ pN = pP->iNext; } // This doesn't have to indicate an error (but might): - __KTRACE_OPT(KPANIC, Kern::Printf("TSglQueBase::DoRemove: ESQueLinkNotQueued")); + OstTraceDef0( OST_TRACE_CATEGORY_RND, TRACE_FATAL, TSGLQUEBASE_DOREMOVE, + "TSglQueBase::DoRemove: ESQueLinkNotQueued" ); }