diff options
author | Patrick Williams <iawillia@us.ibm.com> | 2012-12-15 17:35:16 -0600 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2012-12-15 19:41:40 -0600 |
commit | 26b2cdf9b47f70f5df78ed96c9ffbd855fc66220 (patch) | |
tree | 64327eb712212bf8977632ea92b693b1d7bcf79a /src/usr/trace | |
parent | 96e9ad8a27db09971911c6b5b2fe3e36d8208243 (diff) | |
download | talos-hostboot-26b2cdf9b47f70f5df78ed96c9ffbd855fc66220.tar.gz talos-hostboot-26b2cdf9b47f70f5df78ed96c9ffbd855fc66220.zip |
Move continuous trace attribute.
FSP team wanted to have the ability to write the attribute that
configures continuous trace. Created a new non-volatile r/w
attribute that allows FSP to configure function in HB.
Change-Id: I76784c0f97c1b8ed01aa404c9394975a6fe80e6d
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2724
Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com>
Tested-by: Jenkins Server
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/trace')
-rw-r--r-- | src/usr/trace/daemon/daemon.C | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/usr/trace/daemon/daemon.C b/src/usr/trace/daemon/daemon.C index fd426933a..9f5a856fb 100644 --- a/src/usr/trace/daemon/daemon.C +++ b/src/usr/trace/daemon/daemon.C @@ -325,9 +325,11 @@ namespace TRACEDAEMON TARGETING::SpFunctions spFunctions = sys->getAttr<TARGETING::ATTR_SP_FUNCTIONS>(); + TARGETING::HbSettings hbSettings = + sys->getAttr<TARGETING::ATTR_HB_SETTINGS>(); // Determine if continuous trace is currently enabled. - bool contEnabled = spFunctions.traceContinuous; + bool contEnabled = hbSettings.traceContinuous; if (g_debugSettings.contTraceOverride != 0) { contEnabled = (g_debugSettings.contTraceOverride == 2); |