aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorWang Nan <[email protected]>2014-10-24 01:45:26 +0000
committerArnaldo Carvalho de Melo <[email protected]>2014-10-29 12:27:36 +0000
commit493c3031336a49bbd50777dc2adfa52a49933d43 (patch)
treefbd5057449639cca5bd2dd0293ec19b8243ea30f /tools/perf/scripts/python/sched-migration.py
parentperf callchain: Use global caching provided by libunwind (diff)
downloadkernel-493c3031336a49bbd50777dc2adfa52a49933d43.tar.gz
kernel-493c3031336a49bbd50777dc2adfa52a49933d43.zip
perf tools: Make CPUINFO_PROC an array to support different kernel versions
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. v2 -> v3: - Rebase: git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git perf/core Signed-off-by: Wang Nan <[email protected]> Acked-by: Namhyung Kim <[email protected]> Cc: Li Zefan <[email protected]> Cc: Namhyung Kim <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions