Skip to content

Commit

Permalink
Make MCTP depth counter traces debug only
Browse files Browse the repository at this point in the history
These traces are triggering often and no longer provide
much value so remove from default tracing.

Change-Id: I2fe80cd0eb8d05b5736cfe612f94e7b618cb2d60
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/130737
Tested-by: Jenkins OP Build CI <[email protected]>
Tested-by: Jenkins Server <[email protected]>
Tested-by: Jenkins Combined Simics CI <[email protected]>
Tested-by: FSP CI Jenkins <[email protected]>
Tested-by: Jenkins OP HW <[email protected]>
Tested-by: Hostboot CI <[email protected]>
Reviewed-by: Chen Du <[email protected]>
Reviewed-by: Ilya Smirnov <[email protected]>
Reviewed-by: Daniel M Crowell <[email protected]>
  • Loading branch information
cvswen authored and dcrowell77 committed Apr 29, 2022
1 parent 01fcff2 commit d644508
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/usr/util/runtime/rt_fwreq_helper.C
Original file line number Diff line number Diff line change
Expand Up @@ -1048,7 +1048,7 @@ void setMctpBridgeState(hostInterfaces::MCTP_BRIDGE_STATE_t i_mctpBridgeState,
{
case hostInterfaces::MCTP_BRIDGE_ENABLED:
g_MctpDepthCounter++;
TRACFCOMP(g_trac_runtime,
TRACDCOMP(g_trac_runtime,
"Inc MCTP depth counter = %d",g_MctpDepthCounter);
assert(g_MctpDepthCounter != 0,
"setMctpBridgeState: MCTP depth counter exceeded max value");
Expand All @@ -1061,7 +1061,7 @@ void setMctpBridgeState(hostInterfaces::MCTP_BRIDGE_STATE_t i_mctpBridgeState,
assert(g_MctpDepthCounter > 0,
"setMctpBridgeState: MCTP depth counter < 0");
g_MctpDepthCounter--;
TRACFCOMP(g_trac_runtime,
TRACDCOMP(g_trac_runtime,
"Dec MCTP depth counter = %d",g_MctpDepthCounter);
break;
}
Expand Down

0 comments on commit d644508

Please sign in to comment.