MFC r262547

Fix callchain capture for hwpmc(4).  While here, some style(9) fixes, too.