Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 May 2012 23:20:17 GMT
From:      Ryan Stone <rstone@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/167763: lockstat provider probes don't always fire
Message-ID:  <201205092320.q49NKH5Q091457@red.freebsd.org>
Resent-Message-ID: <201205092330.q49NU1mo044348@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



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