summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Crowell <dcrowell@us.ibm.com>2019-11-06 16:25:17 -0600
committerNicholas E Bofferding <bofferdn@us.ibm.com>2019-11-11 08:12:09 -0600
commit1f46cc39fc3e48914cc50ebfcdac462c1e67cf3c (patch)
tree3737074e8196f82f5b3071e2d21794b9247023fd
parent95bb7028eab0224dddf86f00540a7ee5a84808dc (diff)
downloadtalos-hostboot-1f46cc39fc3e48914cc50ebfcdac462c1e67cf3c.tar.gz
talos-hostboot-1f46cc39fc3e48914cc50ebfcdac462c1e67cf3c.zip
Increase size of default printk buffer in error logs
Recent changes to add more data to our exception path have made the printk output we get in our error logs less useful than it should be. It currently takes at minimum 1076 bytes for a single exception. That number would increase if the backtrace got very large. This change resizes the buffer to allow for 17 stack frames within a single exception (1280 bytes). Change-Id: I029283ee39877c3ace812fd85c0fbc26cdecf230 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/86596 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Matt Derksen <mderkse1@us.ibm.com> Reviewed-by: Zachary Clark <zach@ibm.com> Reviewed-by: Nicholas E Bofferding <bofferdn@us.ibm.com>
-rw-r--r--src/include/usr/errl/errludprintk.H6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/include/usr/errl/errludprintk.H b/src/include/usr/errl/errludprintk.H
index 4d304ff46..629716e68 100644
--- a/src/include/usr/errl/errludprintk.H
+++ b/src/include/usr/errl/errludprintk.H
@@ -5,7 +5,9 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* COPYRIGHT International Business Machines Corp. 2014 */
+/* Contributors Listed Below - COPYRIGHT 2014,2019 */
+/* [+] International Business Machines Corp. */
+/* */
/* */
/* Licensed under the Apache License, Version 2.0 (the "License"); */
/* you may not use this file except in compliance with the License. */
@@ -39,7 +41,7 @@ namespace ERRORLOG
class ErrlUserDetailsPrintk : public ErrlUserDetails
{
public:
- enum { DEFAULT_SIZE_BYTES = 256 };
+ enum { DEFAULT_SIZE_BYTES = 1280 };
/** @brief Constructor
*
OpenPOWER on IntegriCloud