> Can you describe how you autogenerate the JSONs? Do you have some internal > proprietary HW file format describing events, with files supplied from HW > designer, which you can just translate into a JSON? Would the files support > deferencing events to improve scalability? For Intel JSON is an official format, which is maintained for each CPU. It is automatically generated from an internal database https://download.01.org/perfmon/ I have some python scripts to convert these Intel JSONs into the perf format (which has some additional headers, and is split into different categories, and add metrics). They have some Intel specifics, so may not be useful for you. There's no support for dereference, each CPU gets its own unique file. But you could do the a merge simply with the attached script which merges two JSON files. -Andi