andikleen / pmu-tools

Intel PMU profiling tools
GNU General Public License v2.0
1.98k stars 331 forks source link

Fix "Unknown node(s)" diagnostic #426

Closed tcreech-intel closed 2 years ago

tcreech-intel commented 2 years ago

Currently invalid nodes are not caught, and before 1c232723 they were caught but not printed because the map object was consumed by "all".

This uses map to compute "valid" again, as before 1c232723, but promotes the map object to a list so that it can be evaluated more than once.

andikleen commented 2 years ago

Thanks Tim!