kern/167763: lockstat provider probes don't always fire
Ryan Stone
rstone at FreeBSD.org
Wed May 9 23:30:02 UTC 2012
>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:
More information about the freebsd-bugs
mailing list