diff options
author | Patrick Williams <iawillia@us.ibm.com> | 2012-12-06 11:45:58 -0600 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2012-12-14 11:25:05 -0600 |
commit | 3e7277d17bdfa91ba4a1ce86f5b206ebe3ee2630 (patch) | |
tree | 2bab97dc5ed7b333193a77ffb4f20ae902482ba1 /src/usr/trace/debug.H | |
parent | 950ddd853b2044956d82d17ae67bfe222e49fded (diff) | |
download | talos-hostboot-3e7277d17bdfa91ba4a1ce86f5b206ebe3ee2630.tar.gz talos-hostboot-3e7277d17bdfa91ba4a1ce86f5b206ebe3ee2630.zip |
ContTrace tool updates for new trace design.
Change-Id: I424ee37b29bf762b8f6a8be73ebbc2f19ba914aa
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2585
Tested-by: Jenkins Server
Reviewed-by: Mark W. Wenning <wenning@us.ibm.com>
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/trace/debug.H')
-rw-r--r-- | src/usr/trace/debug.H | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/src/usr/trace/debug.H b/src/usr/trace/debug.H new file mode 100644 index 000000000..c9a14f91e --- /dev/null +++ b/src/usr/trace/debug.H @@ -0,0 +1,53 @@ +/* IBM_PROLOG_BEGIN_TAG */ +/* This is an automatically generated prolog. */ +/* */ +/* $Source: src/usr/trace/debug.H $ */ +/* */ +/* IBM CONFIDENTIAL */ +/* */ +/* COPYRIGHT International Business Machines Corp. 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 */ +#ifndef __TRACE_DEBUG_H +#define __TRACE_DEBUG_H + +#include <stdint.h> + +namespace TRACE +{ + /** @struct DebugSettings + * + * Settings and values used by the debug tools to interact with the + * trace component. + */ + struct DebugSettings + { + // Continuous Trace: + /** Override of attribute setting. + * 0 - Use attribute (default). + * 1 - Force Disable + * 2 - Force Enable + */ + uint8_t contTraceOverride; + /** Size of continuous trace buffer. */ + uint16_t bufferSize; + /** Pointer to continuous trace buffer. */ + void* bufferPage; + }; + + extern DebugSettings g_debugSettings; +} + +#endif |