[PATCH v6 5/7] perf record: Disable buildid cache options by default in switch output mode

2016-04-20 Thread Wang Nan
The cost of buildid cache processing is high: reading all events in output perf.data, opening each elf file to read buildids then copying them into ~/.debug directory. In switch output mode, these heavy works block perf from receiving perf events for too long. Enable no-buildid and

[PATCH v6 5/7] perf record: Disable buildid cache options by default in switch output mode

2016-04-20 Thread Wang Nan
The cost of buildid cache processing is high: reading all events in output perf.data, opening each elf file to read buildids then copying them into ~/.debug directory. In switch output mode, these heavy works block perf from receiving perf events for too long. Enable no-buildid and