[PATCH 4.14 042/183] perf record: Fix failed memory allocation for get_cpuid_str