Bug fix: stateless execution with all events

With -a/--all flag, the stateless option was ignored.

Signed-off-by: Mohamad Gebai <mohamad.gebai@polymtl.ca>
Merge pull request #4 from mogeb/local

Bug fix: stateless execution with all events

This commit changes the behaviour of the stateless option. Previously, the script was not enabling the pid, tid context in the case sched_switch events are enabled, because the state can be recovered from these events. However, it requires additional processing, and someone may use the stateless data to actually validate state recovery, so this patch enable unconditionnaly the context when requested.