summaryrefslogtreecommitdiffstats
path: root/src/usr/trace
Commit message (Collapse)AuthorAgeFilesLines
* Increase trace buffer size to avoid hang between traces and PRDDan Crowell2017-12-201-1/+1
| | | | | | | | | Increase the size of the IPL buffer Change-Id: I0e62e1b4b2a636ad30d714e8607dbd53aef8fb78 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/51194 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Increase trace buffer size to avoid hang between traces and PRD.Matt Derksen2017-12-191-1/+1
| | | | | | | | | | Change-Id: I5e36ae25adda19bc3a6d6bfc7c5abacaf4320482 CQ: SW407513 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/51102 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> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Log traces to error logs in HBRTMatt Derksen2017-10-199-24/+1049
| | | | | | | | | | | | | | | | This enables buffer tracing at hostboot runtime. Will add these traces to runtime errors for better debug Change-Id: I795bb7deafdd02adea4588ebf8dfb11cbce116a0 RTC:172770 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/48084 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@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: Martin Gloff <mgloff@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Ensure AbaPtr is not used in runtime codeDan Crowell2017-10-191-1/+2
| | | | | | | | | | | | | | | | | The AbaPtr makes assumptions that we have pointer values that are only 32-bits long. In our runtime (HBRT) environment that assumption is not true so we need to make sure none of the code that runs there is trying to use the AbaPtr code. Change-Id: I0a26558f305fada723bf3cb3447a2bdfddb194d0 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/48248 Reviewed-by: Martin Gloff <mgloff@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Matt Derksen <mderkse1@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>
* Allow Cronus to use debugComm on FSP based systemsDean Sanner2016-10-053-20/+33
| | | | | | | | | | | | | -Pass down HRMOR adjusted addr -Provide unique continous trace enable for debugComm Change-Id: I214a6b2e0113ce19b8813e7d4902de4b42b23d11 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30178 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: Corey V. Swenson <cswenson@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
* Convert FAPI_DBG into TRACSCOMP tracesLateef Quraishi2016-08-301-1/+14
| | | | | | | | | | | Change-Id: I98a39b15ce37e48af910dd9801fc7f6c305177ed RTC: 159352 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/28684 Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Matthew A. Ploetz <maploetz@us.ibm.com>
* Utility functions for mbox scratch reg accessDean Sanner2016-08-172-60/+7
| | | | | | | | | | | Change-Id: If262e891934b5228ea1fa9081a0c85a40a52036d RTC:127348 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/26346 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Corey V. Swenson <cswenson@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
* FSPless continous tracing supportDean Sanner2016-06-247-13/+79
| | | | | | | | | | | | | | | | - 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-172-3/+16
| | | | | | | | | | | | | | | | | | | 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-103-2/+130
| | | | | | | | | | | | | | | | | | | | 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-212-1/+17
| | | | | | | | | | | | | | | | | 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>
* Implement a lockfree ABA-safe smart pointer.Patrick Williams2015-04-241-6/+9
| | | | | | | | | | | | | | | | * Use algorithm from lockfree stack as basis. * Convert lockfree stack to use new ABA-safe pointer. * Convert trace service to use ABA-safe pointers on client buffer pages to resolve futex hang due to page reuse. Change-Id: Ib6645f2281db8fa5d81103c1753e548976615797 CQ: FW633818 Backport: release-fips830 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/16042 Tested-by: Jenkins Server Reviewed-by: Brian Silver <bsilver@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@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-226-16/+48
| | | | | | | | | | 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>
* Fix spelling mistakes using codespell.Patrick Williams2015-01-154-25/+31
| | | | | | | | | | | | - See https://github.com/lucasdemarchi/codespell Change-Id: I03e102d1ebb9473b6226fa9b6edb684fa0218a2f Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/15031 Tested-by: Jenkins Server Reviewed-by: STEPHEN M. CPREK <smcprek@us.ibm.com> Reviewed-by: Zane Shelley <zshelle@us.ibm.com> Reviewed-by: Brian Silver <bsilver@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Support AST2400 Console.Patrick Williams2014-09-241-1/+1
| | | | | | | | Change-Id: Iaf2da65e0a965001c7387b86daa2990934e7dbb9 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/13251 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Support for serial console.Patrick Williams2014-09-244-2/+120
| | | | | | | | | | 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>
* Throttle mailbox operations to avoid out-of-memory conditionDoug Gilbert2014-08-121-4/+7
| | | | | | | | | | Change-Id: I18f13ec742efe196e6a2bc3714051e2489567158 RTC: 102852 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/11586 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Corey V. Swenson <cswenson@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Send final async message for trace extract buf.Patrick Williams2014-08-061-1/+6
| | | | | | | | Change-Id: I677463ef481e4cd7fd616f5be5e49c0d4cea3b8a Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/12638 Tested-by: Jenkins Server Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Change copyright prolog for all files to Apache.Patrick Williams2014-05-2125-272/+272
| | | | | | | 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>
* Update makefiles & included .mk files to use += convention.Brian Silver2014-05-213-8/+20
| | | | | | | | Change-Id: I4148bc4c770b7c3c10fe25aa18d57d1a4301e5a9 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/11194 Tested-by: Jenkins Server Reviewed-by: Christopher T. Phan <cphan@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Trace race condition causes deadlock.Patrick Williams2014-05-211-4/+11
| | | | | | | | | | | | | | | | | | | | | | In some cases where the trace daemon is coalescing trace at the exact instant that a thread is creating a trace entry we can end up in a deadlock. The daemon is in the process of moving a trace entry from one page to another and updates some pointers in the trace linked list. The daemon then pauses for all of the trace producers to finish their transactions before updating the component buffer's pointers. At this point, the producer can use data that is in a half-updated state and deadlock. The solution is to have the producer cache state data during the life of its transaction. Change-Id: Ic7d031abb03f24e47cf4903400ef5f0e7520ee68 CQ: SW261995 Backport: release-fips811 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/11149 Tested-by: Jenkins Server Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com> 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>
* Clean up beam errors in core.Patrick Williams2014-02-273-6/+7
| | | | | | | | | | Change-Id: I695a38ae88583a052cae19b930eb53171f8fab2b RTC:94993 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/9050 Tested-by: Jenkins Server Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: Michael Baiocchi <baiocchi@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Potential buffer overrun in trace collection.Patrick Williams2014-01-151-1/+5
| | | | | | | | | Change-Id: I8352c37f3789c684df24b75e85abca9fddfa314f Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/8054 Tested-by: Jenkins Server Reviewed-by: Michael Baiocchi <baiocchi@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Race condition in trace leads to double-delete.Patrick Williams2013-11-152-22/+19
| | | | | | | | | Change-Id: I4fc4acc8f84de151d1d9600802539c18c6aa7851 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/7277 Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Thi N. Tran <thi@us.ibm.com> Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Split "SPless" from mailbox for Cronus control of HBDean Sanner2013-10-101-3/+1
| | | | | | | Change-Id: Ifc44ca2f54bc61163f797b8020ffdd7bf9cc3240 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/6424 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Runtime trace interfaces.Patrick Williams2013-10-084-7/+120
| | | | | | | | | | 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>
* Initial Hostboot Runtime image support.Patrick Williams2013-09-175-3/+133
| | | | | | | | RTC: 76675 Change-Id: Ibd21cf5b555e6dcee182a2f1a292b47d4f384ba0 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/6127 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Eliminate tracepp!Patrick Williams2013-07-121-3/+3
| | | | | | | | | Change-Id: I67a7d626c81b0b90e25057c486d490e6e2b5aede Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/5132 Tested-by: Jenkins Server Reviewed-by: Zane Shelley <zshelle@us.ibm.com> Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Run latest version of BEAM against Hostboot codeMark Wenning2013-05-081-1/+5
| | | | | | | | | Change-Id: I0517e3918039de9fac773baec345fefda13eb3c0 RTC: 66143 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/3819 Tested-by: Jenkins Server Reviewed-by: Mark W. Wenning <wenning@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Race condition in extract-trace.Patrick Williams2013-05-011-4/+5
| | | | | | | | Change-Id: If1445116f7520e010cad74d9f7227ae7889ef935 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/4254 Tested-by: Jenkins Server Reviewed-by: Dean Sanner <dsanner@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Fix strict-aliasing violations.Patrick Williams2013-04-171-6/+9
| | | | | | | | | Change-Id: I5f3feae4fb62ed82b52e996d4954d1c638a243b3 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/4036 Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Tested-by: Jenkins Server Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* ERRL: Create Hostboot error log SRC/UD parser and deliver to FSP bldMike Jones2013-02-081-6/+6
| | | | | | | | | | | | | | A new script called genErrlParsers will scan the Hostboot code for error log tags and create a SRC parser for each component. The script will also scan the Hostboot code for plugin directories containing User Detail Data parsers and will create a makefile that is used by the FSP to build each component's SRC/UD parser. Change-Id: I7113f6cd8069447a1caaa199aff199b663d59072 RTC: 47518 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2975 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* TRACS override attribute for SCAN traces.Patrick Williams2013-01-022-4/+21
| | | | | | | | | 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-178-23/+281
| | | | | | | | | 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>
* Move continuous trace attribute.Patrick Williams2012-12-151-1/+3
| | | | | | | | | | | | 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>
* ContTrace tool updates for new trace design.Patrick Williams2012-12-144-2/+97
| | | | | | | | 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>
* Reduce trace buffer sizes.Patrick Williams2012-12-141-1/+2
| | | | | | | Change-Id: I13a80f814fd13a30315320c0b0c7374f39c3ecc2 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2522 Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Tested-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Move components to slow-buffer as appropriatePatrick Williams2012-12-141-25/+25
| | | | | | | Change-Id: Ife675112b7522a03e1e44d838e7af8fdd1af5b56 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2521 Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Tested-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Lockless trace implementationPatrick Williams2012-12-1425-2243/+2971
| | | | | | | | | 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>
* Memory Leak task_endBill Schwartz2012-10-122-48/+48
| | | | | | | | Change-Id: Idb7a2d8d72a55f644efd0b2548eca5df5d062e6d RTC: 47491 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2011 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Trace: Remove extraneous va_end()CamVan Nguyen2012-09-161-2/+0
| | | | | | | | | Change-Id: Ia9b856252b00c5294b1891133bef24d502809c89 RTC: 35514 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1714 Tested-by: Jenkins Server Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Avoid malloc(0) in trace.Patrick Williams2012-08-291-28/+34
| | | | | | | | | | | | | 2% of our calls to malloc / free were of size 0 by trace when someone makes a call to trace that has no extra data (ie. just the string). Change-Id: Ifd1e7f5c843f54bc6563ae4acac18faa876be13c Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1580 Tested-by: Jenkins Server Reviewed-by: Van H. Lee <vanlee@us.ibm.com> Reviewed-by: CAMVAN T. NGUYEN <ctnguyen@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Maintain correct sequence number of the two continuous buffers under VPOVan Lee2012-07-281-24/+43
| | | | | | | | | | | - Also add public function to flush continuous buffers under simics Change-Id: I913e817cf3a4fd4dd88482c8e53a34873081295b Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1428 Tested-by: Jenkins Server Reviewed-by: Mark W. Wenning <wenning@us.ibm.com> Reviewed-by: CAMVAN T. NGUYEN <ctnguyen@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Fix continuous trace function losing traces in high traffic condition.Van Lee2012-05-044-25/+327
| | | | | | | | Change-Id: I9444e222e89e44017bf3039a09ecb28e9409a389 RTC: 39164 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/917 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Code optimizations.Patrick Williams2012-04-161-1445/+1446
| | | | | | | | | | | | | | - Reduce DCBZ and ICBI calls in memory copy and init functions. - Reduce strlen calls in trace. - Set thread to low priority while waiting on in-kernel barrier. Change-Id: Ic9c23b1e26797ff393e5862819830de60554747e Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/871 Tested-by: Jenkins Server Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* VPO continuous trace support for VBU (AWAN) execution environemtVan Lee2012-03-031-34/+136
| | | | | | | | Change-Id: Ib304cb0e203e4a4b69a07e824cb88581462463e2 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/687 Tested-by: Jenkins Server Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Fix a deadlock in trace.Patrick Williams2012-02-081-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | This is actually a workaround and based on the symptom I believe there are many other hazards in the trace code. What happened here is that a task caused a page-fault in the trace code while holding the trace mutex. This prevented code like the PNOR resource provider from being able to execute traces, which deadlocked all code. There are similar deadlock hazards in the binary and %s handling of trace. We need to revisit trace to ensure that it can never cause a page-fault while holding the global mutex. We talked recently about revamping trace entirely, so this is just one more design item to consider. Change-Id: I28e32d2d79cf419a7a7eb680627e79a88bc6a5a7 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/649 Reviewed-by: Mark W. Wenning <wenning@us.ibm.com> Reviewed-by: CAMVAN T. NGUYEN <ctnguyen@us.ibm.com> Tested-by: Jenkins Server Reviewed-by: Van H. Lee <vanlee@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Trace macro to clear all component trace buffers.Monte Copeland2012-02-071-1305/+1335
| | | | | | | | | Change-Id: I938d142b40cce23aae0d6408c915a58cdd47d83e Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/631 Tested-by: Jenkins Server Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com> Reviewed-by: Mark W. Wenning <wenning@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
OpenPOWER on IntegriCloud