Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Jul 2017 22:28:45 +0000 (UTC)
From:      Navdeep Parhar <np@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r321671 - head/sys/dev/cxgbe/iw_cxgbe
Message-ID:  <201707282228.v6SMSjdK005973@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: np
Date: Fri Jul 28 22:28:45 2017
New Revision: 321671
URL: https://svnweb.freebsd.org/changeset/base/321671

Log:
  cxgbe/iw_cxgbe: Log the end point's history and flags to the trace
  buffer just before it's freed.
  
  MFC after:	1 week
  Sponsored by:	Chelsio Communications

Modified:
  head/sys/dev/cxgbe/iw_cxgbe/cm.c

Modified: head/sys/dev/cxgbe/iw_cxgbe/cm.c
==============================================================================
--- head/sys/dev/cxgbe/iw_cxgbe/cm.c	Fri Jul 28 22:23:29 2017	(r321670)
+++ head/sys/dev/cxgbe/iw_cxgbe/cm.c	Fri Jul 28 22:28:45 2017	(r321671)
@@ -1002,6 +1002,8 @@ void _c4iw_free_ep(struct kref *kref)
 	    __func__, epc));
 	if (test_bit(QP_REFERENCED, &ep->com.flags))
 		deref_qp(ep);
+	CTR4(KTR_IW_CXGBE, "%s: ep %p, history 0x%lx, flags 0x%lx",
+	    __func__, ep, epc->history, epc->flags);
 	kfree(ep);
 }
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201707282228.v6SMSjdK005973>