libs/wlgen/workload: allows FTrace collection also when running in background
libs/wlgen/workload: allows FTrace collection also when running in background

When a workload is started in background we do not currently properly support
the collection of FTrace. An FTrace collection is started but actually not
stopped from the WlGen class.

This patch allows to start an FTrace collection even when the task runs in
background. To achieve that goal we need however to specify a suitable
value for end_pause_s, which will be used to define for how long to trace
the system while the application is running in background.

Signed-off-by: Patrick Bellasi <431c86f368affbc3148c4669fbd465131f7e82cb@arm.com>

arnoldlu/lisa,credp/lisa,joelagnel/lisa,credp/lisa,ARM-software/lisa,ARM-software/lisa,bjackman/lisa,credp/lisa,JaviMerino/lisa,joelagnel/lisa,mdigiorgio/lisa,ARM-software/lisa,ARM-software/lisa,credp/lisa,bjackman/lisa,mdigiorgio/lisa,arnoldlu/lisa