attilio 279b97daea Fixup r240246: hwpmc needs to retain the pinning until ASTs are not
executed. This means past the point where userret() is generally
executed.

Skip the td_pinned check if a callchain tracing is currently happening
and add a more robust check to pmc_capture_user_callchain() in order to
catch td_pinned leak past ast() in hwpmc case.

Reported and tested by:	fabient
MFC after:	1 week
X-MFC:	r240246
2012-10-30 15:10:50 +00:00
..
2012-10-30 01:29:45 +00:00
2012-10-10 08:36:38 +00:00
2012-10-29 21:08:06 +00:00
2012-10-24 18:21:22 +00:00
2012-09-14 22:00:03 +00:00
2012-10-10 08:36:38 +00:00
2012-04-16 10:33:46 +00:00
2012-10-10 08:36:38 +00:00