[PATCH 4/4] perf tools: Check compatible symtab type before loading dso

2014-02-19 Thread Namhyung Kim
When loading a dso it'll look for symbol tables of all possible types. However it's just wasted of time to check incompatible types - like trying kernel module when loading user library. Cc: Stephane Eranian Cc: Adrian Hunter Cc: Cody P Schafer Signed-off-by: Namhyung Kim ---

[PATCH 4/4] perf tools: Check compatible symtab type before loading dso

2014-02-19 Thread Namhyung Kim
When loading a dso it'll look for symbol tables of all possible types. However it's just wasted of time to check incompatible types - like trying kernel module when loading user library. Cc: Stephane Eranian eran...@google.com Cc: Adrian Hunter adrian.hun...@intel.com Cc: Cody P Schafer