]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r273236:
authormarkj <markj@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 6 Nov 2014 01:30:13 +0000 (01:30 +0000)
committermarkj <markj@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 6 Nov 2014 01:30:13 +0000 (01:30 +0000)
commit044015299c10bf0441faf901118e1a2d0db07891
tree4badf73de5747816b0450e0b9e4bf24142e1b18f
parent7043e6dfc2020ef14cdf6a7512e756abe49cf6c9
MFC r273236:
Use pmc_destroy_pmc_descriptor() to actually free the pmc, which is
consistent with pmc_destroy_owner_descriptor(). Also be sure to destroy
PMCs if a process exits or execs without explicitly releasing them.

git-svn-id: svn://svn.freebsd.org/base/stable/10@274155 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/hwpmc/hwpmc_mod.c