$ ./pmu-tools/cputop 'type == "atom"' online
Traceback (most recent call last):
File "/iusers/ayasin/perf-tools/./pmu-tools/cputop", line 93, in <module>
if m.group(2):
AttributeError: 'NoneType' object has no attribute 'group'
Even worse, toplev starts to fail:
$ PERF=../perf ./pmu-tools/toplev --version
Traceback (most recent call last):
File "/iusers/ayasin/perf-tools/./pmu-tools/toplev", line 3720, in <module>
runner_list = init_runner_list()
File "/iusers/ayasin/perf-tools/./pmu-tools/toplev", line 3697, in init_runner_list
cpu_list = get_cpu_list(j)
File "/iusers/ayasin/perf-tools/./pmu-tools/toplev", line 3669, in get_cpu_list
return [k for k in read_cpus(fn) if use_cpu(k)]
File "/iusers/ayasin/perf-tools/./pmu-tools/toplev", line 3658, in read_cpus
return parse_cpu_list(cpus.readline())
File "/iusers/ayasin/perf-tools/./pmu-tools/toplev", line 3649, in parse_cpu_list
if m.group(2):
AttributeError: 'NoneType' object has no attribute 'group'
I see this after offlining some CPUs, e.g.:
They cannot be turned on:
Even worse, toplev starts to fail: