summaryrefslogtreecommitdiffstats
path: root/src/usr
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr')
-rw-r--r--src/usr/errl/errlmanager.C5
-rw-r--r--src/usr/trace/daemon/daemon.C7
-rw-r--r--src/usr/trace/service.C7
3 files changed, 17 insertions, 2 deletions
diff --git a/src/usr/errl/errlmanager.C b/src/usr/errl/errlmanager.C
index 4476640f7..d3dd871aa 100644
--- a/src/usr/errl/errlmanager.C
+++ b/src/usr/errl/errlmanager.C
@@ -54,6 +54,7 @@
#include <functional>
#include <hwas/common/deconfigGard.H>
#include <kernel/terminate.H>
+#include <debugpointers.H>
namespace ERRORLOG
{
@@ -153,6 +154,10 @@ ErrlManager::ErrlManager() :
l_pMarker->length = 0;
#endif
+ DEBUG::add_debug_pointer(DEBUG::ERRORLOGS,
+ &g_ErrlStorage,
+ 4);
+
// to determine the starting log ID, we need to do this in 2 steps
// first, determine our node
// BYTE 0 of the PLID is the ID: 0x9# where # is the node instance.
diff --git a/src/usr/trace/daemon/daemon.C b/src/usr/trace/daemon/daemon.C
index a7e895b0a..8ebb24e74 100644
--- a/src/usr/trace/daemon/daemon.C
+++ b/src/usr/trace/daemon/daemon.C
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2012,2017 */
+/* Contributors Listed Below - COPYRIGHT 2012,2018 */
/* [+] Google Inc. */
/* [+] International Business Machines Corp. */
/* */
@@ -50,6 +50,7 @@
#include <config.h>
#include <console/consoleif.H>
#include <util/utilmbox_scratch.H>
+#include <debugpointers.H>
namespace TRACE
{
@@ -75,6 +76,10 @@ namespace TRACEDAEMON
Daemon::Daemon() : iv_service(NULL), iv_totalPruned(0)
{
iv_first = iv_last = BufferPage::allocate(true);
+
+ DEBUG::add_debug_pointer(DEBUG::TRACEDAEMON,
+ this,
+ sizeof(TRACEDAEMON::Daemon));
}
Daemon::~Daemon()
diff --git a/src/usr/trace/service.C b/src/usr/trace/service.C
index a3445c2ee..260f71e2b 100644
--- a/src/usr/trace/service.C
+++ b/src/usr/trace/service.C
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2012,2016 */
+/* Contributors Listed Below - COPYRIGHT 2012,2018 */
/* [+] Google Inc. */
/* [+] International Business Machines Corp. */
/* */
@@ -42,6 +42,7 @@
#include <stdio.h>
#include <ctype.h>
#include <util/sprintf.H>
+#include <debugpointers.H>
namespace TRACE
@@ -55,6 +56,10 @@ namespace TRACE
// initialize tracelite setting to off
iv_traceLite = 0;
+
+ DEBUG::add_debug_pointer(DEBUG::TRACESERVICE,
+ this,
+ sizeof(TRACE::Service));
}
Service::~Service()
OpenPOWER on IntegriCloud