[PATCH 4/6] perf inject: Do not load map/dso when injecting build-id

2020-10-12 Thread Namhyung Kim
No need to load symbols in a DSO when injecting build-id. I guess the reason was to check the DSO is a special file like anon files. Use some helper functions in map.c to check them before reading build-id. Also pass sample event's cpumode to a new build-id event. It brought a speedup in the ben

[PATCH 4/6] perf inject: Do not load map/dso when injecting build-id

2020-09-28 Thread Namhyung Kim
No need to load symbols in a DSO when injecting build-id. I guess the reason was to check the DSO is a special file like anon files. Use some helper functions in map.c to check them before reading build-id. Also pass sample event's cpumode to a new build-id event. It brought a speedup in the ben