summaryrefslogtreecommitdiffstats
path: root/src/include/usr/trace
Commit message (Collapse)AuthorAgeFilesLines
* FSPless continous tracing supportDean Sanner2016-06-241-0/+13
| | | | | | | | | | | | | | | | - 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>
* Output native trace data to consoleJaymes Wilks2016-05-101-1/+13
| | | | | | | | | | | | | | | | | | | | 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>
* Fixed strlen exception caused by an extra string interpretationElizabeth Liner2015-05-012-11/+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>
* Cap off the TRACFBIN such that nothing exceeds 64 bytesElizabeth Liner2015-04-022-5/+15
| | | | | | | | Change-Id: If8f08d1602b4437aa0e72e6d2e8d99ca615a2c77 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/16762 Tested-by: Jenkins Server Reviewed-by: Brian H. Horton <brianh@linux.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/+7
| | | | | | | | | | 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-151-2/+2
| | | | | | | | | | | | - 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>
* Debug Build BrokenJosh Rispoli2014-07-162-2/+6
| | | | | | | | | | | Changed updated variables Resolved syntactic compiler errors Change-Id: Ibf631dc342d44712d21f7b566fcaf8007c6580c5 RTC:93634 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/12019 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Change copyright prolog for all files to Apache.Patrick Williams2014-05-212-22/+22
| | | | | | | 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-082-4/+4
| | | | | | | | | | 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>
* Eliminate tracepp!Patrick Williams2013-07-122-25/+65
| | | | | | | | | 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/+18
| | | | | | | | | 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>
* Add 'SUPPRESS_UNUSED_VARIABLE' macro to avoid compiler warnings.Patrick Williams2013-04-181-2/+4
| | | | | | | Change-Id: Ic34fa1e141c1d75ea67933c02366016c732ac0c2 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/4038 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Support Trace messages for FSP.Patrick Williams2012-12-171-2/+2
| | | | | | | | | 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-142-369/+124
| | | | | | | | | 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>
* Maintain correct sequence number of the two continuous buffers under VPOVan Lee2012-07-281-22/+33
| | | | | | | | | | | - 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-041-13/+23
| | | | | | | | 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>
* VPO continuous trace support for VBU (AWAN) execution environemtVan Lee2012-03-031-0/+12
| | | | | | | | 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>
* Trace macro to clear all component trace buffers.Monte Copeland2012-02-072-3/+32
| | | | | | | | | 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>
* TracePP: Optional macro to add filename to trace.Patrick Williams2012-01-271-0/+2
| | | | | | | | Change-Id: Id0ba703e0f386a0d6021b870809cae01fd45b8c3 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/627 Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com> Tested-by: Jenkins Server Reviewed-by: CAMVAN T. NGUYEN <ctnguyen@us.ibm.com>
* Simics continuous traceMonte Copeland2012-01-111-2/+5
| | | | | | | | | Change-Id: I5f5d9c30b4cc0f0d8704fb99c10757e0f41018bf Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/603 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Reviewed-by: Mark W. Wenning <wenning@us.ibm.com> Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com>
* Configurable trace buffer sizes.Monte Copeland2011-12-091-6/+13
| | | | | | | Change-Id: I6b1616da00cc6f30b2e6bade5011a3a2869b4660 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/571 Tested-by: Jenkins Server Reviewed-by: Monte K. Copeland <copelanm@us.ibm.com>
* collectTrace to allow partial trace buffer collectionMonte Copeland2011-11-211-35/+28
| | | | | | | Change-Id: I06ce6df416f38c4619281180ea8515c90f8f2fab Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/498 Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Tested-by: Jenkins Server
* Error log changes for Sprint 6Monte Copeland2011-10-311-15/+33
| | | | | | | | Change-Id: I44ad678cfae8cd84e5370391dc7e20d74f59c9ca Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/449 Tested-by: Jenkins Server Reviewed-by: Mark W. Wenning <wenning@us.ibm.com> Reviewed-by: Monte K. Copeland <copelanm@us.ibm.com>
* Fixes to cxxtest, + add debug for traceMark Wenning2011-10-061-1/+1
| | | | | | | | | | | | - cxxtestgen.pl was counting the tests wrong (did not reset # tests between suites) - to be continued... Change-Id: Ic060bcaf38dee39a620b3bef7c651851547442dc Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/423 Tested-by: Jenkins Server Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com>
* Added %c and precision formatting support to trace.CamVan Nguyen2011-08-301-0/+39
| | | | | | | | | Added TRACSCOMP macros. Change-Id: If697b4d988a238b5cd06229853dded20bd0af3c1 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/286 Tested-by: Jenkins Server Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com>
* Add environment var to remove debug messages.Patrick Williams2011-08-241-1/+11
| | | | | | | | | | | | - Add printkd function. - Create HOSTBOOT_DEBUG env var for printk. - Update trace interfaces to utilize HOSTBOOT_DEBUG. - Fix compile errors due to unused variables. Change-Id: Ib18c3ecd51ca333e0118949bf35476e9c5aa46a7 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/273 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Add copyright headers to all source files.Patrick Williams2011-08-242-17/+44
| | | | | | | Change-Id: I205f2409e56032cfc0aaf01d7e26d357f0b86373 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/277 Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Tested-by: Jenkins Server
* Optimize trace singleton usageCamVan Nguyen2011-08-112-6/+46
| | | | | | | | Change-Id: I0f367b8cb8dd855e21a3d74a7f4a9b29ce7508de Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/247 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com>
* Add %s string formatting support to traceCamVan Nguyen2011-08-101-2/+1
| | | | | | | Change-Id: I14ea6717dfd8e98895345e86e32e82c637c26289 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/234 Tested-by: Jenkins Server Reviewed-by: CAMVAN T. NGUYEN <ctnguyen@us.ibm.com>
* Linker checks for multiple weak symbols.Patrick Williams2011-07-291-13/+8
| | | | | | | | | | | | Cause the linker to stop the build if the image has multiple instances of the same weak symbol. This is to prevent, for instance, two different instances of the same Singleton<Foo> from being created in two different modules. Change-Id: I0204e69f191d63451a53b1f99dd226c9996bbccb Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/217 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* RTC 3367, 3321 TS_FAIL and TS_WARN should send to trace buffer instead of printkMark Wenning2011-07-281-1/+3
| | | | | | | | | | | | | - first commit - add cxxtesttest.H unit test - comment out warn and fail from unit tests, leave for sandbox builds - make citest finishes OK - merge problems with gerrit Change-Id: Id9157837e1511eb1aebb13aeadd2286a8dce5eb3 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/210 Tested-by: Jenkins Server Reviewed-by: Mark W. Wenning <wenning@us.ibm.com>
* Cleanup from previous reviews, add barrier for CxxTestMark Wenning2011-07-251-14/+18
| | | | | | | | | | | | | | | | | - add IStep1 for demo - cleanup: remove inheritance, add errlog tags, etc. - inadvertently ran copyright script, this is OK. - more cleanup: indentation, etc. - add barrier for CxxTests - rename cxxtest_stub.C to cxxtest_data.C - merge problems on gerrit - fix review comments Change-Id: Iee988b8595d8c6dd521fd94d4d58cb403898d948 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/207 Tested-by: Jenkins Server Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Define additional trace macros.CamVan Nguyen2011-07-121-1/+42
| | | | | | | | Change-Id: Ife9c116413537ff39bc37db47515d1f955dfdcc8 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/161 Tested-by: Jenkins Server Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Initial futex supportdgilbert2011-06-171-1/+1
| | | | | | | | | Change-Id: I51a4f1117085ce23c7993c1a38e4124596636726 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/141 Tested-by: Jenkins Server Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Hide trace singleton within trace module.Patrick Williams2011-05-242-5/+9
| | | | | | | | Change-Id: I3d415ddf103f93833d8f2c5c4a0de2ef3efcd4e2 Reviewed-on: http://gfwr801.rchland.ibm.com:8080/gerrit/97 Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Tested-by: Jenkins Server
* Fix #include directive for trace/interfacePatrick Williams2011-05-201-1/+1
| | | | | | | Change-Id: I71a54e5a8382f193c2397d31f22bdd32496212de Reviewed-on: http://gfwr801.rchland.ibm.com:8080/gerrit/92 Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Tested-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Fixed doxygen tags within trace header file.Andrew Geissler2011-05-191-26/+26
| | | | | | | Change-Id: Iaf2640209bff21b64f35cd75153ffb86b5166c5b Reviewed-on: http://gfwr801.rchland.ibm.com:8080/gerrit/89 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Updated per trace code review comments.Andrew Geissler2011-05-182-132/+311
| | | | | | | | | | | - Fixed merge issue with src/makefile - Updated per second code review - Got trace tests up and running Change-Id: I932ac4eb6d2389e39ce5efb1dd2f5cfa97f7b70b Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com>
* Initial trace support for host bootAndrew Geissler2011-05-161-0/+350
Change-Id: Ib2450ae3d32549673ca8e1c814a7a11b5f1a0c09 Reviewed-on: http://gfwr801.rchland.ibm.com:8080/gerrit/69 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
OpenPOWER on IntegriCloud