Trace: Automatically populate the task/PID map when sched_switch enabled
Created by: bjackman
I'm not really sure what the original intention for these methods in Trace
were so I might be off the mark here, but this seems to basically be the behaviour I'd expect from trace. That is I would expect to be able to have a trace parsed and then simply call getTasks
to see which tasks were found.
This should make it more convenient for tests to figure out PIDs of tasks run during workload experiments so that they can do analysis.
For example: https://github.com/ARM-software/lisa/blob/2f1eef3bdbd539380684472eb2e02b58584551cd/tests/eas/load_tracking.py#L111