perf_can_record_build_id
if (rec->buildid_mmap && !perf_can_record_build_id()) {
bool perf_can_record_build_id(void);