stalld: Respect -l option in single threaded mode
Running stalld -l -v results in an abrubt exit via die().
stalld: trying to open file /sys/kernel/debug/sched/debug returned -1
stalld: trying to open file /proc/sched_debug returned 4
stalld: initial config_buffer_size set to 573440
stalld: detected new task format
stalld: single threaded mode
stalld: No such file or directory
single_threaded_main: Single threaded mode only works with SCHED_DEADLINE
Correct the -l behavior by adding guards around any config altering
actions taken on behalf of single threaded mode.
Signed-off-by: Fernando Pacheco fpacheco@redhat.com