Subject: Re: [PATCH v13 03/14] perf, tools: Use pmu_events_map table to create event aliases

From: Jiri Olsa <[email-masked]>
Date: Wed, 3 Jun 2015 12:30:56 +0200

On Tue, Jun 02, 2015 at 10:12:03AM -0700, Sukadev Bhattiprolu wrote:

SNIP

>  
> +/*
> + * Return the CPU id as a raw string.
> + *
> + * Each architecture should provide a more precise id string that
> + * can be use to match the architecture's "mapfile".
> + */
> +char *__attribute__((weak))get_cpuid_str(void)

we have '__weak' define in <linux/compiler.h> include

jirka