On 19/10/21 02:04, Jing Zhang wrote:
There are situations we need to group some stats in a structure (like the VM/VCPU generic stats). Improve stats macros to decouple the exported stats name from its field name in C structure. This also removes the specific macros for VM/VCPU generic stats.
Do you have other uses in mind than generic stats? I didn't like the "generic" macros very much either, but not being able to use "#" at all is also not nice.
Paolo