Skip to content

Commit

Permalink
ddca_get_capabilities_string(): don't clutter tracing with detailed s…
Browse files Browse the repository at this point in the history
…trings
  • Loading branch information
rockowitz committed Dec 31, 2024
1 parent 554eb02 commit bd3ea94
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/libmain/api_capabilities.c
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,14 @@ ddca_get_capabilities_string(
}
);

#ifdef TMI
API_EPILOG(debug, RESPECT_QUIESCE, psc, "ddca_dh=%s, *pcaps_loc=%p -> |%s|",
dh_repr((Display_Handle *) ddca_dh),
*pcaps_loc, *pcaps_loc );
#endif
API_EPILOG(debug, RESPECT_QUIESCE, psc, "ddca_dh=%s, *pcaps_loc=%p",
dh_repr((Display_Handle *) ddca_dh),
*pcaps_loc );
}


Expand Down Expand Up @@ -214,8 +219,10 @@ ddca_parse_capabilities_string(
"*parsed_capabilities_loc=%p", *parsed_capabilities_loc);
ASSERT_IFF(ddcrc==0, *parsed_capabilities_loc);
// if ( IS_DBGTRC(debug, DDCA_TRC_API) && *parsed_capabilities_loc)
#ifdef TMI
if (is_traced_api_call(__func__) && *parsed_capabilities_loc)
dbgrpt_ddca_capabilities(*parsed_capabilities_loc, 2);
#endif
return ddcrc;
}

Expand Down

0 comments on commit bd3ea94

Please sign in to comment.