diff options
| author | Dean Sanner <dsanner@us.ibm.com> | 2016-05-15 12:03:54 -0500 |
|---|---|---|
| committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2016-06-24 10:56:44 -0400 |
| commit | aa513a3a39202bcbc5294cd1ef6618ecbe151bf8 (patch) | |
| tree | 03a13ac3ed32fe5d30027a25e1033912f5698cc0 /src/usr/trace/daemon/daemon.H | |
| parent | 7e8f95823e071367bc17bb95113239324f06e5d5 (diff) | |
| download | talos-hostboot-aa513a3a39202bcbc5294cd1ef6618ecbe151bf8.tar.gz talos-hostboot-aa513a3a39202bcbc5294cd1ef6618ecbe151bf8.zip | |
FSPless continous tracing support
- Updated trace daemon to output trace buf addr, size to
mbox scratch 1, 2
- Moved enable disable of continous trace to "istep" control
- Updated istep tool to dump traces to file and commandline
Change-Id: I2d9f48f5ed9878591ff9ab45fa18a98fc286ac1f
RTC:127346
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/24565
Tested-by: Jenkins Server
Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
Tested-by: FSP CI Jenkins
Reviewed-by: Prachi Gupta <pragupta@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/trace/daemon/daemon.H')
| -rw-r--r-- | src/usr/trace/daemon/daemon.H | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/usr/trace/daemon/daemon.H b/src/usr/trace/daemon/daemon.H index c84ad50bb..4c7f369d5 100644 --- a/src/usr/trace/daemon/daemon.H +++ b/src/usr/trace/daemon/daemon.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2012,2015 */ +/* Contributors Listed Below - COPYRIGHT 2012,2016 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -96,9 +96,11 @@ namespace TRACEDAEMON /** Locklessly move a trace entry from one location to another. */ void replaceEntry(TRACE::Entry* from, TRACE::Entry* to); - /** Write mailbox scratch register to a value. */ - void writeScratchReg(uint64_t i_value); - /** Read mailbox scratch register. */ + /** Write mailbox scratch 1 & 2 registers to a values. + * scratch 1 contains the trace buffer address + * scratch 2 contains the trace buffer size */ + void writeScratchReg(uint64_t i_value1, uint64_t i_value2); + /** Read mailbox scratch 1 register. */ uint64_t readScratchReg(); /** Client-service object. */ @@ -124,6 +126,7 @@ namespace TRACEDAEMON /** Address of scratch register. */ static const uint32_t MB_SCRATCH_REGISTER_1 = 0x00050038; + static const uint32_t MB_SCRATCH_REGISTER_2 = 0x00050039; }; |

