summaryrefslogtreecommitdiffstats
path: root/src/usr/trace/service.C
Commit message (Collapse)AuthorAgeFilesLines
* Automatically include config.hDan Crowell2019-12-061-2/+1
| | | | | | | | | | | | | | | | | | Rather than having to remember to include config.h anywhere we reference a CONFIG variable (and usually forgetting), this adds it to the default compiler flags so that it gets included in every source file we build. Change-Id: I53622ab4d46c55d942e98cae6ec03049fd5b3d08 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/87475 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: Zachary Clark <zach@ibm.com> Reviewed-by: Roland Veloz <rveloz@us.ibm.com> Reviewed-by: Christian R Geddes <crgeddes@us.ibm.com> Reviewed-by: Nicholas E Bofferding <bofferdn@us.ibm.com>
* Add thread ID into trace_lite tracesMatt Derksen2018-09-181-2/+10
| | | | | | | | | | | | | | | Nice to have this in traces to help figure out some failures. Change-Id: Id4d5dfc2f89628d6fbaadd3ba418dadccdb0e5d3 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/66017 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: Corey V. Swenson <cswenson@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Modify debug framework to be build-independentDan Crowell2018-06-261-1/+6
| | | | | | | | | | | | | | | | | During boot, Hostboot will push key pointers into memory. This allows the debug tools to find the pointers (using a known static memory address) to base memory accesses on. This replaces the existing symbol lookup that we use now. That means we don't need to have the exact symbol file for the build we're debugging against. Change-Id: I4618e15a3dc90acc3a89520a502eb818c1b4258c Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/56097 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: Daniel M. Crowell <dcrowell@us.ibm.com>
* FSPless continous tracing supportDean Sanner2016-06-241-0/+10
| | | | | | | | | | | | | | | | - 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>
* Workarounds for reducing IPL time with trace-liteJay Azurin2016-05-171-3/+11
| | | | | | | | | | | | | | | | | | | Increase the watchdog timeout value to prevent watchdog resets when running with trace-lite enabled. Add option to exclude FAPI trace component to reduce IPL time Change-Id: I577bf775461e3ae256b48a9eb5d4bbdee6deae49 CQ: SW352263 ForwardPort: yes Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/24482 Tested-by: Jenkins Server Reviewed-by: Marshall J. Wilks <mjwilks@us.ibm.com> Reviewed-by: Elizabeth K. Liner <eliner@us.ibm.com> Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Tested-by: FSP CI Jenkins Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/24601
* Output native trace data to consoleJaymes Wilks2016-05-101-1/+110
| | | | | | | | | | | | | | | | | | | | Trace data is printed as ascii hex values to console when turned on. Traces can now be recreated using a command line tool and the hbotStringFile. Change-Id: I8e8a95945002a9acbe555d1e75482d289c7ef8fa BackPort: no RTC:143820 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/21593 Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Reviewed-by: Stephen M. Cprek <smcprek@us.ibm.com> Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Reviewed-by: Elizabeth K. Liner <eliner@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/24218 Reviewed-by: Jay M. Azurin <jmazurin@us.ibm.com>
* Improve Limit Console Output Trace To Single ComponentMike Baiocchi2015-08-261-1/+6
| | | | | | | | | | | | | | | | This commit also removes TRACFBIN calls from being displayed on the console when a single component has been selected with CONFIG_CONSOLE_OUTPUT_TRACE_COMP_NAME. Change-Id: I9a83becff238f19d82baf5aed10d3388106d39f8 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/20059 Tested-by: Jenkins Server Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Tested-by: FSP CI Jenkins Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: WILLIAM G. HOFFA <wghoffa@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Option to Limit Console Output Trace To Single ComponentMike Baiocchi2015-08-211-1/+9
| | | | | | | | | | | | | | | | | This commit limits the console output trace to a single component, as defined by the config file. CONSOLE_OUTPUT_TRACE needs to be set and CONSOLE_OUTPUT_TRACE_COMP_NAME needs to have a string value assigned to it in the config file. Change-Id: Ia04b61f3b7b0dcad7a907b86cf8db70a35214ab1 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/19820 Reviewed-by: WILLIAM G. HOFFA <wghoffa@us.ibm.com> Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Fixed strlen exception caused by an extra string interpretationElizabeth Liner2015-05-011-1/+1
| | | | | | | | | Change-Id: I44905323854339e7169a493285077de7909a0722 RTC:124618 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/17510 Tested-by: Jenkins Server Reviewed-by: ANDRES A. LUGO-REYES <aalugore@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Data streaming from a hw procedure - simple solution to consoleAndrew Geissler2015-01-221-1/+1
| | | | | | | | | | Change-Id: Icbf4b70acbe3909211294be9f0faed338763fc55 RTC: 34190 CMVC-Prereq: 949573 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/14799 Tested-by: Jenkins Server Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Support for serial console.Patrick Williams2014-09-241-1/+96
| | | | | | | | | | Change-Id: Ia1b11f68cc4be175076562b7daf0291b14df498b Origin: Google Shared Technology RTC: 97495 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/13250 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Change copyright prolog for all files to Apache.Patrick Williams2014-05-211-11/+11
| | | | | | | Change-Id: I5664587b4f889099290ef50d50fa9ce5e580e1eb Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/11167 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Runtime trace interfaces.Patrick Williams2013-10-081-0/+1
| | | | | | | | | | Change-Id: Ie261eba4bd790150d520bb0261f56c8329cb6a80 RTC: 79420 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/6400 Tested-by: Jenkins Server Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* TRACS override attribute for SCAN traces.Patrick Williams2013-01-021-3/+3
| | | | | | | | | Change-Id: Ia2bd15babe8ad7bd25293e72a7285c0a278b89c2 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2792 Reviewed-by: ADAM R. MUHLE <armuhle@us.ibm.com> Tested-by: Jenkins Server Reviewed-by: Dean Sanner <dsanner@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Support Trace messages for FSP.Patrick Williams2012-12-171-2/+23
| | | | | | | | | RTC: 35396 Change-Id: I0a8dddc6198d82b10780e897a284575a317862ba Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2648 Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com> Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Lockless trace implementationPatrick Williams2012-12-141-0/+271
RTC: 35396 Change-Id: I96ea0d95606f04abb4dc2b0470345ca475b53912 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2520 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
OpenPOWER on IntegriCloud