diff options
author | Patrick Williams <iawillia@us.ibm.com> | 2012-11-05 10:01:43 -0600 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2012-12-14 11:22:43 -0600 |
commit | 72c7d197703ed889940358611d8164d176af7c65 (patch) | |
tree | b261c98da63bfeb2e41b79fee4e7b2bc0c062684 /src/usr/trace | |
parent | 468f784bbdb2176387a4f1f9ad3f0b10d15ad918 (diff) | |
download | talos-hostboot-72c7d197703ed889940358611d8164d176af7c65.tar.gz talos-hostboot-72c7d197703ed889940358611d8164d176af7c65.zip |
Move components to slow-buffer as appropriate
Change-Id: Ife675112b7522a03e1e44d838e7af8fdd1af5b56
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2521
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Tested-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/trace')
-rw-r--r-- | src/usr/trace/assert.C | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/src/usr/trace/assert.C b/src/usr/trace/assert.C index c08378392..35510ea93 100644 --- a/src/usr/trace/assert.C +++ b/src/usr/trace/assert.C @@ -1,25 +1,25 @@ -// IBM_PROLOG_BEGIN_TAG -// This is an automatically generated prolog. -// -// $Source: src/usr/trace/assert.C $ -// -// IBM CONFIDENTIAL -// -// COPYRIGHT International Business Machines Corp. 2011 -// -// p1 -// -// Object Code Only (OCO) source materials -// Licensed Internal Code Source Materials -// IBM HostBoot Licensed Internal Code -// -// The source code for this program is not published or other- -// wise divested of its trade secrets, irrespective of what has -// been deposited with the U.S. Copyright Office. -// -// Origin: 30 -// -// IBM_PROLOG_END +/* IBM_PROLOG_BEGIN_TAG */ +/* This is an automatically generated prolog. */ +/* */ +/* $Source: src/usr/trace/assert.C $ */ +/* */ +/* IBM CONFIDENTIAL */ +/* */ +/* COPYRIGHT International Business Machines Corp. 2011,2012 */ +/* */ +/* p1 */ +/* */ +/* Object Code Only (OCO) source materials */ +/* Licensed Internal Code Source Materials */ +/* IBM HostBoot Licensed Internal Code */ +/* */ +/* The source code for this program is not published or otherwise */ +/* divested of its trade secrets, irrespective of what has been */ +/* deposited with the U.S. Copyright Office. */ +/* */ +/* Origin: 30 */ +/* */ +/* IBM_PROLOG_END_TAG */ /** @file assert.C * Hooks for dealing with trace in assert statements. * @@ -34,8 +34,8 @@ namespace TRACE { /** Unique trace buffer for assert statements. */ trace_desc_t* g_assertTraceBuffer; - TRAC_INIT(&g_assertTraceBuffer, "ASSERT", 4096); - + TRAC_INIT(&g_assertTraceBuffer, "ASSERT", 4096, TRACE::BUFFER_SLOW); + /** @fn assertTrace * @brief Hook to perform a trace on an assert failure. * @@ -45,7 +45,7 @@ namespace TRACE void assertTrace(void* i_linkRegister, size_t i_lineNumber) { TRACFCOMP(g_assertTraceBuffer, - "Assertion failed @%p on line %d.", + "Assertion failed @%p on line %d.", i_linkRegister, i_lineNumber); } |