perf_counter: Allow software counters to count while task is not running