Skip to content
Commit a6fe17c0 authored by Patrick Bellasi's avatar Patrick Bellasi
Browse files

test_env: allow function profiling without events



This fixes:

   a73ed46f env.py: Add debug_events key to target.config

where added a check to not generate an FtraceCollector if the user do
not specify some events. However, the functions profiler has not been
considered and we have also example notebooks where we want to be able
to profile kernel functions without necessarely specify trace events.

N.B. the FtraceCollector already provide the required logic to add at
least one event to properly enabled the function profiler. Look at that
devlib module for details.

Signed-off-by: default avatarPatrick Bellasi <patrick.bellasi@arm.com>
parent 38ca8c53
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment