diff options
author | Mike Baiocchi <baiocchi@us.ibm.com> | 2015-08-24 11:44:40 -0500 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2015-08-26 08:01:38 -0500 |
commit | fe3d547f27d891d84a1ce0376cdc431c6ccd28b3 (patch) | |
tree | ed38e0028958f14f84962f2117ae611900f48927 /src/usr/trace/service.C | |
parent | 102ee037ba001da14eaa754766130558c1e8a0e0 (diff) | |
download | talos-hostboot-fe3d547f27d891d84a1ce0376cdc431c6ccd28b3.tar.gz talos-hostboot-fe3d547f27d891d84a1ce0376cdc431c6ccd28b3.zip |
Improve Limit Console Output Trace To Single Component
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>
Diffstat (limited to 'src/usr/trace/service.C')
-rw-r--r-- | src/usr/trace/service.C | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/usr/trace/service.C b/src/usr/trace/service.C index 6606448c8..d2922b302 100644 --- a/src/usr/trace/service.C +++ b/src/usr/trace/service.C @@ -320,7 +320,12 @@ namespace TRACE } // Output full binary dump. - CONSOLE::displayf(i_td->iv_compName,"%s",output); + #ifdef CONFIG_CONSOLE_OUTPUT_TRACE_COMP_NAME + if ( !strcmp(i_td->iv_compName, + CONFIG_CONSOLE_OUTPUT_TRACE_COMP_NAME) ) + #endif + {CONSOLE::displayf(i_td->iv_compName,"%s",output);} + free(output); } |