@marcan When all you need is quick grep through "cpu features" flags then `/proc/cpuinfo` gives you readable names.
`/sys/devices/system/cpu/modalias` gives you hex codes for which you need to have dictionary.
But yes - the rest of stuff is there and users should just use `lscpu` to get data.
@hrw Depending on the circumstances, lscpu might not be possible.
I just committed support for pmda-denki to use /dev/cpu/*/msr registers as source for power consumption metrics. I need to detect the cpu type (using /proc/cpuinfo right now) to understand which MSR are available.
Using plain directories/files for cpu detection allows me to implement a fake directory option where I can also i.e. on aarch64 make MSR's appear, for QE scripts and verification.
https://github.com/performancecopilot/pcp/pull/2106