From owner-freebsd-bugs@FreeBSD.ORG Wed May 9 23:30:02 2012 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3B8AD1065673 for ; Wed, 9 May 2012 23:30:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 0DEBD8FC12 for ; Wed, 9 May 2012 23:30:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q49NU1Wb044349 for ; Wed, 9 May 2012 23:30:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q49NU1mo044348; Wed, 9 May 2012 23:30:01 GMT (envelope-from gnats) Resent-Date: Wed, 9 May 2012 23:30:01 GMT Resent-Message-Id: <201205092330.q49NU1mo044348@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Ryan Stone Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2712E106566B for ; Wed, 9 May 2012 23:20:18 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id EE6D48FC0C for ; Wed, 9 May 2012 23:20:17 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q49NKHIK091458 for ; Wed, 9 May 2012 23:20:17 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id q49NKH5Q091457; Wed, 9 May 2012 23:20:17 GMT (envelope-from nobody) Message-Id: <201205092320.q49NKH5Q091457@red.freebsd.org> Date: Wed, 9 May 2012 23:20:17 GMT From: Ryan Stone To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/167763: lockstat provider probes don't always fire X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 May 2012 23:30:02 -0000 >Number: 167763 >Category: kern >Synopsis: lockstat provider probes don't always fire >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed May 09 23:30:01 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Ryan Stone >Release: 8.2-RELEASE >Organization: >Environment: >Description: If a lock is acquired or released in the inlined fastpath, the appropriate lockstat probe will not fire if the .c file has not included "opt_kdtrace.h". This is because the mtx_(un)lock macros do not call the probe if KDTRACE_HOOKS is not defined. >How-To-Repeat: >Fix: KDTRACE_HOOKS may have to move into "opt_global.h" >Release-Note: >Audit-Trail: >Unformatted: