This is an automated email from the ASF dual-hosted git repository.

cmcfarlen pushed a commit to branch 10.2.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git

commit b5081a274bc7f0db33ad35c614d6f4ab021d6199
Author: Mo Chen <[email protected]>
AuthorDate: Tue Mar 31 14:48:40 2026 -0500

    [usdt] http_attach_client_session: add args (#13041)
    
    Add the following USDT arguments to http_attach_client_session: transaction 
id, netVC id.
    
    (cherry picked from commit 5f30ce6dc38792b68e99d8dd10df7842717b01d6)
---
 src/proxy/http/HttpSM.cc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/proxy/http/HttpSM.cc b/src/proxy/http/HttpSM.cc
index ccd687bf80..3e0dc489ca 100644
--- a/src/proxy/http/HttpSM.cc
+++ b/src/proxy/http/HttpSM.cc
@@ -423,7 +423,8 @@ HttpSM::attach_client_session(ProxyTransaction *txn)
   if (!netvc) {
     return;
   }
-  ATS_PROBE2(http_attach_client_session, sm_id, netvc->get_socket());
+  ATS_PROBE4(http_attach_client_session, sm_id, netvc->get_socket(), 
txn->get_transaction_id(),
+             dynamic_cast<UnixNetVConnection *>(netvc) ? 
dynamic_cast<UnixNetVConnection *>(netvc)->id : 0);
   _ua.set_txn(txn, milestones);
 
   // Collect log & stats information. We've already verified that the netvc is 
!nullptr above,

Reply via email to