]> CyberLeo.Net >> Repos - FreeBSD/releng/9.0.git/commit
MFC r227342. Note that the original commit message, reproduced below, has
authorrstone <rstone@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 25 Nov 2011 12:43:34 +0000 (12:43 +0000)
committerrstone <rstone@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 25 Nov 2011 12:43:34 +0000 (12:43 +0000)
commit956b2101c9432f9ffd9bea75e543a168c48f3d3e
tree0c96aa86d4ad4ca5b9cfbb8caa1f69d02c21488c
parent4f9eb4c1f8467ca0d42786d10b485337ab4f7634
MFC r227342.  Note that the original commit message, reproduced below, has
error.  The final sentence should read "*without* CTF data".

 The in-kernel CTF parser caches the result of its first attempt to parse
 CTF data from a module.  On subsequent attempts to retrieve CTF data for
 a module, return an error if there no CTF data.

 This fixes a panic if you try to enable fbt probes on a module with CTF
 data twice.

Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/releng/9.0@227969 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/kern/kern_ctf.c