Towards data type profiling
summary
A working prototype links perf memory sampling with DWARF location lists to map PMU load/store samples to C data types and struct fields, and lands as perf support producing type-sorted reports and per-struct field hotness (example: an RB node with 6 samples split 3/1/2 across fields). It uses Intel/AMD/ARM precise sampling, runs offline decode via objdump (performance issues mitigated), rejects complex DWARF expressions, and reports many unknown mappings where debug info or compiler optimizations lose type/location.
AI-written summary · about
