|
@@ -828,8 +828,7 @@ static int write_group_desc(int fd, struct perf_header *h __maybe_unused,
|
|
|
* default get_cpuid(): nothing gets recorded
|
|
|
* actual implementation must be in arch/$(ARCH)/util/header.c
|
|
|
*/
|
|
|
-int __attribute__ ((weak)) get_cpuid(char *buffer __maybe_unused,
|
|
|
- size_t sz __maybe_unused)
|
|
|
+int __weak get_cpuid(char *buffer __maybe_unused, size_t sz __maybe_unused)
|
|
|
{
|
|
|
return -1;
|
|
|
}
|