[FEATURE] Extend Run object constructor to get a list of custom events
Created by: derkling
The FTrace module provided by devlib allows the user to specify a simple list of events to be collected via FTrace. These events and only them are usually the interesting events for the following analysis.
For that reason, the support in Run() for a new "custom" scope could be useful to better match the devlib API. A new parameter "events" should allows to dynamically register at Run() object construction time only the list of events specified by the user.
This is expected to optimize memory and parsing time, while also solving some handshakes due to mixed usage of pre-defined and dynamically registered events.