summaryrefslogtreecommitdiffstats
path: root/src/usr/trace
diff options
context:
space:
mode:
authorPatrick Williams <iawillia@us.ibm.com>2012-11-05 10:23:25 -0600
committerA. Patrick Williams III <iawillia@us.ibm.com>2012-12-14 11:24:36 -0600
commit950ddd853b2044956d82d17ae67bfe222e49fded (patch)
tree8e5ce7943e61099ecb5b86828f706ecd6fa672d3 /src/usr/trace
parent72c7d197703ed889940358611d8164d176af7c65 (diff)
downloadtalos-hostboot-950ddd853b2044956d82d17ae67bfe222e49fded.tar.gz
talos-hostboot-950ddd853b2044956d82d17ae67bfe222e49fded.zip
Reduce trace buffer sizes.
Change-Id: I13a80f814fd13a30315320c0b0c7374f39c3ecc2 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2522 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.C3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/usr/trace/assert.C b/src/usr/trace/assert.C
index 35510ea93..d1d909b02 100644
--- a/src/usr/trace/assert.C
+++ b/src/usr/trace/assert.C
@@ -29,12 +29,13 @@
*/
#include <assert.h>
#include <trace/interface.H>
+#include <limits.h>
namespace TRACE
{
/** Unique trace buffer for assert statements. */
trace_desc_t* g_assertTraceBuffer;
- TRAC_INIT(&g_assertTraceBuffer, "ASSERT", 4096, TRACE::BUFFER_SLOW);
+ TRAC_INIT(&g_assertTraceBuffer, "ASSERT", KILOBYTE, TRACE::BUFFER_SLOW);
/** @fn assertTrace
* @brief Hook to perform a trace on an assert failure.
OpenPOWER on IntegriCloud