[PATCH v2 1/4] perf symbols: add dso__insert_symbol function

2016-05-10 Thread Chris Phlipot
The current method for inserting symbols is to use the symbols__insert function. However symbols__insert does not update the dso symbol cache. This causes problems in the following scenario: 1. symbol not found at ip using dso__find_symbol 2. symbol inserted at ip using the existing

[PATCH v2 1/4] perf symbols: add dso__insert_symbol function

2016-05-10 Thread Chris Phlipot
The current method for inserting symbols is to use the symbols__insert function. However symbols__insert does not update the dso symbol cache. This causes problems in the following scenario: 1. symbol not found at ip using dso__find_symbol 2. symbol inserted at ip using the existing