I wrote a tool to inspect DWARF info for pointers in structs and posted it here:
https://github.com/aconz2/elfptrsIt will show the percentiles of things like struct size, number of pointers, offset of those pointers, and successive difference of offsets
Of course we'd also need to know the relative frequency of allocation for each of those types, but it is a start