Closed douglas-raillard-arm closed 4 years ago
Could you fix the tests and doc/Dynamic traces.ipynb
Do you mean converting Python 3 code to Python 2 ? Other than that the way the Ftrace is used should stay the same, as scope defaults to "all"
, which is != 'custom'
and will therefore get the dynamic parsers.
EDIT: maybe you meant removing the register_dynamic_parser as it is now somewhat deprecated ?
@JaviMerino Updated with unit test fix
Custom scope is supposed to give only the events that are explicitly listed in
events
. Therefore, avoid adding dynamic events in this case, to speed up parsing and avoid consuming memory.