We could add an option to components profile_probability that causes profiles to automatically be captured with the specified probability and emitted via a special stream.
Additionally, add a top-level option profile_enabled so it can be toggled easily.
@patricklucas:
Moved from PYLEUS-81