From owner-svn-src-all@freebsd.org Fri Jul 28 22:28:46 2017 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6A091DD16A5; Fri, 28 Jul 2017 22:28:46 +0000 (UTC) (envelope-from np@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 379BA74C9A; Fri, 28 Jul 2017 22:28:46 +0000 (UTC) (envelope-from np@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v6SMSjXO005974; Fri, 28 Jul 2017 22:28:45 GMT (envelope-from np@FreeBSD.org) Received: (from np@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v6SMSjdK005973; Fri, 28 Jul 2017 22:28:45 GMT (envelope-from np@FreeBSD.org) Message-Id: <201707282228.v6SMSjdK005973@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: np set sender to np@FreeBSD.org using -f From: Navdeep Parhar Date: Fri, 28 Jul 2017 22:28:45 +0000 (UTC) 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 X-SVN-Group: head X-SVN-Commit-Author: np X-SVN-Commit-Paths: head/sys/dev/cxgbe/iw_cxgbe X-SVN-Commit-Revision: 321671 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Jul 2017 22:28:46 -0000 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); }