Adds a new option -record_dynsym_only to drcachesim which causes -record_function and -record_heap to only look in .dynsym, avoiding drsyms and the main symbol table entirely. This is to avoid overhead issues with two scenarios: very large applications with millions of symbol table entries, and applications with thousands of libraries where setting up and tearing down drsyms and DWARF information adds up across all of those libraries. Quite often the target functions to trace are in .dynsym, making this a reasonable solution.
Tested manually on both scenarios.
Issue: #4187 (closed)