Improve tests' collector handling
Create a composed collector from generic infrastructure to pass to _from_target
, so that:
- Tests don't have to fiddle with the details of the collector they use, which can then be fully encapsulated in a mixin class.
- Mixin classes like FtraceTestBundle and DmesgTestBundle can register their own collector automatically
- The user can pass a custom collector that will be ran as well