You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@trafficserver.apache.org by "ywkaras (via GitHub)" <gi...@apache.org> on 2023/05/13 02:45:54 UTC

[GitHub] [trafficserver] ywkaras commented on a diff in pull request #9683: Remove deprecated debug output functions from 19 source files.

ywkaras commented on code in PR #9683:
URL: https://github.com/apache/trafficserver/pull/9683#discussion_r1192904622


##########
iocore/net/UnixNet.cc:
##########
@@ -43,6 +43,25 @@ NetHandler::Config NetHandler::global_config;
 std::bitset<std::numeric_limits<unsigned int>::digits> NetHandler::active_thread_types;
 const std::bitset<NetHandler::CONFIG_ITEM_COUNT> NetHandler::config_value_affects_per_thread_value{0x3};
 
+namespace
+{
+
+DbgCtl dbg_ctl_inactivity_cop{"inactivity_cop"};
+DbgCtl dbg_ctl_inactivity_cop_check{"inactivity_cop_check"};
+DbgCtl dbg_ctl_inactivity_cop_verbose{"inactivity_cop_verbose"};
+DbgCtl dbg_ctl_net_queue{"net_queue"};
+DbgCtl dbg_ctl_v_net_queue{"v_net_queue"};
+DbgCtl dbg_ctl_iocore_net_main{"iocore_net_main"};
+
+#ifdef DEBUG

Review Comment:
   I'm indifferent, what's you preference?  One could make the argument that DDbg() itself is not worth it.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org