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

Jiri Olsa jolsa at redhat.com
Wed Jun 3 20:30:56 AEST 2015


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


More information about the Linuxppc-dev mailing list