[PATCH v2 4/4] perf script: fix export of callchains with recursion in db-export

2016-05-10 Thread Chris Phlipot
When an IP with an unresolved symbol occurs in the callchain more than once (ie. recursion), then duplicate symbols can be created because the callchain nodes are never updated after they are first created. To fix this issue we call dso__find_symbol whenever we encounter a NULL symbol, in case we

[PATCH v2 4/4] perf script: fix export of callchains with recursion in db-export

2016-05-10 Thread Chris Phlipot
When an IP with an unresolved symbol occurs in the callchain more than once (ie. recursion), then duplicate symbols can be created because the callchain nodes are never updated after they are first created. To fix this issue we call dso__find_symbol whenever we encounter a NULL symbol, in case we