To identify cache misses, you need a processor-level profiler, for example, oprofileor vtune, or a dynamic toolkit, for example, valgrindwith cachegrind.
To look for alignment problems in structures, there is a tool called paholefor object files with debugging information DWARF.
source
share