def make_hook_recorder(self, pluginmanager):
pluginmanager.reprec = reprec = HookRecorder(pluginmanager)<EOL>self.request.addfinalizer(reprec.finish_recording)<EOL>return reprec<EOL>
Create a new :py:class:`HookRecorder` for a PluginManager.