Re: [PATCH v2] perf tools: makes CPUINFO_PROC to array for different kernel version

From: Wang Nan
Date: Wed Oct 22 2014 - 04:02:56 EST


On 2014/10/22 15:39, Wang Nan wrote:
> euler inclusion
> target: kernel 3.10
> category: bugfix
> DTS: DTS2014101306477
> Bugzilla: 623
> directory: upstreamed
> archive: https://lkml.org/lkml/2014/10/15/611
>
> ----------------------------------------
>

Sorry, the header is for our internal use only.

Please ignore it and see

https://lkml.org/lkml/2014/10/22/85

Thanks.

> After kernel 3.7 (commit b4b8f770eb10a1bccaf8aa0ec1956e2dd7ed1e0a),
> /proc/cpuinfo replaces 'Processor' to 'model name'. This patch makes
> CPUINFO_PROC to an array and provides two choices for ARM, makes it
> compatible for different kernel version.
>
> v1 -> v2: minor changes as suggested by Namhyung Kim:
>
> - Doesn't pass @h and @evlist to __write_cpudesc;
> - Coding style fix.
>
> Signed-off-by: Wang Nan <wangnan0@xxxxxxxxxx>
> Cc: Namhyung Kim <namhyung@xxxxxxxxxx>


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/